Porting from GAE to TomCat or another servlet server
- by bach
Hi guys,
I'm unhappy from GAE because
- One can't have a global variable and the 'synchronize' keyword. Instead one have to catch a basically DB transcational exception and retry in a while loop - which will eat all my free CPU time and will start costing me money as I reach the google's qouata.
Is it safe to use synchronize inside a doPost() in tomcat? (i guess that it's ok as long as all the servlets are running on on 1 VM?). If not in all tomcat configurations, how do I configure tomcat to make it safe?
How can I convert a GAE app to my own tomcat server?
- How to install DataNucleus Access Platform on tomcat?
Best regards