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.
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.
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).
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.
Vagelis Bagiatis wrote:
Yes. Its called reading EJB Spec. Deploying EJBs in JBoss is nothing more
than creating .ear or ejb-jar archives (including the required descriptors).
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.
Vagelis Bagiatis <jiveadmin@intellij.net> wrote in
news:1879664.1042811995494.JavaMail.jrun@is.intellij.net:
Sure, use an ant script.
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
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: