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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...