A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Elasticsearch in Action
this week in the
JSF2 Invoke Method on Application Startup
Joined: Jan 17, 2002
Jul 12, 2012 09:21:42
2 how do i get a method to execute as soon as the Server finishes loading up. I can do this in seam 2, But how do i do same in JSF2
Joined: Jun 25, 2001
Jul 12, 2012 18:54:32
You can code a ContextListener that will execute as soon as the server has started the webapp. It's not a JSF-specific thing, though. Any
app can use one.
To communicate with JSF, the listener can create application-scope objects. JSF can then address them as backing beans.
Customer surveys are for companies who didn't pay proper attention to begin with.
subject: JSF2 Invoke Method on Application Startup
[JSF 1.1] Asynchronous JSF Update
Getting /resources in a BackedBean to send mails
<h:dataTable column size problem
Which version of JBOSS supports JSF 2.0?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015