File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes IDEs, Version Control and other tools and the fly likes Deploying Project Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Deploying Project" Watch "Deploying Project" New topic
Author

Deploying Project

Mehul Kumbhani
Greenhorn

Joined: Apr 24, 2010
Posts: 9
I have completed my project using netbeans IDE 6.8 in servlet.

Now i want to run my project without netbeans,it is possible.
How can i achieve this.
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 32305
    
213

Mehul,
You can create a jar file by exporting the project in NetBeans. Then it can run at the Java command line.


[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Mehul Kumbhani
Greenhorn

Joined: Apr 24, 2010
Posts: 9
Sir,
I have created .war file from netbeans.
can i run this file?
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16897
    
  26

Mehul Kumbhani wrote:Sir,
I have created .war file from netbeans.
can i run this file?


You don't actually "run" it. You install it (deploy) into a J2EE server and run the server. When your web browser submits a URL that matches the application context that you deployed, it routes the URL to your application code.

For basic servelt/JSP WARs, you can use Tomcat as your webapp server. If you're using more advanced J2EE features such as EJBs, you need a full-function J2EE/JEE server such as JBoss, WebSphere, WebLogic or something similar.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Deploying Project
 
It's not a secret anymore!