[jboss-user] [JBoss Seam] - Re: Integration Testing with TestNG and embeddedEjb

pete.muir@jboss.org do-not-reply at jboss.com
Mon Aug 13 09:37:48 EDT 2007


As I said that JNDI pattern is *wrong* for embedded ejb3. It should be 

Object test = JndiUtil.lookup("KomunikatyManagerBean/local", KomunikatyManagerBean.class);
  | 
  | KomunikatyManager komunikatyManager = (KomunikatyManager)
  | getInstance(KomunikatyManagerBean.class);

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073546#4073546

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4073546



More information about the jboss-user mailing list