Stand - alone application with JBoss or Tomcat?

I have two suggestions for you You can take tomcat. Place your war in the webapps folder and rename it to ROOT.war. Zip up the tomcat folder.

And distribute that with instructions on how to start it up. Which is really simple. Second option is to use jetty.

Basically write a small snippet of code to startup the jetty server that points to the war you create (probably store within the same folder or even jar) and then write a little startup script or make it into an exe. I prefer the first option as this uses tomcat.

1 for jetty suggestion. – darren Mar 27 '10 at 7:57.

It depends on your application. Do you have EJBs? If not, let's go for Tomcat which is lighter and will make the job.

If yes you need JBoss to run them properly. Then you can ZIP the whole server with your War included and this should work.

Have a look at the Winstone servlet container which has what you want as a supported use case. This is how the Hudson continuous integration server runs standalone. See stackoverflow.com/questions/1515654/what....

1 for Winstone, works pretty well indeed. – Pascal Thivent Mar 27 '10 at 7:45.

With JBoss at least, the trivial way of zipping the whole server once your app is deployed should work fine. Since JBoss includes Tomcat, I guess it should work with Tomcat as well. To make it easier for users to start the server, you could provide a custom runMyServer.

Bat (or . Sh) to execute run. Bat -c MyServer -b 127.0.0.1 (substituting the desired IP address of course :-).

Maven has a neat plugin (the jetty-console-maven-plugin) that allows to create an "executable" war (it creates a single artifact that embeds a Jetty servlet container). It's incredibely easy to use, check it out.

1 very cool. Will have to try that out sometime. – Mads Hansen Mar 28 '10 at 0:00.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions