Java Web Development
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.

Advantages With JAVA:
- Java has good and standardised APIs for transactions (JDBC) and for distributed transactions (JTA)
- JVM platform supports Polyglot programming thereby you can use scripting languages like Scala, Java to build and deploy web applications.
- Apart from platform independence, the main advantage of server-side Java development is the wide selection of libraries and standardized frameworks.
- It is a mature language as it has excellent backward compatibility
- It is a robust language with its garbage collection, very good performance and support for scripting