5 comments
Comment actions Permalink

Vagelis Bagiatis wrote:

Does anyone know how I can deploy EJBs from IntelliJ using JBoss?


Yes. Its called reading EJB Spec. Deploying EJBs in JBoss is nothing more
than creating .ear or ejb-jar archives (including the required descriptors).

0
Comment actions Permalink

You're right, it was my mistake. I meant if IntelliJ can automatically create a jar containing the classes + the ejb-jar, jboss and jbossjdbc xmls, like JBuilder for example.

0
Comment actions Permalink

Vagelis Bagiatis <jiveadmin@intellij.net> wrote in
news:1879664.1042811995494.JavaMail.jrun@is.intellij.net:

You're right, it was my mistake. I meant if IntelliJ can automatically
create a jar containing the classes + the ejb-jar, jboss and jbossjdbc
xmls, like JBuilder for example.


Sure, use an ant script.

0
Comment actions Permalink

Yes, use an Ant script. But check out XDoclet (which includes the two modules EJBDoclet and Webdoclet). By using special javadoc tags you mark up your beans etc. Xdoclet can then generate any necessary files for you, e.g. ejb-jar.xml, jboss-ejb-jar.xml etc. We are currently using it on a very large project deploying both to Jboss and Orion/Oracle 9iAS.

It would be good if Intellij could include some nifty interface for xdoclet, though (I know there is a plug-in but it is not from JetBrains as far as I know).

.jonas

0
Comment actions Permalink

Well, there is the XDocletGUI plugin from Konstantin. It's included in xdoclet source code. And I doubt there will be some "official" xdoclet support any time soon.

And just a word for JetBrains folks: if you're planning xdoclet integration, please keep an eye on xdoclet2. One of it's main features will be an API to simplify IDE integration.

http:

0

Please sign in to leave a comment.