Java SE7 Features

Java SE 7 – New Features


InvokeDynamic byte code + supporting features

VM and language extensions to support the implementation of dynamically-typed languages at performance levels near to that of the Java language itself.


Concurrency and Collections APIs

The Fork/Join framework is an easy-to-use way to take advantage of multiple processors. The ThreadLocalRandom . . . → Read More: Java SE7 Features

Read directory and files

The following Java code reads a directory, its files and sub directories under it.

import; import; public class ReadDirectory { /** * Read the directory and display the files. * @param directory * @throws IOException */ public static void read(String directory) throws IOException { File dir = new File(directory); File[] files = dir.listFiles(); . . . → Read More: Read directory and files


View the Java Reference Guide


Java API for XML based Remote Procedure Call (JAX-RPC) uses remote procedure calls using XML messages to communicate in distributed environments.

Server Side

A Web Service can be used by its service clients deployed on any platform. JAX-RPC service can be used by any Java based or non Java platform. Service Endpoint can be defined . . . → Read More: JAX-RPC


Spring Frame Work.

Spring Web Services.


JavaBeans are reusable software component models for Java. JavaBeans provide platform neutral component architecture.

Beans vs Libraries Not all useful software modules are necessarily beans Beans are appropriate for software components that can be visually manipulated to achieve some effect. Class libraries are helpful in providing the required functionality for the programmer but they doesn’t . . . → Read More: JavaBeans


JAX-WS is a Java API for creating web services and clients using XML. A web service operation is invoked by an XML-based protocol such as SOAP over HTTP. JAX-WS supports two different service endpoint implementations types, the standard JavaBeans service endpoint interface and a new Provider interface to enable services to work at the XML . . . → Read More: JAX-WS


The Universal Description, Discovery, and Integration (UDDI) is a technology that supports publishing and discovering information about web services. Any consumer application like to use a provider services can search the information provided by that particular web service and integrate with that service for further communication.

UDDI consists two parts.

UDDI technical specification for building . . . → Read More: UDDI


Web Services Description Language (WSDL) defines the functionality offered by a Web service and the format of messages sent and received by that Web service using XML. This document defines the services available in a Web service. It also defines the methods, parameter names, parameter data types, and return data types for the Web service. . . . → Read More: WSDL


SOAP provides a mechanism for exchanging structured and typed information between different applications using XML. SOAP defines a simple mechanism for expressing application semantics by providing a modular packaging model and encoding mechanisms for encoding data within modules. This allows SOAP to be used in a large variety of systems ranging from messaging systems to . . . → Read More: SOAP