youn need try with RMI or Java Tunneling..

see Jason Hunter book for more information =D






                    Ken <[EMAIL PROTECTED]>
                    Sent by: "A mailing          To:     [EMAIL PROTECTED]
                    list for discussion          cc:
                    about Sun                    Subject:     Can servlets running on 
different servers
                    Microsystem's Java           share static variables?
                    Servlet API
                    Technology."
                    <SERVLET-INTEREST@jav
                    a.sun.com>


                    06/11/00 01:23 AM
                    Please respond to "A
                    mailing list for
                    discussion about Sun
                    Microsystem's Java
                    Servlet API
                    Technology."






look at this case:

A Web site is very busy, many people browse it. So I use several Web
servers to run this Web site. The servers run the same program, they share
the task.

I put a servlet on each servers, and there is a static variable in this
servlet. Do all the instances on these servers share the same static
variable?

If not, how can I share data among these instances?

___________________________________________________________________________
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

___________________________________________________________________________
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