0

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.

rkokkelk
  • 146
  • 1
  • 8
  • 2
    Do you actually need a full-fledged appliction server or will something like Jetty work for you? – Chris Nov 13 '11 at 14:13
  • Maybe even Netty? http://www.jboss.org/netty – Jeremy Nov 13 '11 at 14:29
  • FWIW, there's [embedded glassfish](http://embedded-glassfish.java.net/), which is kind of interesting. – Dave Newton Nov 13 '11 at 14:37
  • There's also embedded Tomcat and JBoss. Basically, every 100% pure Java server is embeddable. For hints, just google "embedded tomcat", "embedded jboss", "embedded glassfish", etc. By the way, you'd really need to sign your applet, else it just won't work. – BalusC Nov 13 '11 at 14:57

1 Answers1

2

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

Emmanuel Bourg
  • 9,601
  • 3
  • 48
  • 76
  • I second the Jetty suggestion. If you interested in starting a war file from the command line, look at [Jetty Runner](http://blogs.webtide.com/janb/entry/jetty_runner) – BillMan Nov 13 '11 at 14:56