Java network programming and distributed computing


    • Reilly, David
    • Reilly, Michael


Java network programming and distributed computing

David Reilly and Michael Reilly

Addison-Wesley, c2002

大学図書館所蔵 件 / 5




Java's rich, comprehensive networking interfaces make it an ideal platform for building today's networked, Internet-centered applications, components, and Web services. Now, two Java networking experts demystify Java's complex networking API, giving developers practical insight into the key techniques of network development, and providing extensive code examples that show exactly how it's done. David and Michael Reilly begin by reviewing fundamental Internet architecture and TCP/IP protocol concepts all network programmers need to understand, as well as general Java features and techniques that are especially important in network programming, such as exception handling and input/output. Using practical examples, they show how to write clients and servers using UDP and TCP; how to build multithreaded network applications; and how to utilize HTTP and access the Web using Java. The book includes detailed coverage of server-side application development; distributed computing development with RMI and CORBA; and email-enabling applications with the powerful JavaMail API. For all beginning to intermediate Java programmers, network programmers who need to learn to work with Java.


Preface. Acknowledgments. 1. Networking Theory. What Is a Network? How Do Networks Communicate? Communication across Layers. Advantages of Layering. Internet Architecture. Internet Application Protocols. TCP/IP Protocol Suite Layers. Security Issues: Firewalls and Proxy Servers. Summary. 2. Java Overview. What Is Java? The Java Programming Language. The Java Platform. The Java Application Program Interface. Java Networking Considerations. Applications of Java Network Programming. Java Language Issues. System Properties. Development Tools. Summary. 3. Internet Addressing. Local Area Network Addresses. Internet Protocol Addresses. Beyond IP Addresses: The Domain Name System. Internet Addressing with Java. Summary. 4. Data Streams. Overview. How Streams Work. Filter Streams. Readers and Writers. Object Persistence and Object Serialization. Summary. 5. User Datagram Protocol. Overview. DatagramPacket Class. DatagramSocket Class. Listening for UDP Packets. Sending UDP Packets. User Datagram Protocol Example. Building a UDP Client/Server. Additional Information on UDP. Summary. 6. Transmission Control Protocol. Overview. TCP and the Client/Server Paradigm. TCP Sockets and Java. Socket Class. Creating a TCP Client. ServerSocket Class. Creating a TCP Server. Exception Handling: Socket Specific Exceptions. Summary. 7. Multi-threaded Applications. Overview. Multi-threading in Java. Synchronization. Interthread Communication. Thread Groups. Thread Priorities. Summary. 8. Implementing Application Protocols. Overview. Application Protocol Specifications. Application Protocols Implementation. Summary. 9. HyperText Transfer Protocol. Overview. HTTP and Java. The Common Gateway Interface (CGI). Summary. 10. Java Servlets. Overview. How Servlets Work. Using Servlets. Running Servlets. Writing a Simple Servlet. SingleThreadModel. ServletRequest and HttpServletRequest. ServletResponse and Http Response. ServletConfig. ServletContext. Servlet Exceptions. Cookies. HTTP Session Management in Servlets. Summary. 11. Remote Method Invocation (RMI). Overview. How Does Remote Method Invocation Work? Defining an RMI Service Interface. Implementing an RMI Service Interface. Creating Stub and Skeleton Classes. Creating an RMI Server. Creating an RMI Client. Running the RMI System. Remote Method Invocation Packages and Classes. Remote Method Invocation Deployment Issues. Using Remote Method Invocation to Implement Callbacks. Remote Object Activation. Summary. 12. Java IDL and CORBA. Overview. Architectural View of CORBA. Interface Definition Language (IDL). From IDL to Java. Summary. 13. JavaMail. Overview. Installing the JavaMail API. Testing the JavaMail Installation. Working with the JavaMail API. Advanced Messaging with JavaMail. Summary. Index. 0201710374T03292002

「Nielsen BookData」 より