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?
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?