Skip to main content

Home/ CDI Tech Hub/ Group items tagged JPA

Rss Feed Group items tagged

lincolnbaxter

Spring to Java EE - A Migration Experience - 1 views

  •  
    So Java EE 6 is out, and you've decided to give it a go. You're trying to port an existing application over to the new stack (or are trying to create a new one for the first time,) but exceptions are bursting through the seams and you just can't seem to get things to work. If you're familiar with Spring and Hibernate (with all the joy that is OpenSessionInView or OpenSessionInConversation,) more than likely the problems you're having are related to the Java Persistence API (JPA), combined with Enterprise Java Beans (EJB). Contexts and Dependency Injection (CDI) should be a familiar face if coming from Spring, but things are subtly different in the world of Java EE.
Dan Allen

CDI @Produces for container-managed @Resource - 2 views

  •  
    A concise look at how to a CDI producer field can be used to promote a container-managed resource as a first-class managed bean.
1 - 2 of 2
Showing 20 items per page