• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Designing for clustering

 
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What design considerations are necessary for designing applications for a clustered deployment? Are there any J2EE design pattern(s) that has a potential to misbehave in a clustered environment?
Any tips/links to web resources/insights from personal experience( ) will be greatly appreciated.
Cheers,
[ December 30, 2002: Message edited by: Ajith Kallambella ]
 
sharp shooter, and author
Posts: 1913
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is actually something that I am working on at the moment - I'm writing a J2EE app with a view to further researching into how clustering works and how best to design for clustering.
At the moment I have "regular" stateless and stateful session beans which I've deployed into JBoss. If you've not seen the clustering support in JBoss 3 then I strongly recommend taking a look - it's absolutely fantastic and so easy to setup. We even have a nice demo of how JBoss fails over stateful session beans in-flight when one server instance dies.
I have seen some good documentation on designing for clusters so I'll try to dig it out. As a starter though, some of the usual EJB stuff applies - don't rely on read/write statics in bean instances, sync'd blocks, etc.
Cheers for now
Simon
 
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
You can find some useful info here --->http://www.javaworld.com/javaworld/jw-02-2001/jw-0223-extremescale.html
Although, the article is old but it has good info.
Here, you will find a white paper --> http://technet.oracle.com/tech/java/architect/j2ee_clustering.html

HTH,
Piyush
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic