Create TestCase with WSAD on EJB

Discussion in 'Java' started by Memi Lavi, Aug 5, 2004.

  1. Memi Lavi

    Memi Lavi Guest

    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?
     
    Memi Lavi, Aug 5, 2004
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Steve
    Replies:
    1
    Views:
    727
    John C. Bollinger
    Jul 15, 2003
  2. Mumbai Joe
    Replies:
    0
    Views:
    626
    Mumbai Joe
    Jul 29, 2003
  3. no

    EJB - MDB (and WSAD)

    no, Jul 27, 2005, in forum: Java
    Replies:
    0
    Views:
    526
  4. Raymond Schanks
    Replies:
    0
    Views:
    697
    Raymond Schanks
    Aug 3, 2010
  5. Scott
    Replies:
    1
    Views:
    142
    Timothy Hunter
    Aug 20, 2005
Loading...

Share This Page