Wednesday, September 19, 2007

Java packages you should know and use

Here is a list of the main and most commonly used java packages. Packages are imported using import <package name>;, for example import*;

  • java.applet: includes class Applet and other methods that allow applet creation. javax.swing.JApplet is used when an applet enhances GUI swing components
  • includes classes for data input and output
  • includes classes for network programming like socket and datagram programming.
  • java.rmi: incudes classes and methods for creating applications for distributed computing.
  • includes classes for authorisation and data encryption.
  • javax.swing: incudes classes for GUI.
  • java.sql: incudes classes for connection with SQL databases.