Is there any way that a remote client can have an instance to a remote
interface without the use of a jar. IOW, dynamically load the remote,
and home via an IP address. I find it silly to have to manually set up
a jar and a classpath on each client.
Example.
public static void main(String [] args) {
try {
Context jndiContext = getVendorSpecificJNDIContext();
Object ref = jndiContext.lookup("CustomerHome");
CustomerHome home = (CustomerHome)
PortableRemoteObject.narrow(ref, CustomerHome.class);
Customer customer = home.create(...);
/* How can I get the current CustomerHome and Customer without
manually placing it on every client?*/
.
.
} catch (...) {
.
.
.
}
}
--
Dan Hinojosa
Java & Lotus Notes Consultant
Java Certified Programmer
P.O. Box 4675
Albuquerque, NM 87196-4675
Telephone: (505) 262-0911
Email: [EMAIL PROTECTED]
WWW: http://www.digitalpriest.com
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".