Hi, 

I have a problem locating the home interface of my ejb. The beans seem to 
deploy without errors on the app server. 

Here is the code I use:


private UserDetailHome lookupUser() throws NamingException {
  | 
  |             Context context = new InitialContext();
  |             Object objref = context.lookup("ejb/UserDetailLocal");
  |             return (UserDetailHome) PortableRemoteObject.narrow(objref,     
UserDetailHome.class);
  |     }

Please advice,
Thanks
Joe



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

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


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to