how to create Distributed env: of web server on multiple machines/jvms
posted 13 years ago
hi , I just want to know , how to get support of distributed env: of web servers ,,, I mean how should i configure/create distributed env: of web server so that it be distributed with multiple webserver/jvm on different machine Exam covers how to write progs in distributed env but does not cover how to creat distributed env: please help me ,,, Thanks in advance Khuram [ April 01, 2003: Message edited by: Khuram Khan ]
Kamal Khan<p>Sun Certified Programmer for Java2<br />Sun Certified Web Component Developer<br />SCBCD
That all depends on which Application Server you're using. Each will have their own proprietary way of being configured. After you decide which application server you want to use, either read through their documentation or post a message in Application Server-specific forum here on the JavaRanch.
Servlet specification 2.3 enables developers to configure their web application distributable with the use of <distributable/> tag in the deployemnt descriptor(web.xml). To achieve this, multiple application/web servers should be clustered. Let us say there is one Apache web server, and two Tomcat engines are running as workers to Apache (configuration details search on the net) (actually workers2.properties should be properly configured in case of Apache2.x). When one Tomcat engine crashed, and if the web application is configured distributable using <distributable/> tag, the session will be exported to another Tomcat engine by the Apache. There are different methods to cluster servers(web.app), which are beyond the scope of this discussion, as well as SCWCD.
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads