OK,

I'll risk one more posting...

Marc,

You seem to understand where I am coming from !

When will this new CL stuff come in ?

Jetty's WAR CL will be a child of the one passed us by
the J2EEDeployer in
Thread.currentThread().getContextClassLoader().

What should it's behaviour be ?

1. DELEGATE up, then look in WAR (Java2 compliant)
2. Look in WAR, then DELEGATE up (sandboxing WebApp)
3. neither of the above.

I have mentioned the problems associated with each
approach already in this thread.


1. Optimisation code currently works - but containers
classes are used in preference to WAR's

2. WAR's classes used, but optimisation code currently
fails.

3. ???

Now a bit of an ill-informed rant:

Since using a Remote EJB interface is more restrictive
than using a Local one (everything must be
serialisable) I can guarantee that whilst a Local
interface may not work remotely, a Remote interface
will always work locally...

Still with me ?

Therefore, why shouldn't my choice be to always use a
Remote interface if I can, thus keeping all my options
open and why shouldn't JBoss be able to apply exactly
the same optimisations that it would to a local
LocalInterface deployment to my local RemoteInterface
deployment ?

In fact why do I need a Local interface at all ?

I don't want the interface to mandate my geographical
location. I want all that done by a hot-pluggable
implementation which will go as fast as it can in any
given deployment scenario.

It's all just a dynamic proxy anyway - isn't it ?

I'm putting on my flame-proof jacket right now.......

If anyone wants me I'm on holiday, with my EJB2.0 spec
trying to understand what the hell's going on.

Peace and Love,

Jules

P.S.

Be gentle - it's been a hard day...

 --- marc fleury <[EMAIL PROTECTED]> wrote: > |If
they are not optimised, RH currently throws an
> |exception and the test fails. So this needs fixing.
> 
> RH is still using the old CL structure for the apps,
> when we default to the
> scope stuff, this class of problems will go away, we
> will need to integrate
> them with Jetty in teh 2 fashions explained above
> (actually the rh cl
> integration native due to teh silly spec
> requirements).
> |
> |I have heard of, but know nothing about, local
> |interfaces. I would have thought though, that they
> |must still be constrained by the basic laws of
> Class
> |"assignability" - i.e. if the way the ClassLoaders
> is
> 
> that is correct, see my previous mail, orthogonal
> issues, rickard is
> sleeping this morning
> 
> |Anyway, JBoss attempts to implement optimised
> |intra-container calls through the standard
> interface.
> |Are you suggesting we should throw all this code
> away
> |now? It would save me a lot of effort.
> 
> are you kidding? as you know that won't simplify the
> problem and forcing
> people to use "local" stuff in EJB is still weird in
> my mind.  WORA/SMCHORA
> sentimental bull.
> 
> |Otherwise this brings us straight back to the same
> |problem. ClassLoader architecture which is what I
> need
> |to coordinate between JBoss and Jetty in order to
> pass
> |the testsuite.
> 
> yes, correct.
> 
> marcf|
> |Jules
> |
> |
> |> /Rickard
> |>
> |> --
> |> Rickard Öberg
> |>
> |
> |__________________________________________________
> |Do You Yahoo!?
> |Everything you'll ever need on one web page from
> News and Sport to
> |Email and Music Charts
> |http://uk.my.yahoo.com
> |
> |------------------------ Yahoo! Groups Sponsor
> ---------------------~-->
> |Universal Inkjet Refill Kit $29.95
> |Refill any ink cartridge for less!
> |Includes black and color ink.
>
|http://us.click.yahoo.com/XwUZwC/MkNDAA/ySSFAA/CefplB/TM
>
|---------------------------------------------------------------------~->
> |
> |For the latest information about Jetty, please see
> http://jetty.mortbay.
> |
> |Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
> |
> |
> 
> 
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
>
https://lists.sourceforge.net/lists/listinfo/jboss-development 

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page from News and Sport to Email and Music 
Charts
http://uk.my.yahoo.com

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to