"Java™ Network Programming and Distributed Computing "is an accessible introduction to the changing face of networking theory, Java™ technology, and the fundamental elements of the Java networking API. With the explosive growth of the Internet, Web applications, and Web services, the majority of today’ s programs and applications require some form of networking. Because it was created with extensive networking features, the Java programming language is uniquely suited for network programming and distributed computing.
Whether you are a Java devotee who needs a solid working knowledge of network programming or a network programmer needing to apply your existing skills to Java, this how-to guide is the one book you will want to keep close at hand. You will learn the basic concepts involved with networking and the practical application of the skills necessary to be an effective Java network programmer. An accelerated guide to networking API, "Java™ Network Programming and Distributed Computing" also serves as a comprehensive, example-rich reference.
You will learn to maximize the API structure through in-depth coverage of:
The architecture of the Internet and TCP/IP Java’ s input/output system How to write to clients and servers using the User Datagram Protocol (UDP) and TCPThe advantages of multi-threaded applicationsHow to implement network protocols and see examples of client/server implementationsHTTP and how to write server-side Java applications for the WebDistributed computing technologies such as Remote Method Invocation (RMI) and CORBAHow to access e-mail using the extensive and powerful JavaMail™ API
This book’ s coverageof advanced topics such as input/output streaming and multi-threading allows even the most experienced Java developers to sharpen their skills. "Java™ Network Programming and Distributed Computing" will get you up-to-speed with network programming today; helping you employ innovative techniques in your own software development projects.
The companion Web site, http: //www.davidreilly.com/jnpbook, offers downloadable source code, a list of FAQs about Java networking, and useful links to networking resources.
0201710374B03012002
"Java™ Network Programming and Distributed Computing "is an accessible introduction to the changing face of networking theory, Java™ technology, and the fundamental elements of the Java networking API. With the explosive growth of the Internet, Web applications, and Web services, the majority of today’ s programs and applications require some form of networking. Because it was created with extensive networking features, the Java programming language is uniquely suited for network programming and distributed computing.
Whether you are a Java devotee who needs a solid working knowledge of network programming or a network programmer needing to apply your existing skills to Java, this how-to guide is the one book you will want to keep close at hand. You will learn the basic concepts involved with networking and the practical application of the skills necessary to be an effective Java network programmer. An accelerated guide to networking API, "Java™ Network Programming and Distributed Computing" also serves as a comprehensive, example-rich reference.
You will learn to maximize the API structure through in-depth coverage of:
The architecture of the Internet and TCP/IP Java’ s input/output system How to write to clients and servers using the User Datagram Protocol (UDP) and TCPThe advantages of multi-threaded applicationsHow to implement network protocols and see examples of client/server implementationsHTTP and how to write server-side Java applications for the WebDistributed computing technologies such as Remote Method Invocation (RMI) and CORBAHow to access e-mail using the extensive and powerful JavaMail™ API
This book’ s coverageof advanced topics such as input/output streaming and multi-threading allows even the most experienced Java developers to sharpen their skills. "Java™ Network Programming and Distributed Computing" will get you up-to-speed with network programming today; helping you employ innovative techniques in your own software development projects.
The companion Web site, http: //www.davidreilly.com/jnpbook, offers downloadable source code, a list of FAQs about Java networking, and useful links to networking resources.
0201710374B03012002
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
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.
David Reilly is a SunaA A -certified Java programmer and author of the Java Network Programming FAQ. He writes frequently for Java publications and holds a BA in Software Engineering from Bond University, Queensland, Australia. David is also the editor of the Java Coffee Break online publication. Michael Reilly is a software engineer and network programmer working in Brisbane, Australia. He holds a BA in Computer Science from Bond University. 0201710374AB03012002
![]() |
Ask a Question About this Product More... |
![]() |