How to develop a client-server seat booking program via java socket programming?

There's a lot of logic involved in building a seat booking application compared to a simple "echo console.

There's a lot of logic involved in building a seat booking application compared to a simple "echo console". I would suggest that you first write the entire application uses two "top level" classes instantiated from main - a client and a server. Have them send objects (or strings) to one another for requests and responses.

Once you have that tried and tested (and backed up! ), try and replace the messages they send to one another with sockets based on the examples you saw in class or in the sample files. The java tutorial has almost all the examples you would need as well.

Once all this is done, separate the client and the server into separate mains() and get it to work with two processes.

This is how I taught myself Socket programming. Take a look at that tutorial. It will help you a bunch.

Thks mate was helpful – Haxed May 28 '10 at 3:26.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions