webtier@glassfish.java.net

Re: [webtier] Question about storing facelets in database

From: Jason Lee <jason.d.lee_at_oracle.com>
Date: Sat, 01 May 2010 22:21:12 -0500

On 5/1/10 8:46 AM, webtier_at_javadesktop.org wrote:
> Hi! I'm thinkin of storing facelets in database instead of files. Is it real? So i think of implementing this by such way:
> 1. I write servlet which will handle almost all requests.
>
> 2. It will handle request like '/page/[0-9]+' which is mapped, for example, to some facelet called "page" in database.
> 3.<--- here i get problem: how could I post xml-content from database to mojarra servlet or primefaces servlet?
>
> So, cud u answer these questions, please, or offer something coz I'm already broke my head and all organs containing intellect? :)
>
I have some sample code I can share, but I can't do it right now. I'll
try to write it up for you in the next day or two. I hope that works
for you. :P

-- 
Jason Lee
Senior Member of Technical Staff
GlassFish Administration Console
Oracle Corporation
Phone x31197/+1 405-343-1964
Blog http://blogs.steeplesoft.com