• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Deploying Project

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sir,
I have created .war file from netbeans.
can i run this file?
 
Saloon Keeper
Posts: 27752
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic