aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes How to test EJb's stand alone Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "How to test EJb Watch "How to test EJb New topic
Author

How to test EJb's stand alone

raj talatam
Ranch Hand

Joined: Apr 19, 2012
Posts: 80
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
internet detective
Marshal

Joined: May 26, 2003
Posts: 29220
    
135

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.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to test EJb's stand alone
 
Similar Threads
WSAD 5.0, BAsic doubt help ..
How to access to my weblogic server through Internet
Issues in Migrating from Websphere 5.1 to 6.1
[Digester] End event threw exception Problem for CactusStrutsTestCase
How to get the complete file path in Mozila