views:

102

answers:

2

Hi,

I'd like to know if there are any 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
Klas

+1  A: 

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.

Josh K
Thanks Josh. I will look into Play!. So have you deployed it on Google App Engine, and if so , do you have any measurement on how long time it takes to start?ThanksKlas
KlasE
@Klas: We aren't using the GAE, so I'm not sure. I would recommend downloading the YABE app for Play! and running through the deployment process to get a feel for it though.
Josh K
Ok, thanks Josh, I will test it out, and get back on how it affects the startup time
KlasE
A: 

A 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.

Keyur
Yes, that's basically what I have right now, and maybe you are right, and this is the only option today. Hopefully someone else can hint on an existing framework, otherwise your answer is the right one currently
KlasE