static

non-static members and its control flow in Java

Reading Time: 3 minutes Class level members which don’t have static keyword in it’s creation statement are known as Non-static members, like non-static variable and non-static methods. Type of non-static members Non static variables Non-static blocks Non-static block Constructors non-static variables Non-static variables are class level variables that do not have static keyword in its definition. When we create object, inside that object the non-static variables get memory and Continue Reading

Serve Static Content on a Jetty Web Server using Docker Container

Reading Time: 2 minutes Docker is well known to containerize the application with all the necessary dependencies in order to make the application portable and deployable in a platform independent manner. And, on the other hand Jetty Server is widely used with Docker to deploy applications using war files.But, recently I came across a requirement to expose static files and jars on a given endpoint using a Jetty Web Continue Reading