File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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 :
 
Don't get me started about those stupid light bulbs.
 
subject: Could EJB work with JPA and Hibernate