Create TestCase with WSAD on EJB

M

Memi Lavi

Hi Gurus.

I'm trying to create junit test project, to test my EJB project.
I'm using WSAD 5.1.2 on WAS 5.0.2.

What I did was:
- Create new J2EE client application
- Add the following JARS:
- namingclient.jar
- implfactory.jar
- Create new testcase, which lookups the required EJB (SB Stateless)

Now, I understood I shouldn't use the "java:comp/env/" convention for
the lookup, but rather the global JNDI name, but when I try to do it,
I get the ClassNotFoundException.

Did I miss something? Is there any place on the net where there are
any docs about using junit with EJB on WSAD?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top