socket programming


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 5 of 5

Thread: socket programming

  1. #1
    Join Date
    Jun 2005
    Posts
    12

    socket programming

    Hi,
    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.
    From,
    Vinod A.

  2. #2
    Join Date
    Dec 2003
    Location
    tx/us
    Posts
    131
    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.

  3. #3
    Join Date
    Jun 2005
    Posts
    12

    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.

  4. #4
    Join Date
    Dec 2003
    Location
    tx/us
    Posts
    131
    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.

  5. #5
    Join Date
    Jun 2005
    Posts
    12

    thank u

    thank you for the advice.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center