This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes how to create  Distributed env: of  web server on multiple machines/jvms Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "how to create  Distributed env: of  web server on multiple machines/jvms" Watch "how to create  Distributed env: of  web server on multiple machines/jvms" New topic
Author

how to create Distributed env: of web server on multiple machines/jvms

Khuram Khan
Greenhorn

Joined: Dec 18, 2002
Posts: 25
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
Jessica Sant
Sheriff

Joined: Oct 17, 2001
Posts: 4313

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.


- Jess
Blog:KnitClimbJava | Twitter: jsant | Ravelry: wingedsheep
S. Ganapathy
Ranch Hand

Joined: Mar 26, 2003
Posts: 194
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how to create Distributed env: of web server on multiple machines/jvms
 
Similar Threads
create distributed web servers
Accessing Singleton Pattern in Clustered env Ejb
Inter Servlet Communication
BEA WebLogic 7 and Oracle 9i/8i
<distributable/>tag