I have been building a browser based poker game with a combination of flash and java (for the server). I just had a thought though, I am wondering if AJAX could do the job better by way of security and how many users it could handle online at a time. Does anyone have an opinion on this?
Ajax IS javascript, basically with a fancy name since it handles with xmlhttp requests, This system can be more efficent then flash and other alternatives since it only reloads (dynamically without refreshing the clients browser) the part that needs reloading rather then the entire page including the headers, footers and other things that need not be updated, the security is similar to PHP calling so I find it far more secure then Javascript and Flash. I've just recently starting using it on my online RPG and so far its brought nothing but excellent results!
Hmm, I am wondering one thing though. You say it is more efficient because it doesn't have to refresh the page, but with flash/java you don't have to refresh the page either. It is connecting to a socket server created by the java, so would AJAX still be more effecient, or could AJAX cause a memory leak in the browser like flash does when it makes repeated http requests?