Introduction to Java

Java Background: History ● Java – was created in 1991. – by James Gosling et al. of Sun Microsystems.– Initially called Oak, in honor of the tree outside Gosling’s window, its namewas changed to Java because there was already a language called Oak.The original motivation for Java● The need for platform independent language that could be embedded… Read More Introduction to Java

Core Java Declarations and Access Control

Final Methods The final keyword prevents a method from being overridden in a subclass, and isoften used to enforce the API functionality of a method.class SuperClass{public final void showSample() {System.out.println(“One thing.”);}}class SubClass extends SuperClass{public void showSample() { // Try to override the final// superclass methodSystem.out.println(“Another thing.”);}}Attempting to compile the preceding codeFinal methods cannot be overridden… Read More Core Java Declarations and Access Control

WSDL Options in Spring Integration

A WSDL is a service contract between the web services provider (server) and service requestor (client), and is primarily used for SOAP services. It is similar to the contract created by an interface for a Java class.Spring Web Services provides support for exposing a WSDL using an instance of org.springframework.ws.wsdl.wsdl11.DefaultWsdl11DefinitionDefaultWsdl11Definition, which autogenerates the WSDL based an instance oforg.springframework.xml.xsd.SimpleXsdSchema.SimpleXsdSchema… Read More WSDL Options in Spring Integration

Web Services and XML Marshalling in Spring Integration

Spring Integration supports supplying a marshaller and unmarshaller for the inbound and outbound web services gateways. This allows using domain objects instead of working directly with the XML documents. This technology is also known as object/XML mapping (OXM). The marshalling library maps the domain object properties to the XML elements.To implement gateway endpoints using XML marshalling, specify the… Read More Web Services and XML Marshalling in Spring Integration

Web Service using Spring Integration Part – 1

Web services Technology for communication between web-based applications over the network.  Leverage HTTP protocol for communication over the network, and use XML as the message payload format Using web-related standards allows for application interoperability even between disparate applications and technologies Spring Integration’s support for Standard Object Access Protocol (SOAP) services using the Web Services Definition… Read More Web Service using Spring Integration Part – 1

Spring Integration Channels

According to Enterprise Integration Patterns,message channel is a virtual data pipe that connects a sender to one or more receivers. The message channel decouples the sender and the receivers so the sender does not necessary know who will receive the messages.There are two major types of message channels: point-to-point channels and publisher-subscriber channels.EAI Message Channel Patterns The message… Read More Spring Integration Channels

Creating a Spring Integration Application Using STS

STS has a number of starting templates for creating a Spring application. The templates create a Mavenbased application that includes unit test supportTo create a Spring project, select New ➤ Spring Template Project from the File menu which will create a basic Spring project including an integration test to load the Spring context. Next, specify… Read More Creating a Spring Integration Application Using STS

Starting Your First Spring Integration Project

Each Spring Integration application is completely embedded, and needs no server infrastructure. In fact, a Spring Integration application can be deployed inside another application—for example, in your web application endpoint.Spring Integration is deployed into your application; your application is not deployed into Spring Integration, as you might expect. There are no start and stop scripts and no ports to… Read More Starting Your First Spring Integration Project

First Steps for Spring Integration using Maven

We will start with creating a Maven project and show how to add the necessary library support. The simplest method to create a Maven project is to use an archetype, as follows:1. For a command window, enter mvn archetype:generate.2. Choose maven-archetype-quickstart from the list of options, which provides a sample Maven project.3. Select the latest… Read More First Steps for Spring Integration using Maven