Reputation: 6702
I wonder how spring and google app engine work together
I know that google app engine cannot run threads. I think spring is working with threads. (if i'm wrong, please correct) So how spring and google app engine work together.
Upvotes: 0
Views: 280
Reputation: 24635
I have used Spring Framework in Google App Engine and it worked just fine. So its not using threads to atleast to controllers etc. normal web application stuff. Most likely Spring cron tasks use threads, so instead of those you most likely have to use App Engines own cron task service.
Upvotes: 2
Reputation: 6287
According to the "Will it play" of GAE, Spring MVC is supported. I'm not sure if this is what you mean. I have tried running Grails application (which is built on top of Spring) on GAE and it works fine. If you are creating your application from scratch, be sure to read the issues related to Spring and related framework addons like the Spring Security and Spring ORM, and some customization you need to perform or additional coding for Google's storage system. Check out their group for more info.
Upvotes: 1