Spring EJB integration

View: [ 2009 | 2008 | 2007 | 2006 | 2005 | 2004 | 2003 ]

Articles
  

Articles:
  • How-To : Using EJB 3.0 and Java Persistence API with Spring in OC4J by Debu Panda   - [Clicks: 283]
    This example application demonstrates Oracle's support for Spring with EJB 3.0 Session beans, container-managed entity manager with Spring's JpaTemplate. This sample uses a Spring-enabled EJB 3.0 Session bean (EmployeeFacade EJB) that uses a Spring bean(EmployeeService bean). The Spring bean uses a Data Access Object (EmployeeDAO) that uses Spring's JpaTemplate to manipulate entities. The persistence unit is managed by the EJB container by using a container-managed entity manager and passing it to Spring using setter injection. The application uses declarative transaction with EJB 3.0. For simplicity and to demonstrate the dependency injection support in the web container we have used a Servlet (InsertServlet) as a controller and it uses dependency injection to inject an instance of EmployeeFacade.
    http://www.oracle.com/technology/tech/java/oc4j/10131/how_to/how-to-ejb30-jpa-spring/doc/how-to-ejb30-jpa-spring.html - Jun, 2006
  • How-To : Using EJB 3.0 Session beans in Spring Beans by Debu Panda   - [Clicks: 424]
    This example application demonstrates using EJB 3.0 Session beans from Spring Beans. This sample uses a EJB 3.0 Session bean (EmployeeFacade EJB) that uses JPA to persist an entity. The EJB 3.0 Session bean is injected into a Spring bean (EmployeeFacadeServiceBean). The web module uses the Spring bean to persist the entity instance. The application uses declarative transaction with EJB 3.0. For simplicity we have used a Servlet (InsertServlet) as a controller and it uses EmployeeServiceFacadeBean .
    http://www.oracle.com/technology/tech/java/oc4j/10131/how_to/how-to-ejb30-spring/doc/how-to-ejb30-spring.html - Jun, 2006

[Top]