Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: Does Spring support Clustering

  1. #11
    Join Date
    Aug 2005
    Posts
    2

    Default caucho's resin

    if you're looking for functionality like load balancing, distributed sessions and sticky sessions, read through the docs at caucho.com. Their Resin J2EE container does a great job of handling this.

    mike

  2. #12
    Join Date
    Nov 2004
    Location
    Hilversum - The Netherlands
    Posts
    1,054

    Default Re: caucho's resin

    Quote Originally Posted by miikeeg
    if you're looking for functionality like load balancing, distributed sessions and sticky sessions, read through the docs at caucho.com. Their Resin J2EE container does a great job of handling this.

    mike
    Tomcat also has support for it and I think a lot of other servlet/applications containers have.

  3. #13

    Default

    Just to add little more to the discussion. I was talking to a friend today, he told me he was asked about how does Spring deals with it. Suppose we have two servers, so we have 2 different ApplicationContexts, the singleton attribute for a bean is JVM level right (I know it's very complicated to achive singleton on multiple VMs). People here suggested Tomcat, Jboss, what if I have a standalone application the is built on top of Spring? Does spring has a support for jgroups or something like it, to replicate the application context?

  4. #14
    Join Date
    Aug 2004
    Location
    u.s.a
    Posts
    399

    Default

    afaik, it does not have this explicit clustering support. Of course, with its support for Remoting, JMS, and JMX and future context serialization, this could be added.

    As was mentioned in this thread, Spring is not a server, so its understandable that out of the box this feature is not presently applicable.

  5. #15
    Join Date
    Jan 2005
    Location
    Bucharest, Romania
    Posts
    5,403

    Default

    No and I don't think it has to. Application contexts can be made available to a servlet context which I suppose can be made 'cluster-able' through the web container replication.
    I'm pretty sure you can 'piggy back' on an existing mechanism - Spring is actually invisible to your application (no dependencies are enforced).
    Costin Leau
    SpringSource - http://www.SpringSource.com- Spring Training, Consulting, and Support - "From the Source"
    http://twitter.com/costinl
    Please use [ c o d e ] [ / c o d e ] tags

Similar Threads

  1. Replies: 2
    Last Post: Oct 17th, 2011, 11:32 AM
  2. Announcement: Spring IDE WebFlow Support Preview Release 2
    By Christian Dupuis in forum Announcements
    Replies: 2
    Last Post: Sep 15th, 2006, 11:50 AM
  3. New Spring Support Forums are Live
    By Colin Sampaleanu in forum Announcements
    Replies: 17
    Last Post: May 22nd, 2005, 12:57 AM
  4. Announcement: Spring IDE WebFlow Support Preview Release 1
    By Christian Dupuis in forum Announcements
    Replies: 0
    Last Post: May 20th, 2005, 08:15 PM
  5. Replies: 14
    Last Post: Feb 21st, 2005, 05:41 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •