I wish to do a simple online poker game in java. Shall I write the code throgh socket programming? Is there any need to create a server through socket?(becuase I wish to implement this on a remote host). If I create a server, How will I run it remotely?Should I use the remote server instead of server program created by me?
I have experience in PHP programming. Also I have created simple chat programs run on My school's LAN. Shall I use remote Tomcat server for this purpose?
Shall I use servlet or JSP instead of socket programming.
Please help me.
Thanking in advance.
If you've got a Java server like Tomcat available then I'd recommend you develop the game as an app to run there using JSPs and servlets as the interface. That way you can forget about the whole network layer.
One more thing...
I wish to run the game like a yahoo messenger. Download it from the site,a nd install it on user system and play online with other remote player.
Can I connect my desktop application to remote server throgh servlet or JSP.
Sure. In that case you could just use servlets as the interface, no JSPs required. You'd also have the option of writing it as an applet because it would be able to run by connecting back to the server that it came from.
thank you for the advice.
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center