JAVA

In this section you will find sample codes for the Java programming language. Sunsīs Java TM 2 Platform, Standard Edition is well prepared for Networking and the following packages provide Developer powerful Classes to integrate different types of Networking functionalities into the application:

- java.net

- javax.net

- javax.net.ssl

Detailed explanations can be found at the Sun's API Documentation

The packages javax.net and javax.net.ssl are part of the Sun's Java Secure Socket Extension (JSSE) and are required for implementing SSL Connections in the sample code.

JSSE has been integrated into the Java 2 SDK, Standard Edition, v 1.4.

JSSE 1.0.3_02, is an optional package to the Java 2 SDK, versions 1.2.x and 1.3.x.

Working with Java Sample Code

You will find two different Java source code examples for connecting to UPS:

  • a URL Connection
  • a Socket Connection
  •  

    Copyright © 2003 United Parcel Service Deutschland Inc. & Co. OHG