• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Deploying Project

 
Mehul Kumbhani
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 34965
378
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mehul,
You can create a jar file by exporting the project in NetBeans. Then it can run at the Java command line.
 
Mehul Kumbhani
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sir,
I have created .war file from netbeans.
can i run this file?
 
Tim Holloway
Saloon Keeper
Posts: 18300
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic