In the real world, you are probably much more likely to be writing network client code than network server code. Many applications integrate both client and server features, and fortunately Java provides excellent support for both.
The java.net package provides the functionality for server-side networking that we will use in this chapter.
J2EE, which is not covered in this book, offers many more network-based services, including full support for server-side Java web development. Network-related technologies included in J2EE include servlets, EJB, and JMS.