Chapter 6. Networking: The Generic Connection Framework

IN THIS CHAPTER

For the Java 2 Standard Edition, the classes for handling network connections are located in the java.net package. This package contains a lot of different classes. It includes at least one class for each type of connection, such as socket connections, HTTP connections, datagram connections, and server sockets. It also contains many support classes, for instance classes for handling URLs or decoding Internet addresses. In sum, the java.net package includes more than 20 classes, interfaces, and exception classes.

The huge amount of classes and interfaces that is needed to support network capabilities would ...

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.