Our approach has been to bundle all business objects in an ear file and put
this in the deploy directory.  Then, we tack our relavent jars on the front
of JBOSS_CLASSPATH.  However, along this line, a couple of issues we've
seen.  One, if I put log4j from apache in this classpath, the app server
kicks out a bunch of errors (undefined classes, etc.).  Also, some of our
code relies on a property being set and passed into the jvm via -D...  Right
now, we hacked the run.bat script for jboss, but clearly this is not a long
term solution.  Where is the appropriate place to specify this?  The syntax
on windows is -Darmanta.home=%ARMANTA_HOME%.

Thanks

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Frank Xia
Sent: Tuesday, January 15, 2002 4:50 PM
To: 'Tim Sheridan'; '[EMAIL PROTECTED]'
Subject: RE: [JBoss-user] JBoss Deployment Strategy


I have put them into jboss\lib\ext directory but not sure if that's the best
approach. Since the common packages used by both session and entity beans
are big (hundreds of classes), I can't think of any other better approach
yet. Would love to hear from more experienced developers.

Frank

-----Original Message-----
From: Tim Sheridan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 15, 2002 4:45 PM
To: '[EMAIL PROTECTED]'
Subject: [JBoss-user] JBoss Deployment Strategy

Where is an appropriate place to put shared or common code (in the form of
JAR files) that are utilized by session/entity/message beans in JBoss?

Should I deploy all business objects and supporting code in the
<JBOSS_HOME>/deploy folder or just business logic beans?

What's the best strategy?

Thanks,
Tim Sheridan


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

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


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

Reply via email to