Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Could EJB work with JPA and Hibernate

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 :
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic