Possible to generate ejb-jar.xml from EJB class (source)? ejb-jar....
11/01/2019 12:08
Currently I defined manually the ejb-jar.xml for a EJB SessionBean.


Is there a tool which does this automatically for me?In other words I pass the java source (or binary class) to it and the toolfetches all necessary information from it and generates the suitable ejb-jar.xml.


By the way: is the definition of ejb-jar.xml Application Server independent?Can I use the same ejb-jar.xml for deployment on JBoss or TomCat or Jetty or WebSphere? Ray

Source is Usenet: comp.lang.java.help
Sign in to add a comment

Answer score: 5
11/01/2019 12:08 - No. At least not without making some heavy guesses.


The exact same class can be deployed with different descriptors.


Yes.


Most servers have an optional additional descriptor file for the serverspecific stuff.


Yes.


Except that Tomcat and Jetty does not support EJB's. :-)
Arne

Source is Usenet: comp.lang.java.help
Sign in to add a comment

Answer score: 5
11/01/2019 12:08 -
Unless you install OpenEJB.

<http://openejb.apache.org/>

Source is Usenet: comp.lang.java.help
Sign in to add a comment

eDiscover
Helpforce eDiscover provides technical articles updated each dayHelpforce eDiscover RSS feed contains the latest technical articles in RSS
Click the logo to go back to the main page
Search eDiscover
  
Categories

Click an icon to go to that category

Helpforce eDiscover contains articles about Microsoft Windows Helpforce eDiscover contains articles about Apple products and MacOS Helpforce eDiscover contains articles about Linux and POSIX operating systems Helpforce eDiscover contains articles about Helpforce Helpforce has a large variety of technical information and articles for you to read Helpforce eDiscover contains articles about databases, MYSQL, SQL Server Oracle Helpforce eDiscover contains articles about Java, JVM and the JRE Helpforce eDiscover contains articles about the QNX operating system Helpforce eDiscover contains articles about Oracle Solaris and Open Solaris Helpforce eDiscover contains articles about RISC OS, Acorn and the BBC Micro Helpforce eDiscover contains articles about Amiga and AmigaOS

Type your comment into the box below