Hi Dirk.

I just did straight inheritance.
Base classes went into a package called common.
Base ejb classes went into common.ejb.
Appropriate common files (including the entire common.ejb package) went into a Jar 
called Common.jar.
Other EJBs went into their appropriate jars.
Call child ejbs as normal.  Make sure child EJB remote interfaces extend base ejb 
remote interface.
Parent EJB methods can now be called directly on child EJB.
(My Base EJBs are abstract, btw).

Bundle everything up into an Ear file.
Deploy using JBoss 3.0 Beta2 or later (currently cvs Head revision)
Note: JBoss 3.0Beta1 has bug which prevents it from properly loading an Ear file with 
multiple EJB jars.  This has since been fixed.

-Steve


Dirk Storck wrote:
> Hi,
> 
> where do I find suggestions in how to model and implement inheritance
> between EJB's?
> 
> Many thanks and any suggestions are welcome!
> 
> 
> 
> 
> 
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> 



-- 
Stephen Davidson
Java Consultant
Delphi Consultants, LLC
http://www.delphis.com
Phone: 214-696-6224 x208


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

Reply via email to