Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to test EJb's stand alone

 
raj talatam
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All

In my project we are using ADF for UI and Ejb for business services, i have to work on EJB's, i dont know anything about ADF,
for example , if i write any method in ejb i have to test it's through ADF, it is not possible, can i test these ejb's remotely,
without intervention of ADF, so can anyone tell the way to test ejb's through main method
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34973
379
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, but you have to do some setup to get access to the JNDI to look up the EJB. See ejb unit test for examples and tutorials.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic