Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 4 of 4

Thread: The concept of Server and Client

  1. #1
    Junior Member
    Join Date
    Jan 2010
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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
    Super Moderator helloworld922's Avatar
    Join Date
    Jun 2009
    Posts
    2,896
    Thanks
    23
    Thanked 619 Times in 561 Posts
    Blog Entries
    18

    Default Re: The concept of Server and Client

    A server is a computer that has information/data on it. A client is a computer that passes certain parameters to the server so it can get the correct data back.

  3. #3
    Junior Member
    Join Date
    Jan 2010
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: The concept of Server and Client

    Quote Originally Posted by helloworld922 View Post
    A server is a computer that has information/data on it. A client is a computer that passes certain parameters to the server so it can get the correct data back.
    In this case information is two ways. But it will always start will pulling the data from the device updates the web portal and then writes it back to device. So which is the server and which is the client. If the desktop app is a server that acts as a service will there will any security implications and note I am passing data via XML.

  4. #4
    Junior Member
    Join Date
    Jan 2010
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: The concept of Server and Client

    I have decided to go with the new adobe air 2. It provides everything I need.
    1. detect USB devices
    2. creating a socket server, allowing inter-application communication

Similar Threads

  1. client server program on a single machine
    By subhopam in forum Java Networking
    Replies: 1
    Last Post: December 16th, 2009, 02:02 PM
  2. Replies: 0
    Last Post: December 12th, 2009, 10:09 PM
  3. Simple server-client trouble
    By DC200 in forum Java Networking
    Replies: 3
    Last Post: November 12th, 2009, 08:16 AM
  4. Download a file to client from server
    By mvittalreddy in forum Java Networking
    Replies: 4
    Last Post: October 5th, 2009, 04:23 AM
  5. instead of printing in the client, report get printed in the server
    By jmvenkat in forum Java Theory & Questions
    Replies: 0
    Last Post: September 19th, 2009, 01:30 AM

Tags for this Thread