Spring
Login Example
In the previous example, we have simply integrated the spring application with struts 2. Now let’s develop a login application with struts 2 and spring…
Spring with Struts 2
Spring framework provides an easy way to manage the dependency. It can be easily integrated with struts 2 framework. The ContextLoaderListener class is used to…
Spring Java Mail
Spring framework provides many useful interfaces and classes for sending and receiving mails. The org.springframework.mail package is the root package that provides mail support in…
Spring with Castor
By the help of CastorMarshaller class, we can marshal the java objects into xml and vice-versa using castor. It is the implementation class for Marshaller…
Spring with Xstream
Xstream is a library to serialize objects to xml and vice-versa without requirement of any mapping file. Notice that castor requires an mapping file. XStreamMarshaller…
Spring with JAXB
JAXB is an acronym for Java Architecture for XML Binding. It allows java developers to map Java class to XML representation. JAXB can be used…
Spring with JMS
To integrate spring with JMS, you need to create two applications. JMS Receiver Application JMS Sender Application To create JMS application using spring, we are…
HTTP Invoker
Spring provides its own implementation of remoting service known as HttpInvoker. It can be used for http request than RMI and works well across the…