Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am making an 2D multiplayer game in Java project, by using Java sockets and simple java.applet.*

Our teacher told us to use J2EE concepts in the project. Do I have to use JSP? Is it better or more employable in game development?

Am I doing the correct thing?

share|improve this question
Perhaps you should ask your teacher? – Tetrad Mar 29 '12 at 18:43
she said that we can do scripting with javascript, said something about servlets and was vague... – ameya Mar 31 '12 at 6:14

Java applets are used for embedding Java applications in web pages. You should create an applet if, and only if, you are intending to do that — to provide your users a GUI written in Java which requires them to have a JRE installed on their computer.

From your other descriptions, it sounds like you are supposed to be making a web app — the game logic resides on your web server, and the interface is implemented in HTML and JavaScript. There are no applets involved here. This generally results in a more widely compatible and faster-loading interface. However, the HTTP request/response model means that it is more complex to build simple interactive interfaces robustly.

Personally, I would recommend reading up on the architecture of web applications before attempting to write one which is a game.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.