I have read a course at the university about Distributed system so I have a basic understanding about distributed system and algorithms. But now I want to knowhow such a system is implemented using J2EE, and specifilly using the spring framework and Hibernate.
My idea of a distributed system (a server cluster) is that you have a number of serversand on each server you have a database (a replica) and a server application (in this case that would be the spring aplication) the frontend (i.e. client application) connects to one of the servers, which one is done by some load balancing (could be done in hardware i think).
The client interacts with the server apllication and the server application updates the databse, this would lead to that all other database replicas also are updated, so that when another clientconnects to and inteacts with another server apllication it has the latest information to work with.
I have tired to understand how this works in J2EE, spring framework with Hibernate, and _I have found references to JNDIor something like that but still I donthave a clear picture of how this is done with J2EE, or the spring framework. Could anyone care to enlighen me?
And also where can I find information on how to have a spring application avalible on the net but not throught the http protocol but rather a custom made protocol over TCP/IP?