Advanced Java Tutorial

Advanced Java:

Advanced Java is the concept of Java fundamentals such as Applet, Swing, Socket, Servlet, JDBC, and JavaBeans etc. It mainly uses for creating web-based applications. It is a two-tier architecture between client and server. An Applet contains in the [java]java.applet[/java] package. The applet contains several methods that give you detailed control over the execution of your applet. In addition, [java]java.applet[/java] also defines three interfaces: AppletContext, AudioClip, and AppletStub. This Advanced Java tutorial will help you to learn Advanced Java for beginners and professionals.

Types of Applets:

In Java, there are two types of applets:

1. AWT: It stands for Abstract Window Toolkit. It provides the Graphical User Interface (GUI).

2. Swing-based Applets: Swing applets use the Swing classes to provide the GUI. It offers a richer and often easier-to-use user interface. Thus, Swing-based applets are now the most popular.

3. Java Beans are very important because it allows us to build complex systems from software components. These components may be provided by you or supplied by one or more different vendors. It defines an architecture that specifies how these building blocks can operate together.

4. Java has a different socket class that must use for creating server applications. The [java]ServerSocket[/java] class uses for creating servers that listen for either local or remote client programs to connect to them on published ports.