In each EJB jar file, add the following line to your manifest.mf file:
Class-Path: ./ext/MyServerLib.jar

You can then put the classes that are shared by the EJBs into
this MyServerLib.jar file, which you deploy to JBOSS_HOME\deploy\ext.

----------- Original Message -----------------
Message: 3
From: Dimitri PISSARENKO <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Date: Sat, 13 Jul 2002 14:30:04 +0200
Subject: [JBoss-user] Value objects
Reply-To: [EMAIL PROTECTED]

Hello!

In my system I have object-oriented data on one side and the EJBs
within JBoss for accessing a relational database on the other side.

The classes of the object-oriented data represenation are used as
"Value" objects for exchanging data between the client application and
the EJBs. Many of them are used in several EJBs.

Now I add the class files of each Value objects used in a certain EJB
to its EJB jar file. However, this is not elegant, because if a value
object changes (that is, I change the code of the value object), all
EJBs using it, must be rebuilt and redeployed.

Does someone know, how I can "upload" these Value objects used by many
EJBs to the app server so that I do not have to add them to each EJB
jar file individually?

Thanks

Dimitri Pissarenko




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to