Millsington 0 Newbie Poster

To me, what I want to do is extremely simple.

I will have multiple users, each will login to a character with info stored in a database.

Each user enters commands into a text field which will post the info to a page that will return the result of the command.

Also the page should use COMET to push goings-on in the game that aren't a result of commands.

Finally for my question. Is there an easy framework I can use either for JSP or any other language that can get me started on this easily? I wrote it in PHP already, but without any COMET functionality. The problem is it doesn't maintain variables between page requests and so I have to grab pertinent variables from the database every time they enter a command.

I have found Atmosphere and Resin which seem to claim to support COMET functionality but I'm not completely certain they can do everything I want to do, and I want to avoid having to rewrite in another language yet again.

Thanks for all input,

Mills