Forums Register Login

How to test EJb's stand alone

+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
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.
Don't sweat petty things, or pet sweaty things. But cuddle this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1347 times.
Similar Threads
[Digester] End event threw exception Problem for CactusStrutsTestCase
How to access to my weblogic server through Internet
WSAD 5.0, BAsic doubt help ..
Issues in Migrating from Websphere 5.1 to 6.1
How to get the complete file path in Mozila
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 16:26:46.