aspose file tools*
The moose likes JBoss/WildFly and the fly likes Deploy .ear File only in JBOSS Deploy Dir NOT in Exploded format Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Deploy .ear File only in JBOSS Deploy Dir NOT in Exploded format" Watch "Deploy .ear File only in JBOSS Deploy Dir NOT in Exploded format" New topic
Author

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

Soumya Saha
Ranch Hand

Joined: Apr 14, 2006
Posts: 64
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

Joined: May 14, 2008
Posts: 5830
    
    7

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 ]

JBoss In Action
Soumya Saha
Ranch Hand

Joined: Apr 14, 2006
Posts: 64
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Deploy .ear File only in JBOSS Deploy Dir NOT in Exploded format