Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes JSF and the fly likes Precompile JSF sites Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Precompile JSF sites" Watch "Precompile JSF sites" New topic
Author

Precompile JSF sites

Oliver Bourdeux
Greenhorn

Joined: Aug 02, 2009
Posts: 3
Hi com,

I want to precompile my JSF sites to boost-up the start-up time.

Im using Glassfish v2.1 as appserver and JSF and Facelsts for my sites which looks
like this:



After i used the JSPC executable from my Glassfish installation i got this output:



Well it seems that the JSPC generated code does only wrap my JSF page, but
does not preprocess the JSF tags (because JSF renders them in the runtime?)
Now this let me thinking about the following questions:

1. Is it possible to preprocess the JSF tags too?
2. Does it really take an effect on the start-up time?
3. Are there other ways to precompile also JSF tags?

Im looking forward to hearing from you
Thanks
Temesh
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Precompile JSF sites