This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes Generation of war from jboss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Generation of war from jboss" Watch "Generation of war from jboss" New topic

Generation of war from jboss

samir ware
Ranch Hand

Joined: Jul 27, 2005
Posts: 192
Hello Ranchers,
Is there any way we can tell Jboss to create only war file instead of ear? My project is not having enterprise beans. So I wanna create just a war file . (I am getting some problems because of war files in my application). Any white paper link will greatly be appreciated.
Thanks in advance
Jaikiran Pai

Joined: Jul 20, 2005
Posts: 10394

JBoss doesn't create any war or ear files. It's upto the application developer to use the build tools to generate the appropriate package. How are you creating the .ear/.war file?

[My Blog] [JavaRanch Journal]
Peter Johnson

Joined: May 14, 2008
Posts: 5850

Can I make the assumption that you are using Eclipse? If so, then to create a WAR, create a Dynamic Web Project. Also, make sure you leave unchecked the "Add project to an EAR" option on the first page of the project wizard.

JBoss In Action
I agree. Here's the link:
subject: Generation of war from jboss