Java has a strong support for web development. Java is mostly used for server side programming. Many modern Java web frameworks are based on servlets. A Java web application is a collection of dynamic resources such as Servlets, JavaServer Pages, Java classes and jars and static resources such as HTML pages and pictures. A Java servlet is a Java programming language program that extends the capabilities of a server. Although servlets can respond to any types of requests, they most commonly implement applications hosted on Web servers. Java Class - A class provides the blueprints for objects. So an object is created from a class. In Java, the new key word is used to create new objects.