What is the significance of @Clustered in stateless and stateful session beans

Solution Unverified - Updated -

Issue

  • All our servers will be sitting behind an LVS load balancer. Knowledge base articles tell us to annotate all beans including stateless, to have load-balancing and failover
    capacity. All our session beans are stateless and we do not access explicitly the session context. It does not seem like we have any need for the session replication.
    Does the @Clustered add any additional overhead for the stateless beans on the server?
    So, if our servers are balanced behind an LVS server/router, are we going to be missing any functionality for our stateless beans by not annotating the beans @Clustered?
    Should the clients need any additional configuration for failover besides being pointed to the LVS balancer?

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.