File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
JSF2 Invoke Method on Application Startup
Joined: Jan 17, 2002
Jul 12, 2012 09:21:42
Please in JSf 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
, 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.
I agree. Here's the link:
subject: JSF2 Invoke Method on Application Startup
Which version of JBOSS supports JSF 2.0?
<h:dataTable column size problem
[JSF 1.1] Asynchronous JSF Update
Getting /resources in a BackedBean to send mails
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014