Any suggestion for a Java web MVC framework that does not affect server startup
I'd like to know if there are a开发者_Python百科ny suggestions for a Java web development framework that does not add startup overhead. The reason for asking is that I'm planning to deploy on Google App Engine and I do not want to increase the cold start time for the server. So any framework with minimum configuration overhead, or possibly deferred configuration until first call to the framework would be interesting. The framework is to be used for backend administration pages so those pages do not affect customers, but increasing the server startup time certainly does.
Thanks
KlasA vanilla Servlet / JSP framework should do the job. POJOs as Model objects. Servlets as Controllers. JSPs for Views. The JSPs are pre-compiled, servlets will only be instantiated on demand (assuming load-on-startup is false) and of course POJOs are POJOs.
You should check out the Play! Framework which can run off of the Google App Engine.
I was looking for a better Java platform and have been using Play! for the past few weeks. Definitely something I would recommend.
精彩评论