wood burning stoves 2.0*
The moose likes EJB and other Java EE Technologies and the fly likes Could EJB work with JPA and Hibernate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Could EJB work with JPA and Hibernate" Watch "Could EJB work with JPA and Hibernate" New topic
Author

Could EJB work with JPA and Hibernate

Nakataa Kokuyo
Ranch Hand

Joined: Jul 24, 2011
Posts: 184
Good day,

My project was develop under Hibernate, JPA and Spring. and recently there is enhancement which required to implement API which was done by EJB. I'm new to EJB and not sure how to implement it. appreciated your guidance and enlightenment!

My question is given below as File, how do i get the result from getStatus() method? do I need to import these two classes for my development? what is " initCtx.lookup("test-ear")" means ?or my program just need a client to call "Test-ear" ?

Here some sample code that we got

Interface :


Interface implementation :
 
jQuery in Action, 2nd edition
 
subject: Could EJB work with JPA and Hibernate
 
Similar Threads
@EJB
Performance for Hibernate vs JPA(Hibernate) Jboss Help needed
several ears, GF3, EJB 3 and JPA
Doubt in accessing member variables of called object
casting using PortableRemoteObject