I'm doing concurrent development in JBoss and WebLogic and I build from a
common source directory.

First of all, it helps a lot if you are on WebLogic 6.0 with the EJB 2.0
deployment descriptors - the standard is much more standard.  There should
be no material difference in the required entries in the ebj-jar.xml files.
I put an <ENV_ENTRY> in the ejb-jar.xml that triggers dynamic loading
(factory method) of a custom logging class.  The ejb uses either WebLogic or
JBoss logging (encapsulated in wrapper classes that are loaded dynamically).
         

         Note: WebLogic == 1 && JBoss == 2

         <env-entry>
                <env-entry-name>serverVendor</env-entry-name>
                <env-entry-type>java.lang.Integer</env-entry-type>
                <env-entry-value>1</env-entry-value>
         </env-entry>

I name the ejb-jar.xml files in the source directory as follows:

        ejb-jar.xml-weblogic
        ejb-jar.xml-jboss

The script that compiles and creates the ejb jar file copies the appropriate
script to the meta-inf directory and renames it as ejb-jar.xml

Now, the jboss.xml and weblogic-ejb-jar.xml files configure proprietary
features of the container of each ejb server.
I don't see any way for a tool to map and translate these files.  There is a
far simpler, more direct approach.  Just put a jboss.xml and
weblogic-ejb-jar.xml file in your source directory.  Code your build script
to copy the appropriate file to the meta-inf directory.

-----Original Message-----
From: John Penrose [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 30, 2001 11:05 AM
To: '[EMAIL PROTECTED]'
Subject: [JBoss-user] Keeping WL and JBoss Deployment Descriptors in
synch, reference " I need ammo".


Bill,

We want to do the opposite, but we're not actually doing it yet: we would
like to develop under WebLogic, and eventually deploy under both WebLogic
and JBoss.

We have determined that we need clustering and fail over, so it looks like
JBoss is out for now.  But when JBoss supports that, we'll jump on it.

My question is this: is there a way to keep the app-server-specific
deployment descriptors in synch through some sort of tool?  Is there a
migration tool that maps WebLogic Deployment Descriptors to JBoss's, or
vice-versa?  How do you update your WL DDs?

Regards,
John

John Penrose
[EMAIL PROTECTED]
[EMAIL PROTECTED]


-----Original Message-----
From: Bill Burke [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 30, 2001 10:25 AM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] I need ammo.


Peter,

We're not in production yet, but we are in beta.  We originally started 
working and developing with Weblogic 5.1 about a year ago and actually 
went into beta with it.  Recently, about a month ago, because of serious 
budgetary constraints, we ported from Weblogic to JBoss and have been 
using it ever since.  Now, budgetary constraints have been lifted and 
upper management is thinking of going back to using Weblogic.  I have 
been fighting furiously against this.  Not only do I think that JBoss 
could potentially become a superior product(in many ways, it already 
is!), but IMHO, OpenSource has serious long term advantages that can't 
be overlooked.

In the meantime, I'm keeping a parallel nightly build going with 
Weblogic so that if we need to (or if forced to :-( ),  we can switch 
back to WebLogic.

IMHO, I think we would be an incredible testimonial for JBoss, not only 
because of the scale of our application, but also because we moved from 
Weblogic.

Regards,
Bill

Peter Routtier-Wone wrote:

> You're a pearl, Bill. This is exactly the sort of stuff I need for the
promo
> material I'm preparing - unsolicited from-the-trenches testimonial.
> 
> It may  help to point out to your employers that they have no guarantees
> from the other container providers, and that JBoss gives them the ability
to
> rescue themselves, which the other vendors don't.
> 
> Point out that official support just means vested interest in maintaining
> customer loyalty, and that if they want evidence of vested interest Marc F
> has bet the farm on the success of JBoss.
> 
> If anyone can furnish either medium to large testimonial for Bill's use
then
> I would also appreciate a copy.
> 
> If not a production app, what about benchmark figures? TPc?
> 
> Bill, would it help to remind your PHB that you can always switch to
another
> container?
> 
> 
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> 
> 



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

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

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

Reply via email to