Networking and web services 167

6.1 An overview of networking 169

Networking basics 169 ■ Clients and servers 171

6.2 Checking the network status 172

6.3 Communicating with a server socket 173

6.4 Working with HTTP 176

Simple HTTP and java.net 177 ■ Robust HTTP with HttpClient 179 Creating an HTTP and HTTPS helper 181

6.5 Web services 186

POX—Putting it together with HTTP and XML 187 ■ REST 189 To SOAP or not to SOAP, that is the question 193

6.6 Summary 194

0 0

Post a comment