JSP and JSF pages are usually compiled on-the-fly by the application server when accessed for the first time. And to tell the truth Java EE application servers are not the fastest compilers.
When you are a developer and want to re-organise/change some UI components sometimes you have to navigate through few pages until you reach desired JSP/JSF page.
And when your pages are loaded with many JSF components, navigating to third/fourth screen may take some time.
It's much better and much more efficient to pre-compile JSP/JSF pages before packaging the war file.
In this post I will show you how I did it using Apache Ant as a build tool, Apache Jasper as a JSP compiler, and Apache Geronimo as an application server.
2011 in review
-
It’s end of January 2012 by now, but I decided to share some stats on what
was going on with this blog in 2011. If you fancy reading my stuff (is
there any...
1 week ago
