I would love to see your example of using JUnit with an EJB.

Thanks!
-Noah Horton

> -----Original Message-----
> From: Emerson Cargnin - SICREDI Serviços
> [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 17, 2002 10:55 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] Testing EJBs with JUnit
> 
> 
> I just did a test with ejb / jaas and junit, let me know if 
> you want so 
> I can send it to you (about 1 meg). If someone else want too, 
> just tell me.
> 
> Emerson
> 
> John Moore wrote:
> 
> > Yes we're doing itfor all of our beans as well.  When it's 
> run you need 
> > the jndi.properties file or to pass all of the jndi on the command 
> > line.    I would guess that you don't have the classes 
> available (Home 
> > /Remote interface) available.   Also, could that app that you are 
> > running through not have the classes in their path OR does 
> it have it's 
> > own naming server and the properties for jboss are not 
> being used.  Dump 
> > out the environment before you do your lookup to see what 
> the properties 
> > are set to.
> > 
> > John Moore
> > 
> > -----Original Message-----
> > From: Dimitri PISSARENKO [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, July 17, 2002 6:57 AM
> > To: [EMAIL PROTECTED]
> > Subject: [JBoss-user] Testing EJBs with JUnit
> > 
> > 
> > Hello!
> > 
> > Has someone experience with testing EJBs using JUnit?
> > 
> > I've some entity beans and want to ensure that their basic functions
> > (creation, editing and deletion of records in the database) do work
> > properly after changes (see attachment TestProjectBean.java).
> > 
> > But I get a NoClassDefFoundError when I run this test, although all
> > classes used are in the classpath (full stacktrace is given in
> > attachment 2002_07_17_stackTrace.txt).
> > 
> > If I put the same statements into a normal Java application,
> > everything works fine.
> > 
> > Any help is highly appreciated
> > 
> > Dimitri Pissarenko
> > 
> 
> 
> -- 
> Emerson Cargnin - MSA
> SICREDI - Tel : 3358-4860
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to