Hi there,

YEEESS! I made it :)

You were right with the manfiest.mf-file:

I did the following thing:
In my class e.g. utils.jar I put complex parameters and functions, that all 
bean-levels (ejb, par, war) shall be able to use. I put it in a /lib directory 
of the root in the ear-file.

Then I insert the following class-path in the MANIFEST.MF:
Class-Path: ./lib/utils.jar

And by that, the utils are a loaded by the unified classloader(?right?) and all 
levels can share even object-parameters.

Remark: I have read, that even, if you load objects from the same jar-file but 
through different classloaders, the objects cannot be passed as parametes from 
layer to layer (although the have the serializable  interface implemented). To 
be able to share objects in different layers, they have to be loaded by the 
same classloader or by children of the same classloader.

Best regards,
Marc

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3936171#3936171

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3936171


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to