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.

Answers


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


Need Your Help

android Picture.createFromStream does not reload bitmaps

android bitmap android-canvas

On android I am drawing into a android.graphics.Picture then save the Picture to a file. Later I reload the picture into memory and draw it to the canvas. I noticed that Bitmaps were never drawing....

Changing the first letter of every line in a file to uppercase

bash case

I need to change the first letter of every line in a file to uppercase, e.g.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.