This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Sockets and Internet Protocols and the fly likes Java Socket Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Java Socket" Watch "Java Socket" New topic
Author

Java Socket

Marina JOSEPH
Greenhorn

Joined: Feb 20, 2004
Posts: 16
for example,
In a Company named ABC have many clients. When the client requests to the webserver and he response to the client.
Then the client can access some data from his account.
All the data are stored in another Server. When the client can access his account, he request to the server to itsown port 1000 (store area server) and he response to the client request.
then after the response the client can access and or see the all the details about it.

Client request-> Webserver --Client request-> Data Server port 1000
<-response <-Server response
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 9136
    
    9

Take a look at the Custom Networking trail of the Java Tutorial. It explains how to use sockets and Java IO classes to accomplish exactly this sort of thing. Of course, you mention a web server, do you want to use Servlets?


[How To Ask Questions On JavaRanch]
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Java Socket
 
jQuery in Action, 3rd edition