Jump to content

Networking

From Wikibooks, open books for an open world

Navigate Advanced topic: v  d  e )

Prior to modern networking solutions there existed workstations that were connected to a massive Mainframe computer that was solely responsible for memory management, processes and almost everything. The workstations would just render the information sent in from the Mainframe console.

But in the mid 90's, with the prices of Unix servers dropping, the trend was moving away from Mainframe computing toward Client-Server computing. This would enable rich Clients to be developed on workstations while they would communicate with a centralized server, serving computers connected to it, to either communicate with other workstations also connected to it or it would request for database access or business logic stored on the server itself. The workstations were called Clients.

This form of computing gave rise to the notion of the Front-end and Back-end programming. In it's hey-day, Java came up with different ways of making networking between computers possible. In this chapter, we would be looking at some of these ways. Listed below are two of the frameworks that Java uses to enable network programming. We would be exploring both of these in this chapter.

Client-Server programming

[edit | edit source]
  1. 0% developed  as of Sep 22, 2007 Networking basics
  2. 0% developed  as of Sep 22, 2007 Creating a simple server
  3. 0% developed  as of Sep 22, 2007 Listening for clients
  4. 0% developed  as of Sep 22, 2007 Creating a client to interact with the server
  5. 0% developed  as of Sep 22, 2007 Sending information over a network
  6. 0% developed  as of Sep 22, 2007 Building complex carriage routines

Remote Method Invocation (RMI)

[edit | edit source]
  1. 0% developed  as of Sep 22, 2007 Basics of Remote Method Invocation
  2. 0% developed  as of Sep 22, 2007 Of stubs and proxies