VPInfoDAOImpl vpdao = VPInfoDAOImpl.getInstance(); 
This won't work; here you are constructing a plain object, not accessing an EJB 
instance from the container.

InitialContext ctx = new InitialContext();
  | VPInfoDAOLocal dao = (VPInfoDAOLocal) 
ctx.lookup("VPInfoDB/VpInfoDAOBean/local");

What's not working here?  Are you able to perform the lookup, cast, and invoke?

S,
ALR

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4129704
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to