What does a server do?

What java technologies should be used on remote server?

  • I am developing a web game, where users connect to web server, but the game logic is done by game servers. And there are also the db servers of course. Web server can connect to game server and get needed data then redirect client to it and then client connects to game server to send/get needed data. Also Game server can get data from DB server. The questions is that I am using Java EE on Web server and I want to use Java as well on game server. What should I use on Game server as a server-software? Also, using what Java technologies should I implement the game logic and communication between servers? In comparison with Web server there I can use Servlets, JPA etc. However, such application is ran by Tomcat server using HTTP protocol. I can use the HTTP server on the Game server as well but not sure if it is a right solution for handling connections between web server and between clients.

  • Answer:

    Look at this project called Netty. You can build servers tailored to various protocols.

Anil Saldanha at Quora Visit the source

Was this solution helpful to you?

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.