[prev in list] [next in list] [prev in thread] [next in thread] 

List:       myfaces-user
Subject:    Re: Start MyFaces on demand?
From:       Leonardo Uribe <lu4242 () gmail ! com>
Date:       2014-04-18 6:49:44
Message-ID: CABujnVeVfwWhc60POo1y+mc70QPgzQqjiDUN-6-te1faHpc9Tg () mail ! gmail ! com
[Download RAW message or body]


Hi

Don't worry about resource consumption. It is not a necessary. The code
only loads the necessary classes and its memory footprint is minimal.
Instead, you can reduce the size of some caches, usually affected by web
config parameters. The effect will be minimal in any case.

Leonardo
On Apr 17, 2014 9:09 PM, "Felipe Jaekel" <fkjaekel@gmail.com> wrote:

> I'm working in a JAX-RS project, it has a configuration page in JSP that I
> would like to change to JSF.
>
> As this page is rarely used, basically only when the project is first
> deployed, I'd like to be able to start MyFaces only when this paged is
> accessed to avoid unnecessary server resources consumption.
>
> I tried to remove the the load-on-startup parameter from the FacesServlet,
> but I keep seeing MyFaces output on the server startup.
>
> Is it possible to do or I don't have to worry about resources consumption
> in this case?
>
> Thanks
>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic