I'm pondering the logistics of using the J2EE framework for a game. Some of the reasons I'm considering it are the design patterns that already exist and are supported by the framework and the framework is already there, scalablilty, clustering, data sources, authentication etc don't have to be recoded.
The biggest issue I see for realtime work is how to access the servlet, fairly obviosuly HTTP isn't an option. I've read about JBoss' remote customisations
. This *should* if I've read it right, allow me to implement my own binary protocol and reduce the bandwidth. I'm sure if I were to implement my own clustering etc then i'd end up with either a slower solution than just using J2EE, or something non reusable.
Does anyone have any experience of doing this? do they have any examples?
What are the pitfalls I should look out for?