Mostly because I don't want the first instantiation to take a hit. They are
a multitude of JDNI lookup calls along with other reading of data , so
initialization could take 30 seconds. Once the app is deemed 'open for
E-business', I want the service to be primed without having to hit it once
first.

-----Original Message-----
From: Benjamin Tomasini [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 22, 2003 1:51 PM
To: [EMAIL PROTECTED]
Subject: Re: Any help appreciated: init() equivalent


For JNDI, why not a static initializer in a super class?

Bem

On Wed, 2003-10-22 at 13:31, [EMAIL PROTECTED] wrote:
> Ed,
> 
> AXIS makes extensive use of Handlers.  You can create a BasicHandler,
> placing any initialization in the init() method of the Handler, then add
> the Handler to the requestFlow of the service in question in your WSDD.
> 
> Here are some links you may find useful:
> 
> JavaDoc for the Handler interface and BasicHandler class should be
included
> with your AXIS distribution.  If you haven't already, you should probably
> read the AXIS Users' Guide
>
(http://cvs.apache.org/viewcvs/~checkout~/ws-axis/java/docs/user-guide.html)
.
> 
> The XML Schema definition for WSDD can be found at
>
http://cvs.apache.org/viewcvs.cgi/*checkout*/ws-axis/java/wsdd/WSDD.xsd?rev=
HEAD&content-type=text/plain
> 
> 
> HTH,
> Ian
> 
> Ian D. Stewart
> Open Systems Engineer II
> Enterprise Midrange - Bank One Infrastructure & Operations
> [EMAIL PROTECTED]
> (614) 244-2564
> 
> 
> 
> 
> "Tolsch, Ed" <[EMAIL PROTECTED]> on 10/22/2003 01:17:17 PM
> 
> Please respond to [EMAIL PROTECTED]
> 
> To:   "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
> cc:
> 
> Subject:  Any help appreciated: init() equivalent
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> This transmission may contain information that is privileged, confidential
and/or exempt from disclosure under applicable law. If you are not the
intended recipient, you are hereby notified that any disclosure, copying,
distribution, or use of the information contained herein (including any
reliance thereon) is STRICTLY PROHIBITED. If you received this transmission
in error, please immediately contact the sender and destroy the material in
its entirety, whether in electronic or hard copy format. Thank you.
-- 
Benjamin Tomasini
NetEverything, Inc.
1-877-270-1391

Reply via email to