It helped me partially...

In fact, you can not do interfaces everytime for all classes...
I took the example of Team and Player.. but in fact, I need to deploy Hibernate and 
all my hibernate objects... and then I have to deploy my mbeans that accesses to 
hib-objects.

But I've found the following solution : 

1- myutils.jar

2- hibernat2.jar 

3-Hibernate.sar 
 |-- hibernat2 needed jars
 |-- jboss-service.xml with classpath to HibernateObjects.jar

4- HibernateObjects.jar

5- MyMbean.sar
 |- all my classes
 |- jboss-service.xml with classpath to HibernateObjects.jar + hibernat2.jar

6- AnOtherMBean.sar
 |- it needs to access to classes from MyMbean.sar .. I think I will have to make 
myMbean.JAR and store it externally to MyMbean.sar

I'm doing test, if I redeploy a jar, it should be ok for .sar that uses it !




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

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


-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to