Server Architecture (How To)
Hi,
Basically I am new to building server applications and I was wondering whether there are any good books that can show good design patterns that can be used when building a server application.
I am mostly interested in building a server for online reservation systems. I thought of this scenario since I believe it is one of the most complicated.
Basically the server (in this scenario) can have multiple client connects. Once connected the clients would REQUEST data from the server and the server would RESPOND back with the appropriate data.
This may seem like a web server could do it. However, I want to keep the connection ALIVE between the client and server so that the server can still send other RESPONSES to that client in case the data first transmitted changes.
For example a Client_A could REQUEST data about a particular flight and the server would RESPOND by sending an xml file with all the available seats. Then Client_B connects to the server and makes a REQUEST to book one of those seats. The server would thus send a RESPONSE to Client_B to confirm that the seat has been booked, and another RESPONSE to Client_A to inform it about the change (most probably send the whole xml file again).
I thought about some ideas on how to develop such a server application. The first way is to develop a traditional server application (in which case I will need some books to learn how to build such an architecture).
The other option I thought of (I hope someone will keep reading after this point) is to actually get a Web Service Application Server and modify it so that it can keep connections ALIVE. This would mean that I could deploy the server business logic still as some Web Service.
I feel stupid writing these things and it is all because of lack of experience. I know that applications like the one I mentioned already exist but cannot understand from were I can find resources to understand how they work!
Thanks and Regards,
Sim085

