This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
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 Java 8 in Action this week in the Java 8 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
internet detective
Marshal

Joined: May 26, 2003
Posts: 29287
    
140

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


[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: 15662
    
  15

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Deploying Project
 
Similar Threads
Looking for the best IDE for J2ME
Netbeans 6 and JUnit 4
Netbeans help
anyone knows about adding JTAPI libraries into netbeans 5?
A newbie got stuck !