|When will this new CL stuff come in ? all the code is out, what is missing is SCL/SL integration that david and i are talking about.
|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) yes this will work |2. Look in WAR, then DELEGATE up (sandboxing WebApp) if you want this for spec then go and use the RH cl natively once it is built. |3. neither of the above. use 1 for now (our alpha is out) and then move to 2 when we got the stuff done. |1. Optimisation code currently works - but containers |classes are used in preference to WAR's yes, the solution to this is scoped usage in CL |2. WAR's classes used, but optimisation code currently |fails. yes, to me this is more important. |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 ? correct we will optimize for you, Local stuff really has applications in EJB CMP2.0 but apart from that you don't buy much on JBoss except portability to Weblogic but why would you ? |In fact why do I need a Local interface at all ? my point exactly. Again it enforces colocation which is important in CMP2.0 dumb in web apps. |I don't want the interface to mandate my geographical |location. I want all that done by a hot-pluggable right, you got it. |implementation which will go as fast as it can in any |given deployment scenario. yes which we do. |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, yes, case closed, marcf | |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 |> | |> |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 | |------------------------ 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/1_Y1qC/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