Hi,
In order to create a new EJB Object, I need to perform a look-up in the
JNDI, right?
For example:
Context ctx = new InitialContext(...);
MyHome home = (MyHome) ctx.lookup("MyHome");
MyRemoteInterface ejbObject = home.create();
Ok, now I have an ejbObject and I can do lots of things with it.
My doubt is once I am using the type MyHome I need to have this class in the
client machine, haven´t I? As well as MyRemoteInterface class.
Is there any way to don´t use these classes in the client machine? Or it is
a mandatory rule in EJB? (all the Clients must have the packages with all
data types used by the application)? (and RMI, of course).
thank you.
Leonardo Momo Pedrosa
> * [EMAIL PROTECTED]
:-)
===========================================================================
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".