no you can't, what you have to do is to propagate testcase in a bean that's in the same deployment unit of your other beans.
we do such test in forum application, you can have a look to org.jboss.forum.test.BasicTest. it extends EJBTestCase and use a bean from jboss.blocks to do that. ----- Original Message ----- From: "KR�LIK Vladim�r" <[EMAIL PROTECTED]> To: "Jboss-Users (E-mail)" <[EMAIL PROTECTED]> Sent: Tuesday, October 22, 2002 2:13 PM Subject: [JBoss-user] JUnitEE and test local interfaces > Hello all, > > I tried test my local EJB with JUnitEE servlet, but I get only > ClassCastException when I try cast to local-interface. > Has anybody experience with testing local-interfaces ? > May I call local-interface from WEB-application ( JSP/Servlets ) ? > > > thank's > > vlk > > My environment : > Windows 2000 > JDK 1.3.1_02 > JBoss 3.0.3 with Jetty > JUnitEE 1.5.1 > > -- > Vladimir Kralik > Asset Soft Banska Bystrica > > > ------------------------------------------------------- > This sf.net emial is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran�ais ! Yahoo! Mail : http://fr.mail.yahoo.com ------------------------------------------------------- This sf.net emial is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ad.doubleclick.net/clk;4699841;7576301;v?http://www.sun.com/javavote _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
