Sitemap
Hansinigunasena

Hansinigunasena

Develop Containerless Application with spring boot

1 min readJul 8, 2022

Web server : A server which Handle HTTP request. Web server Does not capable to handle any java SS specification in terms of java. (eg: apache server runs on port 8080)

Web Container : Capable to handle part of java SS specification. It is servlet.

App Server : Capable to handle full java SS specification. They handles HTTP requests and RMI etc.

In a web container, we can deploy more than one application. So, web container can have many applications running on it. Some times due to some reasons, one application may down. So, to fix that we may need to restart. Then all other applications may go offline. Most of the time we deploy web applications on cloud. When deploy we don’t have a method to restart web container.

Sharing of different configurations by different web applications is not easy to maintain. If two different applications needs two versions of same configuration it is hard to give.

So in container : we need to do restart after adding configurations.

Get Hansinigunasena’s stories in your inbox

Join Medium for free to get updates from this writer.

As a solution containerless introduced.

Containerless :

It is Embedding a container or web server in to application.

When we start the web application it will start the container and work on top of that container. Then the application will have its own container. It is sole dedicated to that application. We can do whatever we want to that.

Advantages :

1.Restarting can done.

2.Own configurations can have.

3.We can get public static void main method.

--

--