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.
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL