Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Create TestCase with WSAD on EJB

Reply
Thread Tools

Create TestCase with WSAD on EJB

 
 
Memi Lavi
Guest
Posts: n/a
 
      08-05-2004
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?
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Possible to generate "ejb-jar.xml" from EJB class (source)? "ejb-jar.xml" appserver independent? Raymond Schanks Java 0 08-03-2010 08:21 AM
Differerence between Test::Unit::TestCase and RUNIT::TestCase Scott Ruby 1 08-20-2005 08:49 PM
EJB - MDB (and WSAD) no Java 0 07-27-2005 04:39 PM
EJB on Weblogic7 : accessing Ejb thru *Local interface* fails due to JNDI lookup Mumbai Joe Java 0 07-29-2003 04:16 PM
Dynamically Access & Call An EJB From Another EJB? Steve Java 1 07-15-2003 06:47 PM



Advertisments