Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Could EJB work with JPA and Hibernate  RSS feed

Nakataa Kokuyo
Ranch Hand
Posts: 189
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 :
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!