Speed ​​issues when using Google App Engine + Spring MVC + Annotations

I am developing a GAE application using spring MVC and using annotations. The application takes a long time to download it for the first time, and then it behaves well while I access the application. But then, when I leave the application for a minute, and then I receive it again, it takes a lot of time. I read ppl with similar problems, but did not talk about a solution. Has anyone had this problem and was able to fix it?

One solution was to delete annotations, which I want to make as a last choice.

thank

+3
source share
3 answers

Spring <context:component-scan base-package="app.controllers" /> springapp-servlet.xml :

<bean id="rootController" class="app.controllers.RootController" ></bean>
<bean id="otherController" class="app.controllers.OtherController" ></bean>

Spring MVC Google App Engine ~ 3 .

+5

GAE , .

+1

, . . , . , , .

appengine-web.xml:

<precompilation-enabled>true</precompilation-enabled>
+1

Source: https://habr.com/ru/post/1726002/


All Articles