Aaron Mulder writes:
> On Tue, 26 Sep 2000, Rickard Oberg wrote:
> > Yes, through reflection. I'm just saying that IF you want interfaces to be
> > loaded dynamically these are the conditions that must be met.
> >
> > And using reflection is not painful at all if you use a Java scripting
> > language based on reflection, or if you introspect the beans and provide a
> > GUI to invoke the methods (just like the EJBench EJX plugin does).
>
> Well, sure, anything's easy if you're using the right tools. But
> I suspect most EJB clients won't be doing that.
> Okay, so if (for a non-reflection situation) the dynamic class
> downloading can't get around the need for having the interfaces on hand,
> what does it get you? I guess you can avoid distributing the JTA JAR, but
> the client still needs the jnp-client.jar and ejb.jar, right? How about
> jboss-client.jar? It seems like it makes things a little better, but
> you've still got to distribute some JARs.
> Now with reflection, I guess you only need jnp-client.jar. Is
> that right? Sure, I could try it myself, but it sounds like you know
> already... :)
Have I missed something here? Why can't you download all the classes
from an http server at runtime? Like a Java applet does; you just
install a new URLClassloader as the first thing you do with the
appropriate URL. Sure, you'd need them 'round at compile-time, so I
guess a source distro wouldn't work, but a binary distro should be
ok... shouldn't it?
Tom
--
Tom Cook - Software Engineer
"We rarely find that people have good sense unless they agree
with us."
- Francois, Duc de la Rochefoucauld
LISAsoft Pty Ltd - www.lisa.com.au
--------------------------------------------------
38 Greenhill Rd. Level 3, 228 Pitt Street
Wayville, SA, 5034 Sydney, NSW, 2000
Phone: +61 8 8272 1555 Phone: +61 2 9283 0877
Fax: +61 8 8271 1199 Fax: +61 2 9283 0866
--------------------------------------------------
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]