Java Network Programming. Developing Networked Applications. 4th Edition

- Autor:
- Elliotte Rusty Harold
- Promocja Przejdź


- Ocena:
- Bądź pierwszym, który oceni tę książkę
- Stron:
- 506
- Dostępne formaty:
-
ePubMobi
Opis książki: Java Network Programming. Developing Networked Applications. 4th Edition
This practical guide provides a complete introduction to developing network programs with Java. You’ll learn how to use Java’s network class library to quickly and easily accomplish common networking tasks such as writing multithreaded servers, encrypting communications, broadcasting to the local network, and posting data to server-side programs.
Author Elliotte Rusty Harold provides complete working programs to illustrate the methods and classes he describes. This thoroughly revised fourth edition covers REST, SPDY, asynchronous I/O, and many other recent technologies.
- Explore protocols that underlie the Internet, such as TCP/IP and UDP/IP
- Learn how Java’s core I/O API handles network input and output
- Discover how the InetAddress class helps Java programs interact with DNS
- Locate, identify, and download network resources with Java’s URI and URL classes
- Dive deep into the HTTP protocol, including REST, HTTP headers, and cookies
- Write servers and network clients, using Java’s low-level socket classes
- Manage many connections at the same time with the nonblocking I/O
Wybrane bestsellery
-
Ta książka jest kolejnym, zaktualizowanym i uzupełnionym wydaniem kultowego podręcznika dla profesjonalnych programistów Javy. To pierwszy tom, w którym opisano podstawy języka i najważniejsze zagadnienia związane z programowaniem interfejsu użytkownika, a także kolekcje, wyrażenia lambda, techni...(0,00 zł najniższa cena z 30 dni)
90.30 zł
129.00 zł(-30%) -
Znalezienie odpowiedzi na zaprzątające umysł pytania z zakresu automatyzacji zwykle wiąże się ze spędzeniem długich godzin na wertowaniu niespójnej dokumentacji lub przeszukiwaniu forum Atlassian Community, gdzie swoimi problemami (a także autorskimi pomysłami na ich rozwiązanie) dzielą się inni ...
Atlassian Jira Server & Data Center. Programowanie rozwiązań w projektach biznesowych Atlassian Jira Server & Data Center. Programowanie rozwiązań w projektach biznesowych
(0,00 zł najniższa cena z 30 dni)48.30 zł
69.00 zł(-30%) -
Paweł Zaręba, autor Praktycznych projektów sieciowych, od wielu lat związany z branżą IT i ICT, za namową swoich wiernych czytelników napisał drugą książkę. Tę wcześniejszą można traktować jako kompendium wiedzy na temat sieci komputerowych - Projekty i rozwiązania sieciowe w praktyce są niejako ...(0,00 zł najniższa cena z 30 dni)
48.30 zł
69.00 zł(-30%) -
Język Java jest konsekwentnie udoskonalany i unowocześniany dzięki zaangażowaniu wielu ludzi. Nowoczesny język Java staje się coraz bardziej wieloparadygmatowy, co oznacza, że stosowanie najlepszych praktyk w coraz większym stopniu determinuje jakość kodu. Obecnie napisanie kodu, który prawidłowo...(0,00 zł najniższa cena z 30 dni)
69.30 zł
99.00 zł(-30%) -
To dwunaste, rozszerzone wydanie znakomitego podręcznika do nauki Javy, w pełni przejrzane, poprawione i zaktualizowane (uwzględnia nowości wprowadzone w Javie SE 9, 10 i 11). Ułatwia zdobycie solidnych podstaw języka i płynne przejście do tworzenia programów służących do rozwiązywania konkretnyc...
Wprowadzenie do Javy. Programowanie i struktury danych. Wydanie XII Wprowadzenie do Javy. Programowanie i struktury danych. Wydanie XII
(0,00 zł najniższa cena z 30 dni)59.90 zł
199.00 zł(-70%) -
Ta książka jest ósmym wydaniem znakomitego podręcznika programowania dla początkujących, starannie zaktualizowanym i uzupełnionym o informacje dotyczące edycji 11. Zawiera podstawową wiedzę o kompilacji i uruchamianiu programu w Javie oraz o słowach kluczowych i istotnych konstrukcjach w tym języ...(0,00 zł najniższa cena z 30 dni)
69.30 zł
99.00 zł(-30%) -
To kolejne, uzupełnione i zaktualizowane wydanie przewodnika po frameworku Spring. Książka jest napisana w zwięzłym, przejrzystym i jasnym stylu, dzięki czemu szybko zrozumiesz zasady pracy ze Springiem i zbudujesz nowoczesną aplikację internetową współpracującą z bazą danych. Pokazano tu technik...(0,00 zł najniższa cena z 30 dni)
62.30 zł
89.00 zł(-30%) -
Czy da się połączyć świat rzeczywisty ze światem wirtualnym? Do niedawna na takie pytania odpowiadały twierdząco wyłącznie literatura i filmy SF. Obecnie jednak rozwój technologiczny sprawił, że przestało to być fikcją, a stało się wręcz elementem naszej codzienności. Mogą to być gry wykorzystują...
GNS3. Kurs video. Administruj wirtualną siecią komputerową GNS3. Kurs video. Administruj wirtualną siecią komputerową
(0,00 zł najniższa cena z 30 dni)367.50 zł
490.00 zł(-25%) -
Trudno wyobrazić sobie współczesny świat bez sieci komputerowych. Są obecne wszędzie i stają się coraz bardziej potrzebne, między innymi za sprawą rozwoju sieci komórkowych. Technologia 5G, internet rzeczy i inne wynalazki ułatwiające nasze codzienne funkcjonowanie wymagają coraz lepszych, szybsz...
Cisco CCNA 200-301. Kurs video. Podstawy sieci komputerowych i konfiguracji. Część 1 Cisco CCNA 200-301. Kurs video. Podstawy sieci komputerowych i konfiguracji. Część 1
(0,00 zł najniższa cena z 30 dni)592.50 zł
790.00 zł(-25%) -
Ta książka jest jedenastym wydaniem wyczerpującego kompendium programisty Javy, w pełni zaktualizowanym, uzupełnionym o nowości wprowadzone w Java SE 11. Opisuje język kompleksowo: jego składnię, słowa kluczowe oraz najistotniejsze zasady programowania. Zawiera także informacje o najważniejszych ...(0,00 zł najniższa cena z 30 dni)
139.30 zł
199.00 zł(-30%)
Elliotte Rusty Harold - pozostałe książki
-
Send and receive email from Java applications by using the JavaMail API. With this concise book, you’ll learn how to communicate with existing SMTP, POP, and IMAP servers, and how to write your own.Whether you need to build an email-centric application like a mailing list manager or simply ...
JavaMail API. Sending and Receiving Email with Java JavaMail API. Sending and Receiving Email with Java
(29.90 zł najniższa cena z 30 dni)46.74 zł
54.99 zł(-15%) -
All of Java's Input/Output (I/O) facilities are based on streams, which provide simple ways to read and write data of different types. Java provides many different kinds of streams, each with its own application. The universe of streams is divided into four largecategories: input streams and outp...(29.90 zł najniższa cena z 30 dni)
186.15 zł
219.00 zł(-15%) -
The new third edition of this highly regarded introduction to Java networking programming has been thoroughly revised to cover all of the 100+ significant updates to Java Developers Kit (JDK) 1.5. It is a clear, complete introduction to developing network programs (both applets and applications)...(29.90 zł najniższa cena z 30 dni)
126.65 zł
149.00 zł(-15%) -
If you're a developer working with XML, you know there's a lot to know about XML, and the XML space is evolving almost moment by moment. But you don't need to commit every XML syntax, API, or XSLT transformation to memory; you only need to know where to find it. And if it's a detail that has to ...(29.90 zł najniższa cena z 30 dni)
143.65 zł
169.00 zł(-15%)
Ebooka przeczytasz na:
-
czytnikach Inkbook, Kindle, Pocketbook i innych
-
systemach Windows, MacOS i innych
-
systemach Windows, Android, iOS, HarmonyOS
-
na dowolnych urządzeniach i aplikacjach obsługujących formaty: PDF, EPub, Mobi
Masz pytania? Zajrzyj do zakładki Pomoc »
Audiobooka posłuchasz:
-
w aplikacji Ebookpoint na Android, iOS, HarmonyOs
-
na systemach Windows, MacOS i innych
-
na dowolonych urządzeniach i aplikacjach obsługujących format MP3 (pliki spakowane w ZIP)
Masz pytania? Zajrzyj do zakładki Pomoc »
Kurs Video zobaczysz:
-
w aplikacji Ebookpoint na Android, iOS, HarmonyOs
-
na systemach Windows, MacOS i innych
-
na dowolonych urządzeniach i aplikacjach obsługujących format MP4 (pliki spakowane w ZIP)
Szczegóły książki
- ISBN Ebooka:
- 978-14-493-6595-0, 9781449365950
- Data wydania ebooka:
-
2013-10-04
Data wydania ebooka często jest dniem wprowadzenia tytułu do sprzedaży i może nie być równoznaczna z datą wydania książki papierowej. Dodatkowe informacje możesz znaleźć w darmowym fragmencie. Jeśli masz wątpliwości skontaktuj się z nami sklep@helion.pl.
- Język publikacji:
- angielski
- Rozmiar pliku ePub:
- 3.0MB
- Rozmiar pliku Mobi:
- 8.4MB
- Kategorie:
Programowanie » Java - Programowanie
Sieci komputerowe » Konfiguracja sieci
Spis treści książki
- Java Network Programming
- Dedication
- Preface
- About the Fourth Edition
- Organization of the Book
- Who You Are
- Java Versions
- About the Examples
- Conventions Used in This Book
- Request for Comments
- Using Code Examples
- Safari Books Online
- How to Contact Us
- Acknowledgments
- 1. Basic Network Concepts
- Networks
- The Layers of a Network
- The Host-to-Network Layer
- The Internet Layer
- The Transport Layer
- The Application Layer
- IP, TCP, and UDP
- IP Addresses and Domain Names
- Ports
- The Internet
- Internet Address Blocks
- Network Address Translation
- Firewalls
- Proxy Servers
- The Client/Server Model
- Internet Standards
- IETF RFCs
- W3C Recommendations
- 2. Streams
- Output Streams
- Input Streams
- Marking and Resetting
- Filter Streams
- Chaining Filters Together
- Buffered Streams
- PrintStream
- Data Streams
- Readers and Writers
- Writers
- OutputStreamWriter
- Readers
- Filter Readers and Writers
- PrintWriter
- 3. Threads
- Running Threads
- Subclassing Thread
- Implementing the Runnable Interface
- Running Threads
- Returning Information from a Thread
- Race Conditions
- Polling
- Callbacks
- Futures, Callables, and Executors
- Synchronization
- Synchronized Blocks
- Synchronized Methods
- Alternatives to Synchronization
- Deadlock
- Thread Scheduling
- Priorities
- Preemption
- Blocking
- Yielding
- Sleeping
- Joining threads
- Waiting on an object
- Finish
- Thread Pools and Executors
- 4. Internet Addresses
- The InetAddress Class
- Creating New InetAddress Objects
- Caching
- Lookups by IP address
- Security issues
- Creating New InetAddress Objects
- Getter Methods
- Address Types
- Testing Reachability
- Object Methods
- The InetAddress Class
- Inet4Address and Inet6Address
- The NetworkInterface Class
- Factory Methods
- public static NetworkInterface getByName(String name) throws SocketException
- public static NetworkInterface getByInetAddress(InetAddress address) throws SocketException
- public static Enumeration getNetworkInterfaces() throws SocketException
- Factory Methods
- Getter Methods
- public Enumeration getInetAddresses()
- public String getName()
- public String getDisplayName()
- Some Useful Programs
- SpamCheck
- Processing Web Server Logfiles
- 5. URLs and URIs
- URIs
- URLs
- Relative URLs
- URIs
- The URL Class
- Creating New URLs
- Constructing a URL from a string
- Constructing a URL from its component parts
- Constructing relative URLs
- Other sources of URL objects
- Creating New URLs
- Retrieving Data from a URL
- public final InputStream openStream() throws IOException
- public URLConnection openConnection() throws IOException
- public final Object getContent() throws IOException
- public final Object getContent(Class[] classes) throws IOException
- Splitting a URL into Pieces
- public String getProtocol()
- public String getHost()
- public int getPort()
- public int getDefaultPort()
- public String getFile()
- public String getPath()
- public String getRef()
- public String getQuery()
- public String getUserInfo()
- public String getAuthority()
- Equality and Comparison
- Conversion
- The URI Class
- Constructing a URI
- The Parts of the URI
- Resolving Relative URIs
- Equality and Comparison
- String Representations
- x-www-form-urlencoded
- URLEncoder
- URLDecoder
- Proxies
- System Properties
- The Proxy Class
- The ProxySelector Class
- Communicating with Server-Side Programs Through GET
- Accessing Password-Protected Sites
- The Authenticator Class
- The PasswordAuthentication Class
- The JPasswordField Class
- 6. HTTP
- The Protocol
- Keep-Alive
- The Protocol
- HTTP Methods
- The Request Body
- Cookies
- CookieManager
- CookieStore
- 7. URLConnections
- Opening URLConnections
- Reading Data from a Server
- Reading the Header
- Retrieving Specific Header Fields
- public String getContentType()
- public int getContentLength()
- public String getContentEncoding()
- public long getDate()
- public long getExpiration()
- public long getLastModified()
- Retrieving Specific Header Fields
- Retrieving Arbitrary Header Fields
- public String getHeaderField(String name)
- public String getHeaderFieldKey(int n)
- public String getHeaderField(int n)
- public long getHeaderFieldDate(String name, long default)
- public int getHeaderFieldInt(String name, int default)
- Caches
- Web Cache for Java
- Configuring the Connection
- protected URL url
- protected boolean connected
- protected boolean allowUserInteraction
- protected boolean doInput
- protected boolean doOutput
- protected boolean ifModifiedSince
- protected boolean useCaches
- Timeouts
- Configuring the Client Request HTTP Header
- Writing Data to a Server
- Security Considerations for URLConnections
- Guessing MIME Media Types
- HttpURLConnection
- The Request Method
- HEAD
- DELETE
- PUT
- OPTIONS
- TRACE
- The Request Method
- Disconnecting from the Server
- Handling Server Responses
- Error conditions
- Redirects
- Proxies
- Streaming Mode
- 8. Sockets for Clients
- Using Sockets
- Investigating Protocols with Telnet
- Reading from Servers with Sockets
- Writing to Servers with Sockets
- Half-closed sockets
- Using Sockets
- Constructing and Connecting Sockets
- Basic Constructors
- Picking a Local Interface to Connect From
- Constructing Without Connecting
- Socket Addresses
- Proxy Servers
- Getting Information About a Socket
- Closed or Connected?
- toString()
- Setting Socket Options
- TCP_NODELAY
- SO_LINGER
- SO_TIMEOUT
- SO_RCVBUF and SO_SNDBUF
- SO_KEEPALIVE
- OOBINLINE
- SO_REUSEADDR
- IP_TOS Class of Service
- Socket Exceptions
- Sockets in GUI Applications
- Whois
- A Network Client Library
- 9. Sockets for Servers
- Using ServerSockets
- Serving Binary Data
- Multithreaded Servers
- Writing to Servers with Sockets
- Closing Server Sockets
- Using ServerSockets
- Logging
- What to Log
- How to Log
- Constructing Server Sockets
- Constructing Without Binding
- Getting Information About a Server Socket
- Socket Options
- SO_TIMEOUT
- SO_REUSEADDR
- SO_RCVBUF
- Class of Service
- HTTP Servers
- A Single-File Server
- A Redirector
- A Full-Fledged HTTP Server
- 10. Secure Sockets
- Secure Communications
- Creating Secure Client Sockets
- Choosing the Cipher Suites
- Event Handlers
- Session Management
- Client Mode
- Creating Secure Server Sockets
- Configuring SSLServerSockets
- Choosing the Cipher Suites
- Session Management
- Client Mode
- 11. Nonblocking I/O
- An Example Client
- An Example Server
- Buffers
- Creating Buffers
- Allocation
- Direct allocation
- Wrapping
- Creating Buffers
- Filling and Draining
- Bulk Methods
- Data Conversion
- View Buffers
- Compacting Buffers
- Duplicating Buffers
- Slicing Buffers
- Marking and Resetting
- Object Methods
- Channels
- SocketChannel
- Connecting
- Reading
- Writing
- Closing
- SocketChannel
- ServerSocketChannel
- Creating server socket channels
- Accepting connections
- The Channels Class
- Asynchronous Channels (Java 7)
- Socket Options (Java 7)
- Readiness Selection
- The Selector Class
- The SelectionKey Class
- 12. UDP
- The UDP Protocol
- UDP Clients
- UDP Servers
- The DatagramPacket Class
- The Constructors
- Constructors for receiving datagrams
- Constructors for sending datagrams
- The Constructors
- The get Methods
- public InetAddress getAddress()
- public int getPort()
- public SocketAddress getSocketAddress()
- public byte[] getData()
- public int getLength()
- public int getOffset()
- The setter Methods
- public void setData(byte[] data)
- public void setData(byte[] data, int offset, int length)
- public void setAddress(InetAddress remote)
- public void setPort(int port)
- public void setAddress(SocketAddress remote)
- public void setLength(int length)
- The DatagramSocket Class
- The Constructors
- public DatagramSocket() throws SocketException
- public DatagramSocket(int port) throws SocketException
- public DatagramSocket(int port, InetAddress interface) throws SocketException
- public DatagramSocket(SocketAddress interface) throws SocketException
- protected DatagramSocket(DatagramSocketImpl impl) throws SocketException
- The Constructors
- Sending and Receiving Datagrams
- public void send(DatagramPacket dp) throws IOException
- public void receive(DatagramPacket dp) throws IOException
- public void close()
- public int getLocalPort()
- public InetAddress getLocalAddress()
- public SocketAddress getLocalSocketAddress()
- Managing Connections
- public void connect(InetAddress host, int port)
- public void disconnect()
- public int getPort()
- public InetAddress getInetAddress()
- public InetAddress getRemoteSocketAddress()
- Socket Options
- SO_TIMEOUT
- SO_RCVBUF
- SO_SNDBUF
- SO_REUSEADDR
- SO_BROADCAST
- IP_TOS
- Some Useful Applications
- Simple UDP Clients
- UDPServer
- A UDP Echo Client
- DatagramChannel
- Using DatagramChannel
- Opening a socket
- Receiving
- Sending
- Connecting
- Reading
- Writing
- Closing
- Socket Options // Java 7
- Using DatagramChannel
- 13. IP Multicast
- Multicasting
- Multicast Addresses and Groups
- Clients and Servers
- Routers and Routing
- Multicasting
- Working with Multicast Sockets
- The Constructors
- Communicating with a Multicast Group
- Joining groups
- Leaving groups and closing the connection
- Sending multicast data
- Loopback mode
- Network interfaces
- Two Simple Examples
- Index
- Colophon
- Copyright
O'Reilly Media - inne książki
-
FinOps brings financial accountability to the variable spend model of cloud. Used by the majority of global enterprises, this management practice has grown from a fringe activity to the de facto discipline managing cloud spend. In this book, authors J.R. Storment and Mike Fuller outline the proce...(0,00 zł najniższa cena z 30 dni)
262.65 zł
309.00 zł(-15%) -
Edge AI is transforming the way computers interact with the real world, allowing IoT devices to make decisions using the 99% of sensor data that was previously discarded due to cost, bandwidth, or power limitations. With techniques like embedded machine learning, developers can capture human intu...(0,00 zł najniższa cena z 30 dni)
262.65 zł
309.00 zł(-15%) -
Why is it difficult for so many companies to get digital identity right? If you're still wrestling with even simple identity problems like modern website authentication, this practical book has the answers you need. Author Phil Windley provides conceptual frameworks to help you make sense of all ...(0,00 zł najniższa cena z 30 dni)
186.15 zł
219.00 zł(-15%) -
Python was recently ranked as today's most popular programming language on the TIOBE index, thanks to its broad applicability to design and prototyping to testing, deployment, and maintenance. With this updated fourth edition, you'll learn how to get the most out of Python, whether you're a profe...(0,00 zł najniższa cena z 30 dni)
305.15 zł
359.00 zł(-15%) -
With the accelerating speed of business and the increasing dependence on technology, companies today are significantly changing the way they build in-house business solutions. Many now use low-code and no code technologies to help them deal with specific issues, but that's just the beginning. Wit...
Building Solutions with the Microsoft Power Platform Building Solutions with the Microsoft Power Platform
(0,00 zł najniższa cena z 30 dni)262.65 zł
309.00 zł(-15%) -
Companies are scrambling to integrate AI into their systems and operations. But to build truly successful solutions, you need a firm grasp of the underlying mathematics. This accessible guide walks you through the math necessary to thrive in the AI field such as focusing on real-world application...(0,00 zł najniższa cena z 30 dni)
262.65 zł
309.00 zł(-15%) -
DevOps engineers, developers, and security engineers have ever-changing roles to play in today's cloud native world. In order to build secure and resilient applications, you have to be equipped with security knowledge. Enter security as code.In this book, authors BK Sarthak Das and Virginia Chu d...(0,00 zł najniższa cena z 30 dni)
186.15 zł
219.00 zł(-15%) -
With the increasing use of AI in high-stakes domains such as medicine, law, and defense, organizations spend a lot of time and money to make ML models trustworthy. Many books on the subject offer deep dives into theories and concepts. This guide provides a practical starting point to help develop...(0,00 zł najniższa cena z 30 dni)
262.65 zł
309.00 zł(-15%) -
Why are so many companies adopting GitOps for their DevOps and cloud native strategy? This reliable framework is quickly becoming the standard method for deploying apps to Kubernetes. With this practical, developer-oriented book, DevOps engineers, developers, IT architects, and SREs will learn th...(0,00 zł najniższa cena z 30 dni)
262.65 zł
309.00 zł(-15%) -
Learn the essentials of working with Flutter and Dart to build full stack applications that meet the needs of a cloud-driven world. Together, the Flutter open source UI software development kit and the Dart programming language for client development provide a unified solution to building applica...(0,00 zł najniższa cena z 30 dni)
220.15 zł
259.00 zł(-15%)
Dzieki opcji "Druk na żądanie" do sprzedaży wracają tytuły Grupy Helion, które cieszyły sie dużym zainteresowaniem, a których nakład został wyprzedany.
Dla naszych Czytelników wydrukowaliśmy dodatkową pulę egzemplarzy w technice druku cyfrowego.
Co powinieneś wiedzieć o usłudze "Druk na żądanie":
- usługa obejmuje tylko widoczną poniżej listę tytułów, którą na bieżąco aktualizujemy;
- cena książki może być wyższa od początkowej ceny detalicznej, co jest spowodowane kosztami druku cyfrowego (wyższymi niż koszty tradycyjnego druku offsetowego). Obowiązująca cena jest zawsze podawana na stronie WWW książki;
- zawartość książki wraz z dodatkami (płyta CD, DVD) odpowiada jej pierwotnemu wydaniu i jest w pełni komplementarna;
- usługa nie obejmuje książek w kolorze.
W przypadku usługi "Druk na żądanie" termin dostarczenia przesyłki może obejmować także czas potrzebny na dodruk (do 10 dni roboczych)
Masz pytanie o konkretny tytuł? Napisz do nas: sklep[at]helion.pl.
Książka, którą chcesz zamówić pochodzi z końcówki nakładu. Oznacza to, że mogą się pojawić drobne defekty (otarcia, rysy, zagięcia).
Co powinieneś wiedzieć o usłudze "Końcówka nakładu":
- usługa obejmuje tylko książki oznaczone tagiem "Końcówka nakładu";
- wady o których mowa powyżej nie podlegają reklamacji;
Masz pytanie o konkretny tytuł? Napisz do nas: sklep[at]helion.pl.


Oceny i opinie klientów: Java Network Programming. Developing Networked Applications. 4th Edition Elliotte Rusty Harold (0)
Weryfikacja opinii następuję na podstawie historii zamówień na koncie Użytkownika umieszczającego opinię. Użytkownik mógł otrzymać punkty za opublikowanie opinii uprawniające do uzyskania rabatu w ramach Programu Punktowego.