I planned to delpoy a web application and EJB3 into the same JBoss AS 4.0.3RC1 and would like to make use of JBoss clustering features. I will have more than one machine running JBoss AS and all web clients will access the web application through the same URL. I have the following questions:
1. If one machine is down, will the web client access automatically locate the web application in the other machine? Does the web application need any configuration for clustering? 2. I understand that for session bean, we can configure it to be clustered, using @Cluster annotation. Is it necessary for this configuration so that the session bean state is automatically synchronize with the rest in other machines?