Results 1 to 4 of 4
  1. #1
    rendy.dev is offline Member
    Join Date
    Jan 2010
    Posts
    4
    Rep Power
    0

    Default The concept of Server and Client

    I hope someone can answer this question for me.

    What is the difference between a server and a client? Let's say I want to create a java app that works as a service on and user's system. A service without any user interface. On the other hand I have a web portal that calls this service.

    Which should be the server and which should be the client. Or it does not matter?

    What the java app and web portal suppose to do. Data sync via XML between a portal USB device and the web portal.

    Thanks!

  2. #2
    travishein's Avatar
    travishein is offline Senior Member
    Join Date
    Sep 2009
    Location
    Canada
    Posts
    684
    Rep Power
    5

    Default

    in the general internet, how would the web portal (deployed in a public URL) access the service on the user's desktop system, such as firewalls, private network numbers in the LAN where the user is.

    In this sense, I would think the service on the users's desktop should be a network 'client' to the web portal, where it would connect and pull commands down from the portal ?

  3. #3
    rendy.dev is offline Member
    Join Date
    Jan 2010
    Posts
    4
    Rep Power
    0

    Default

    So am I right to say that a client is the one that sends the command and consume the data provided by the server?

    On the other hand here is a related question. Can a client push data to the server? So there is a two way communication send and received via the client and server relationship. I guess this can be achieve via a server side API?

  4. #4
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,751
    Rep Power
    19

    Default

    Yes. Just think of http. Your browser (the client) sends data to the web server, and receives stuff back. Most client/server interaction is like that.

Similar Threads

  1. Replies: 3
    Last Post: 07-29-2009, 04:52 AM
  2. Client server
    By yash in forum Networking
    Replies: 9
    Last Post: 01-04-2009, 04:33 PM
  3. client-server app
    By shwein in forum Networking
    Replies: 3
    Last Post: 10-14-2008, 05:20 PM
  4. Replies: 1
    Last Post: 10-05-2008, 03:12 PM
  5. Identify Client in Socket Client Server Application
    By masadjie in forum Networking
    Replies: 1
    Last Post: 12-20-2007, 09:18 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •