Advanced Java

Advanced Java is the concept of java fundamentals such as Applet, Swing, Socket, Servlet, JDBC, and JavaBeans etc. Advanced Java is used for web-based application and it is two-tier architecture between client and server.

An Applet is contained in the java.applet package. The applet contains several methods that give you detailed control over the execution of your applet. In addition,
java.applet also defines three interfaces: AppletContext, AudioClip, and AppletStub.

Types of Applets:

There are two types of Applets:

  • Abstract Window Toolkit (AWT): AWT provides the Graphical User Interface (GUI).
  • Swing-based Applets: Swing applets use the Swing classes to provide the GUI. Swing offers a richer and often easier-to-use user interface. Thus, Swing-based applets are now the most popular.

    Advanced Java

  • 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. Java Beans defines an architecture that specifies how these building blocks can operate together.
  • Java has a different socket class that must be used for creating server applications. The ServerSocket class is used to create servers that listen for either local or remote client programs to connect to them on published ports.
  • Recommended Posts:

    Advanced Java
        1. Java Applet
        2. Applet Life Cycle in Java
        3. Difference Between Applet and Application
        4. Creating an Executable Applet in Java
        5. Displaying Numerical values in Applet
        6. An Applet Program to Add Two Numbers
        7. Event Handling in Applet
        8. AWT Event Classes
        9. AWT Graphics Class
        10. Draw a line and rectangle in Java Applet
        11. Draw Circles and Ellipses in Java Applet
        12. Draw a Polygon in Java Applet
        13. AWT Hierarchy | AWT Package
        14. Swing in Core Java