Arrrh i see now! thanx Mike - what about the destory method tho? Do i place that in the configure too?
Thanx sion Michael Horwitz wrote: > > On 4/12/07, sionsmith <[EMAIL PROTECTED]> wrote: >> >> >> Guys & Girls, >> >> I'm using the appfuse jsf framework - we need to talk to a webservice, i >> have already been given a java client class which talks to the service - >> however i'm unsure of the best way or how to load this client and run its >> init method on server startup? I've had look on here, and at the >> StartupListener in the org.appfuse.webapp.listener package - do i need to >> write my own listener that extents this? i'm confused? I see another way >> is >> to use sumthing called Quartz? whats this and how do i use that? > > > The easiest way to get you class up and running is probably to configure > it > in Spring as a bean. You can get Spring to call the init method when it > starts up the class by adding the attribute init-method="method_name" on > the > bean definition. > > Quartz is a job scheduler: http://www.opensymphony.com/quartz/. You would > use Quartz if, for instance, you wanted to call your web service every day > at 23h00. > > Mike. > > Any help on how to do this would be very greatful :) >> >> Thanx Sion >> -- >> View this message in context: >> http://www.nabble.com/Using-Appfuse-With-WebServices-tf3565429s2369.html#a9959171 >> Sent from the AppFuse - User mailing list archive at Nabble.com. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > -- View this message in context: http://www.nabble.com/Using-Appfuse-With-WebServices-tf3565429s2369.html#a9960321 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]