submited by krishnas on Thu May 22nd, 2008
spring
In the past, I posted a few examples of implementing Messaging using J2EE and Spring. This post will describe how to use the Spring MessageListenerAdapter to enable any Java class to act as a Message Driven POJO. This can be used to enable existing applications to use Asynchronous Messaging. Follow these steps to run the...
more »
submited by krishnas on Thu May 22nd, 2008
spring j2me soa
In the past, I wrote a post on how to implement Web Services using JAX-WS on Glassfish, and Apache Axis. In this post I will describe how to implement Web Services using the Spring framework and Apache Axis. The spring framework uses JAX-RPC API to help implement and access SOAP-WSDL based Web Services. The main components required for implementing and accessing Web Services in Spring are:...
more »
submited by krishnas on Thu May 22nd, 2008
spring struts
In the past, I posted an example on how to use Displaytag with Struts and Spring, using Spring JDBC for data access(1, 2). In this post, I will describe how to do the same using Struts 2.0. The only major step that needs to be done here is to override the default Struts 2.0 OjbectFactory. Changing the ObjectFactory to Spring give control to Spring framework to instantiate action instances etc. Most of the code is from the previous post, but I will list only the additional changes here....
more »
submited by krishnas on Thu May 22nd, 2008
spring hibernate
The Spring framework provides extensive support for data access through the use of support classes (JdbcDaoSupport, JdbcTemplate etc.), and extensive exception hierarchy to wrap any platform specific SQLException into an exception in the spring exception hierarchy. Additionally Spring framework also provides good support for integrating with ORM technologies like Hibernate and iBatis etc. This post will show how to integrate Spring framework with Hibernate ORM. There's more...
more »
submited by krishnas on Thu May 22nd, 2008
spring hibernate
In the previous post, I described different ways in which spring and hibernate can
be integrated. In this post I will describe how to use Spring's transaction features
in hibernate. The following methods of transaction management with spring and hibernate are discussed....
more »
submited by krishnas on Thu Mar 27th, 2008
spring google-guice
Guice is alternative to Spring framework except life cycle management.
I like Guice framework over Spring for the following reason....
more »
submited by krishnas on Thu Mar 27th, 2008
spring jsf struts
Recently I got an opportunity to explore Spring Web FlowExternal Link framework. Later I came to know that Shale DialogExternal Link also solves the same problem. JBoss Seam too solves the same problem....
more »
submited by krishnas on Thu Mar 27th, 2008
spring jsp
I have an application where I encapsulate a specific form tags technology (Spring Form Tags in this case) by JSP 2.0 custom tags.
I have encountered the next problem with the Spring Form Tags 'option' and 'select':...
more »
submited by krishnas on Wed Mar 26th, 2008
spring hibernate ejb j2ee
Java EE 5 provides all the features you need to build a robust enterprise application right in an EJB 3.0 container, but incorporating the relative strengths of Spring and Hibernate can further improve the productivity and quality of your application....
more »
submited by krishnas on Wed Mar 26th, 2008
spring
Spring's POJO-based programming model has proven to be a much better way to write, test, and assemble robust Java EE applications, but it works only if you configure your objects with Spring. What happens when you combine Spring with an in-house legacy framework or Java EE technology such as EJBs or servlets?...
more »