The moose likes Servlets and the fly likes Servlets or EJB ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlets or EJB ?" Watch "Servlets or EJB ?" New topic

Servlets or EJB ?

Alex Parvan
Ranch Hand

Joined: Dec 10, 2009
Posts: 115
How do you write games or any web application ? I'm just curious, if you want to use Java instead of PHP, you can use a servlet for login but what about the other things ? When you want to update the database with something the user inputs, or to display something. I saw some Java browser games (not applets), or even forums.

I don't want a tutorial, i was hoping someone can give me a short description on how can you write something like a browser game in Java, what would you use.

"Quoting yourself is stupid" - Me
Vinoth Thirunavukarasu
Ranch Hand

Joined: Dec 18, 2008
Posts: 164

You can use Applet, javascript, Action Script for creating browser game.

Java Best Practices
Linux Best Practices
Amortization Calculator

Alex Parvan
Ranch Hand

Joined: Dec 10, 2009
Posts: 115
I thought applets can't connect to a database
I agree. Here's the link:
subject: Servlets or EJB ?
jQuery in Action, 3rd edition