Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Deploy .ear File only in JBOSS Deploy Dir NOT in Exploded format

 
Soumya Saha
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Does JBOSS support .ear file only. My project is in Eclipse and JBOSS-SEAM. Whenever I deploy on the server through the IDE it deploys the app in an EXPLODED format.
Does JBOSS support only .ear file like other Application Servers ?
Is there a way to deploy .ear file only ?

Any response is highlu appreciated.

Thanks
Soumya
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can deploy any application as an archive file or as an exploded directory. The only requirement is that, whether file or directory, it must contain the extension (that is, must end in .ear or .war or ...). The IDE is probably deploying as an exploded directory just because it then is easier to update individual files. But you can create an EAR file and copy that to the deploy directory (make sure you remove the exploded EAR directory first, though).
[ August 15, 2008: Message edited by: Peter Johnson ]
 
Soumya Saha
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Peter,

Thanks for your reply. I had already figured that out and it works well also.

Thanks once again and JBOSS is great !

Soumya
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic