Hi!
i am trying to create framework/library /API for creating small multiuser games, in which the goal is to achieve 'decoupling' between the server, client and business logic.
The server in my case is kind of registering the clients and sent that list to business logic, clients are registering with the server, and the business logic do the game logic stuff and updates the client by getting the list of client from server.
But currently, i have only one class, so its trivial but this could consist of several game objects (and what would be the role of classes serialized/remote like the game engine, player, score, move, board). i decided to use the RMI for this and this will definitely use callback mechanism can somebody told me.
How could i achieve this encorporating all the requirement of server updating clients (callbacks).
PS:i m currently working on the design, which has one remote/serialized object for handling gamelogic but i wanted to use other classes as i mentioned for sake of making multiuser game library and to show the use of important classes in it as an example.
thanks a lot
jibby