JAVA applet converting to web application
I have a applet witch enables to play Hangman. Now i want to create web application with this game code. What is the easiest way to perform this action and开发者_StackOverflow中文版 what tools or platforms is best for this solution?
If the Applet code is well written you should already have a separation in Model, View and Controller and the business code (the "AI"). To convert to a webapplication (I assume you're still talking in Java context and thus are targeting on JSP/Servlet?), you basically only need to replace the Applet Controller by a Servlet based one and the Swing/AWT based View by a JSP (HTML/CSS/JS) based one.
As per the comments it look like you're completely new to web development. I suggest you to get yourself through the following links:
- Where to start from in Web Development?
- Java Web Development, what Skills do I need?
- What is the difference between JSP, Servlet and JSF?
精彩评论