[jboss-user] [EJB/JBoss] - Sharing classes

martinchox do-not-reply at jboss.com
Mon Nov 5 04:03:57 EST 2007


Hello,

The situation is as follows, I have an app deployed in a jboss-4.2.0.GA server. From that app I dinamically invoke differents jars that includes a reference to an interface of an API that is in the .ear (in another jar).

At runtime I want to link the reference in the jar I dinamically invoke with the instance of my API, so that the api can be used in the jar dinamically loaded.
 	
So far I have not been able to do this because an IllegalArgumentException throws when I do the invockation, and is because differents IDs are assigned to the type of the interface. 

Hope understands, I have tried a lot of things and nothing works, so I would apreciate a lot if somebody helps me.


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

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



More information about the jboss-user mailing list