I don't know of a app server that can do this.  Even though this is easy to implement 
(no
different than being able to shoot the codebase of ejb stub implementation classes 
across
the wire), I assume most vendors will not do this due to security concerns.  A JMS
server, on the other hand, can do this (ObjectMessage) simply because the server is a
conduit and never "opens" the message package.

Gene
--- Marco Mistroni <[EMAIL PROTECTED]> wrote:
> Hi Vijay,
>          no i was meaning the other way.
> As of 'code download' intro on the java web site about codebaese property,
> they say (pls correct me if i got it wrong) that suppose that in your RMI
> server you have a method
> called print(Shape shape).
>
> Now, after u have started your system, your clien creates a new Shape
> (called rectangle).
>
> The server does not know about 'Rectangle, because when it was deployed the
> Rectangle class
> was not in its codebase.
>
> So, the client, when it calls the server, specifies the Codbase property, so
> that the server
> can get the Rectangle class from that codebase....and everyone is happy.
>
> Note: i have never tried to see if it works really.
>
> But i pose the question because i want to use codebase with EJBs, which as
> far as i know
> use under the hood RMI (although in some cases RMI over IIOP)
>
> can anyone clarify??
>
> thanx and regards
>         marco
>
>
>
>
> > -----Original Message-----
> > From: ext Vijay Guda [mailto:[EMAIL PROTECTED]]
> > Sent: 21. December 2001 10:26
> > To: [EMAIL PROTECTED]
> > Subject: Re: Code download with EJB
> >
> >
> > Hi Marco,
> >
> > Did u mean downloading classes required for the client  to
> > access EJB's??
> > As for as i knoiw its is not posible with EJB. They have to
> > be manually
> > deployed at client-side. I would like to hear more on this.
> >
> > Vijay
> >
> > hi all,
> >         i have a 'wild' question for u: is it possible
> > to use dynamic code download with EJB?
> >
> > DCD is possible with RMI (by setting the codebase property).
> > since, at the
> > end, communication with EJB is done using RMI, is it still possible
> > to use code download??
> >
> >
> > thanx in advance and regards
> >         marco
> >
> > ==============================================================
> > =============
> > 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".
> >
>
> ===========================================================================
> 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".
>


__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.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".

Reply via email to