Results 1 to 2 of 2
  1. #1
    CharanZ is offline Member
    Join Date
    Oct 2008
    Rep Power

    Default Deploying a java application on an web or appp server.

    Is it possible to deploy a java application(with main()) on a web or app server?
    If so what r its advantages?

  2. #2
    sproket is offline Member
    Join Date
    Oct 2008
    Rep Power


    You can but the main method would never run. :)

    An app server needs at least a web.xml file to tell it how to translate URL requests into Servlets so there really is no main method.

    Do a google search for "POJO Application server Harbor". That's an app server which can run arbitrary java classes.

Similar Threads

  1. Replies: 3
    Last Post: 10-28-2010, 02:42 PM
  2. What is the best application server for Java.
    By Eranga in forum Advanced Java
    Replies: 14
    Last Post: 09-09-2008, 04:31 AM
  3. Replies: 0
    Last Post: 08-25-2008, 02:13 PM
  4. (Server)Socket application deploying
    By mdinant in forum Networking
    Replies: 0
    Last Post: 04-09-2008, 05:10 PM
  5. Application server
    By dmis in forum Enterprise JavaBeans (EJB)
    Replies: 0
    Last Post: 11-12-2007, 02:12 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts