Search code examples
javaservletsappletappserver

Java appserver to be iniated in Java application


I'm looking for an Java based Application server which should be controllable within an Java application. I want to be able to start/stop the server within the application.

So far most App servers I looked at Glassfish, JBoss, are all controlled from the OS instead of being able to integrate into an existing Java Application.


Solution

  • Get a look at Winstone or Jetty, they are easy to embed in an application: