I have a small web application configured with Guice , Jersey and EclipseLink , and run this application on the pier (8.0.0.M1) during development. There are about 10 (small) JPA managed classes (entities and embedded) and about 20 classes.
The initial launch takes 15 seconds + 5 seconds for the first requests. It seems that the JPA is working on the first query, since I have a strategy to create the โcreateโ table and see some Maven JPA results on the first query.
Rebooting takes about 10 seconds, and the first request after rebooting takes 3 to 4 seconds.
You might think that the launch time is not so bad, but I wonder if I can speed up the launch to work more smoothly, as with Django. Any idea for tweaking at startup?
java performance jpa jetty guice
deamon
source share