"Kwan, Kenneth Y" wrote:
>
> Thanks. I also found it can be implemented using ServletContext.
>
> Anyway, no matter which solution, how can I instruct a Servlet Engine to
> load my shared objects during web application initialization. In JSP, I can
> use "global.jsa". In ASP, I can use "global.asa". In Servlet, how ???

But ServletContext will not address your problem. The Singleton will.

Regards,

Subrahmanyam

-----------------------------------------------------------------------
Dr. Subrahmanyam A.V.B.
http://www.Subrahmanyam.com
-----------------------------------------------------------------------

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to