Results 1 to 1 of 1
Thread: Locating the home interface
-
Locating the home interface
Following code creates initial naming context, obtains environment naming context and retrieves the bounded object.
Java Code:Context initial = new InitialContext(); Object objref = initial.lookup("java:comp/env/ejb/SimpleConverter"); HomeInterface home = (HomeInterface)PortableRemoteObject.narrow(objref, HomeInterface.class);
Similar Threads
-
Problem locating resources on Linux.
By jimm1 in forum New To JavaReplies: 1Last Post: 01-18-2008, 06:34 PM -
Home interface for entity bean
By Java Tip in forum Java TipReplies: 0Last Post: 12-28-2007, 10:41 AM -
problem locating file in web application
By Rem in forum New To JavaReplies: 0Last Post: 11-09-2007, 04:00 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks