Well I expiramented with the servlet tag in the web.xml

 <servlet>
  |     <servlet-name>PafService</servlet-name>
  |     
<servlet-class>com.palladium.paf.server.PafServiceProvider</servlet-class>
  |     <load-on-startup>1</load-on-startup>   
  |  </servlet>

but that did nothing, to your point, it's not a servlet. But as part of the 
WSDD spec I came across the parameter

<parameter name="loadOnStartup" value="true"/>

I thought it might have different behavior.

As you might guess I'm just trying to get my web service to do a bunch of 
initialization and cache work before the 1st client. I recently came across a 
note that suggested writing a servlet to perform those tasks since itcould be 
forced to load on startup. I'm prepared for that, but am wondering what the 
"best" way is.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3904206#3904206

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3904206


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to