JAX-RPC stands for Java API for XML-based RPC. It's an API for building Web services and clients that used remote procedure calls (RPC) and XML. Often used in a distributed client/server model, an RPC mechanism enables clients to execute procedures on other systems.
In JAX-RPC, a remote procedur
[ read more ]
Spring could potentially be a one-stop shop for all your enterprise applications, however, Spring is modular, allowing you to pick and choose which modules are applicable to you, without having to bring in the rest. Following section gives detail about all the modules available in Spring Framewo
[ read more ]
Spring supports remoting for six different RPC models:
1. Remote Method Invocation (RMI)
2. Hessian
3. Burlap
4. HTTP invoker
5. EJB
6. JAX-RPC
In all the models, services are configured into the application through spring configuration file as spring managed beans. This
[ read more ]
This example gives you an idea on how to Initialize bean in the program and also explains the lifecycle of bean in spring. Run the given bean example to retrieves the values of the bean using java file. Here in the file given below i.e. (context.xml) we have declare the bean definition.
Mybea
[ read more ]
Calling Bean using init() method in Spring, this section describes the way to initialize a bean through its lifecycle events using the init() method .Here we have defined the property and values of the bean using the init method as shown below:-
<bean id="mybean" class="Bean" init-metho
[ read more ]
In the given example you will be learning about a constructor and how to call a constructor in the Spring. Declaring constructor injection in the Spring framework is generally done in the bean section of the configuration file that is the context.xml file.
Steps to declare Constructor Injec
[ read more ]
Inheritance Demo, In the example given below we are going to tell about the inheritance in the Spring framework. By inheritance we mean a way of forming new classes using classes that have already been defined. Here we have created a simple bean and used this bean as a template for creating othe
[ read more ]
JDBC Template Batch update example, In the tutorial we have discussed about batchUpdate() method of class JdbcTemplate in Spring framework. The Batch update methods are used to executes multiple SQL updates query on a single JDBC Statement. The example given below consists of the code to del
[ read more ]
1) Introduction
One of the major features available in the Spring Distribution is the provision for separating the cross-cutting concerns in an Application through the means of Aspect Oriented Programming. Aspect Oriented Programming is sensibly new and it is not a replacement for Object Oriented
[ read more ]
XML Bean-Injection, The given example below gives the brief description of the extension name spaces that can be used in the spring framework With the use of extensible name space you can make Spring configuration file more simpler to use for many tasks which can occurs repeatedly . Extension
[ read more ]