[jboss-user] [EJB/JBoss] - Re: Problem deploying Session Bean

jaikiran do-not-reply at jboss.com
Thu Nov 22 08:44:54 EST 2007

Since you are using EJB3.0, you no longer need to "narrow" the returned object. The lookup will return you an proxy which implements AddressDAO interface. Change your code to

   AddressDAO dao = (AddressDAO) ctx.lookup("ta3g/AddressDAOImplBMT/remote");

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

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

More information about the jboss-user mailing list