Tuesday, November 07, 2006

Spring/EJB 3 HowTos/Code Examples

I built couple of howtos for using Spring 2.0 with EJB 3/JPA and these have been referenced from Spring's home page.

How To: Using EJB 3.0 Session Beans with Spring Beans : Zip with Code examples In OTN

How To Use EJB 3.0 and Java Persistence API with Spring : Zip with Code examples In OTN

Please note that this works with Oracle Application Server 10g

These samples also work with Glassfish by tweaking the packaging a little bit. You have to just make sure that you modify the packaging to include Commons Logging jars required by Spring. If you want the build script for Glassfish please drop me an email and I will send that to you.

No comments: