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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content