# Writing Applets with SQLJ

## Example 1: A Generic SQLJ Applet

Translation, testing, and packaging of this demo is described in Applet.readme.

This applet requires Netscape 4.0X with the JDK1.1 patch, or Netscape 4.5 or later, or Microsoft Internet Explorer 4.0 or later.

This applet does not have any Oracle-specific runtime component.

This applet connects to the `scott/tiger` schema and displays the `EMP` table.
You can delete entries in `EMP`, however your changes are not committed to the database.
You must add a `#sql { COMMIT };` line in AppletMain.sqlj if you want to change this behavior.

## Example 2: An Oracle SQLJ Applet Translation, testing, and packaging of this demo is described in AppletOracle.readme.

This applet requires a browser with the Java plug-in (http://java.sun.com/products/plugin). Important: before starting your browser, ensure that your CLASSPATH is empty.

This applet requires the Oracle-specific runtime and Oracle profile customization.

This applet connects to the `scott/tiger` schema and displays the `EMP` table.
You can delete entries in `EMP`, however your changes are not committed to the database.
You must add a `#sql { COMMIT };` line in AppletOracle.sqlj if you want to change this behavior.