Re: [Jinyan-devs] Java developer for a chess server
Status: Pre-Alpha
Brought to you by:
bodia
|
From: <bv...@gm...> - 2009-03-21 17:44:15
|
Hi Shashwat, I've looked at MINA. Yeah, it looks extremely suitable. Also, there are not much to rewrite in server. Can you add MINA instead of current java.net.ServerSocket implementation? CommandsHandler class will be the protocol handler. I also think a codec could be added to provide conventions between XMLElements and their text representation in the protocol e.g. Client XMLElement -> Text -> Server XMLElement and via versa. Make only the skeleton, because I'm not sure now what to do with ClientConnection class. Meanwhile, I will try to do the same with the client program. Bogdan 2009/3/20, shashwat gupta <sha...@gm...>: > Hi Bogdan, > I myself play regularly on www.chess.com . > The main feature that lag there is the network disconnection.You lost the > game if you are disconnected from the server even for one time. > I have not played on other portals yet. > > One thing which I would to ask is, you are using java.net.ServerSocket for > listening to incoming connections.Cant we use something like Apache MINA > for > this.It has lots of in build functionalities for session handling. > > Thanks, > Shashwat > |