Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

ANT tasks for create EJB jar files  RSS feed

 
Parameswaran Thangavel
Ranch Hand
Posts: 485
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all
I created the EJB' application in my test server (websphere). But now i need to bundle the EJB using ANT build tool and deploy it as an EAR.

WHile developing the EJB i used the websphere. But now i my lead asked me to create the files (jar and EJB stubs) using ANT tasks. Since IDE taken care of
creating all the files i donno what are all i need to do to create the EJB application.

It will be really gratefull if any one can give me some pointers on this.

Thanks
Param
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 37180
515
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Param,
You can use the Ant jar task on the EJB project to create an EJB jar. As an example of the expected output, export the existing project as an EJB jar. The file your Ant script generates should be the same.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 37180
515
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the future, please don't post the same question in multiple forums.
 
Dinesh Bang
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi man,
use the ejbdeploy.bat file, see for more details options of that command, as per your usage.
It will generate all the stubs for you, as required by websphere
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!