difference between the distribution & cluster?

Posted on 2004-11-18
Last Modified: 2013-11-15
is there difference between the distribution & cluster?
distribuion mean : we mean RMI, EJB, failover, loadbalancing
but  for the clustering, we mean only failover, loadbalancing aand sever backup

am i all right with the above comments??
Question by:she1
    LVL 3

    Accepted Solution

    I'm a bit confused by the question by I will explain.  Distribution and clustering are two difference concepts.
    Distribution is when you move the different tiers of your application and deploy them to different servers or clusters.
    Distribution requires load balancing for method calls to EJBs.  It provides more flexibility for balancing the load between servers that provide HTTP content and servers that provide objects.  it also provides higher availability due to fewer single points of failure.

    Clustering is taking the different tiers and replicating the services across servers for better performance and high availbility.   So in a J2EE world you can cluster the HTTP server, web container, and the EJB container.  Clustering provides failover and load balancing.  

    To make an robust system you would combine the two.  You would use distribution to spead out your application across clusters providing the services.  Clustering is at a lower level than distribution.  Clustering is a service provided by or for the J2EE server and distribution is logical breakup of an application across tiers.

    Hope that helps.


    Author Comment

    thanks , but still confusing from your comments.

    web container(web server support cluster, it mean same contents backup to different server to support failover, in case of one web server failture, another one can take over the task)

    ejb support distribution, it mean different content (object)
    located in different server(especially ejb object), so one oject can call another object located in another machine.

    is it right?
    LVL 3

    Expert Comment

    yes you are right...  
    EJBs are location independent; you do not need to know where a bean resides, you just need to be able to connect to a node in the application server, request the bean, and then use it, not knowing its location.  This requires some 'catalog' to tell the server where a bean lives such as a JNDI service.


    Author Comment

    thanks, how about my following explain is it right?


    web container(web server support cluster, it mean same contents backup to different server to support failover, in case of one web server failture, another one can take over the task)

    but for wls web container/tomcat, it support RMI, but not EJB.

    Featured Post

    What Security Threats Are You Missing?

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Join & Write a Comment

    How to fix error ""Failed to validate the vCentre certificate. Either install or verify the certificate by using the vSphere Data Protection Configuration utility" when you are trying to connect to VDP instance from Vcenter.
    A Bare Metal Image backup allows for the restore of an entire system to a similar or dissimilar hardware. They are highly useful for migrations and disaster recovery. Bare Metal Image backups support Full and Incremental backups. Differential backup…
    This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
    This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now