MIDP 2.0 Additions to the javax.microedition.io Package

The Generic Connection Framework is extended by MIDP 2.0 with the following interfaces and classes:

  • the HTTPSConnection interface supporting secure HTTP connections.

  • the PushListener interface that needs to be used together with the new PushRegistry class.

  • the SecureConnection in order to establish SSL or TLS connections.

  • the SecurityInfo interface.

  • the ServerSocketConnection interface, which has already been described in this chapter, is mandatory for MIDP 2.0.

  • the UDPDatagramConnection interface that is derived from DatagramConnection.

The UDPDatagramConnection interface is derived from DatagramConnection and adds two new methods to retrieve information about the local machine such as String ...

Get Java™ 2 Micro Edition Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.