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 Deploye Enterprise application in Server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Deploye Enterprise application in Server" Watch "Deploye Enterprise application in Server" New topic

Deploye Enterprise application in Server

Samanthi perera
Ranch Hand

Joined: Jan 08, 2010
Posts: 510
i created a Enterprise application using Netbeans.
It is working.
1) I need to know how to Deployee my application in a jboss Server?
2) What should i use to Deployee, War or other file?
Mark E Hansen
Ranch Hand

Joined: Apr 01, 2009
Posts: 650
An Enterprise application should be packaged in an EAR file (Enterprise ARchive). This is different from a Web application - which is packaged in a WAR file (Web ARchive).

Once you have the Ear file, you just copy it to the application server's deploy directory.

Note that if your enterprise application requires any resources that don't come with the application server by default, you will need to provide those. This includes among other things, database resource definitions, security configuration, etc.

There is a great book on the subject for JBoss, called JBoss in Action, by our very own Peter Johnson. It was a tremendous help to me in learning how to administer the JBoss application server, and configure it for the deployment of my applications.

If you're not sure how to package your application components into the Ear file, the Servlet Specification goes into all this detail, and is not as dry a read as you might expect a specification to be

Good luck.
Peter Johnson

Joined: May 14, 2008
Posts: 5852

And the first chapter for JBoss in Action is a free download and should give you all the information you need to know to deploy your WAR (the chapter steps you through creating and deploying a "hello world" WAR).

JBoss In Action
I agree. Here's the link:
subject: Deploye Enterprise application in Server
It's not a secret anymore!