File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 10441

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: 5852

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
jQuery in Action, 3rd edition