473,396 Members | 2,106 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Cross-server development and packaging of EJBs - I am puzzled

I would like to get an opinion from other EJB developers who might have
faced a similar problem.

I am developing an EJB for deployment on various app servers (JBoss, Sun
ONE, BEA WebLogic). Ideally, I would like to keep a single codebase, and
only tweak the XML deployment descriptors when necessary. This seems to be
an achievable goal for targeting JBoss and Sun ONE, but not WebLogic.

I do all development in Eclipse, using JBoss plugin and XDoclet to generate
the interface and XML files. XDoclet provides options for generating the
files for many app servers, including WebLogic, but it only creates the
following files for my test HelloBean class:

Hello.java
HelloHome.java
ejb-jar.xml
weblogic-cmp-rdbms-jar.xml
weblogic-ejb-jar.xml

and this file structure is very similar to the other target app servers for
which XDoclet generates files.

However, if I use WebLogic's Workshop for the same bean class, it creates
many more files, e.g.

Hello_oztp1s_EOImpl.class
Hello_oztp1s_EOImpl_814_WLStub.class
Hello_oztp1s_EOImplRTD.xml
Hello_oztp1s_Impl.class

and other files, all packaged into an EAR file.

Assuming that all these classes and XML files are needed for proper
deployment and operation of the bean, does this mean that the only way to
build the EAR file for WebLogic is to use their proprietary tools, like
Workshop? What's more, if the code must be handled by Workshop, the tags
inside the Java code, used to generate these auxiliary files, are not
XDoclet tags, but use syntax specific to WebLogic (e.g.
@ejbgen:remote-method instead of XDoclet's @ejb.interface-method).

If my observations are correct (I hope not), the above means that WebLogic
expects me to maintain a separate codebase for it, different from the
codebase shared by JBoss and Sun ONE.

Can anyone comment on this? Am I perhaps missing something, like a special
Eclipse plugin for WebLogic (but not the one available from BEA's site -
that one can only start and stop the server from Eclipse, and is pretty
useless for anything else).

I will appreciate any help in this matter.

Alex Molochnikov
Jul 18 '05 #1
0 2420

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Web Science | last post by:
Site and Features: http://www.eigensearch.com Search engine, eigenMethod, eigenvector, mathematical, manifolds, science, technical, search tools, eigenmath, Jacobian, quantum, mechanics,...
3
by: rollasoc | last post by:
Hi, Doing a bit of system testing on a Windows 98 laptop. (.Net 1.1 app). Did a bit of testing. Loaded a previously saved file. A gray box appeared with the text and buttons all white...
0
by: Web Science | last post by:
Site and Features: http://www.eigensearch.com Search engine, eigenMethod, eigenvector, mathematical, manifolds, science, technical, search tools, eigenmath, Jacobian, quantum, mechanics,...
4
by: David Peach | last post by:
Hello, hope somebody here can help me... I have a query that lists defects recorded in a user defined date range. That query is then used as the source for a Cross Tab query that cross-tabs count...
23
by: Jeff Rodriguez | last post by:
Here's what I want do: Have a main daemon which starts up several threads in a Boss-Queue structure. From those threads, I want them all to sit and watch a queue. Once an entry goes into the...
0
by: Web Science | last post by:
Site and Features: http://www.eigensearch.com Search engine, eigenMethod, eigenvector, mathematical, manifolds, science, technical, search tools, eigenmath, Jacobian, quantum, mechanics,...
8
by: Pieter | last post by:
Hi, I'm having some weird problem using the BackGroundWorker in an Outlook (2003) Add-In, with VB.NET 2005: I'm using the BackGroundWorker to get the info of some mailitems, and after each item...
3
by: jlamanna | last post by:
I was wondering if there was a utility that could tell you when your C# application is making cross-apartment COM calls. I have a fairly large application that makes extensive use of a 3rd party...
1
by: Rob Woodworth | last post by:
Hi, I'm having serious problems getting my report to work. I need to generate a timesheet report which will contain info for one employee between certain dates (one week's worth of dates). I...
6
by: Simon | last post by:
Hi All, An experiment i'm doing requires requires a synchronous cross-domain request, without using a proxy. I wondered if anyone had any ideas to help me achieve this. Below is what I have...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.