Embedding tomcat server into an application
What is an embedded server?
A web application runs on a web server, usually they are packaged in a WAR file and deployed in a server container like Tomcat, JBOSS or GlassFish. However embedded servers provide an interesting alternative. Instead of deploying your app in a server, the server is embedded inside your application The result is a standalone application packaged in a jar file and that could be executed from a command line.To run an embedded tomcat server we just need following jars
tomcat-embed-coretomcat-embed-logging-juli
Comments
Post a Comment