Web Hosting How-Tos
  Home arrow Web Hosting How-Tos arrow Page 4 - A Primer on J2EE Clusters for Webhosti...
Web Hosting Articles  
Web Hosting FAQs  
Web Hosting How-Tos  
Web Hosting News  
Web Hosting Security  
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter 
 
Developer Updates  
Free Website Content 
ASP Web Hosting  
ASP.NET Web Hosting 
Budget Hosting 
Coldfusion 
Colocation 
Mobile Linux 
APP Generation ROI 
E-Commerce Hosting 
Linux Web Hosting 
Managed Hosting 
Reseller Web Hosting 
Shared Hosting 
Small Business Hosting 
Virtual Private Servers 
Windows Web Hosting
 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
WEB HOSTING HOW-TOS

A Primer on J2EE Clusters for Webhosting
By: Blue Moon
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 2
    2005-04-20

    Table of Contents:
  • A Primer on J2EE Clusters for Webhosting
  • Advantages of Clusters
  • Cluster Architecture and Communication In a Cluster
  • Multi-Tier Architecture With a Dispatcher

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    A Primer on J2EE Clusters for Webhosting - Multi-Tier Architecture With a Dispatcher


    (Page 4 of 4 )

    A multi-tier architecture with a dispatcher can actually be called a cluster within the cluster, because there are separate server instances which host the Web presentation layer (HTTP pages, JSPs, and Servlets), while EJB and JDBC objects are located on separate machines. For big applications, a configuration of that kind could be the best choice, because it provides better load balancing and fail over. It also gives a chance to adjust to the application specifics. For instance, if your application relies heavily on HTTP but there are no frequent invocations of EJBs, you can have only two servers for EJBs, and perhaps five for the Web layer. But if there are a lot of static pages that need to be serviced, you can consider even a separate HTTP cluster.

    Generally, the Web and the objects layer do not communicate intensively with each other. If they do communicate heavily, then a combined tier architecture could be more appropriate. The dispacher communicates with all server instances and redirects incoming and outgoing requests as necessary. All servers communicate with the database. For better redundancy, you can have a second, standby database.

    The three architectures described here are neither the only ones, nor even the most typical ones. Since each application is unique, there is no single architecture that can be applied in all cases. The aim was more to give you a basic idea of how J2EE clusters work. When you come to the point of deploying your applications, you will no doubt have to read in more detail about the particular server you have chosen on which to deploy your applications.


    DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware.

       · Sometimes getting just a basic idea about a particular technology is what is...
     

    WEB HOSTING HOW-TOS ARTICLES

    - Choosing a Web Host for Your WordPress Blog
    - Connecting to a Server using SSH: the Fundam...
    - How to Expand a Simple Website
    - Practical Virtualization with VirtualBox
    - Other Uses for Your Web Hosting Server
    - Hosting Your Own Website: Reliability
    - Introduction to Hosting Websites
    - Choosing a Website Host
    - How to Choose a Budget Web Host
    - URL Redirection
    - How to Link a Domain Name to a Dynamic IP
    - How to Set up a Simple Website
    - Choosing the Right Kind of Web Hosting
    - Introduction to Choosing the Right Web Host
    - Strategies for Creating Domain Names






    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 1 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek