Since JPA is part of the JEE 5 specification, all application servers need to support JPA. Spring and EJB3 provides full support for JPA, which means one can use DI (Dependency injection ) to direct access JPA EntityManagerFactory and EntityManager instances.
A java blog with a collection of examples and tutorials on Java and related technologies. (Under maintenance with continuous updates) Be in touch with java jazzle or k2java.blogspot.com.
Showing posts with label di / dependency injection. Show all posts
Showing posts with label di / dependency injection. Show all posts
Sunday, May 8, 2011
JPA support in Application Servers
Labels:
di / dependency injection,
hibernate,
java,
jpa / java persistence api,
orm,
server,
spring
Monday, April 18, 2011
Some dependency injection frameworks
Google has its Guice (pronounced as juice). See here for more.
Dependency injection in .net can be done by spring.net or prism. Refer this book for more:
Dependency injection in .net can be done by spring.net or prism. Refer this book for more:
Labels:
di / dependency injection,
guice,
java,
spring
Subscribe to:
Posts (Atom)