Deploying clustered applications

If you have tried starting your standalone or domain set of cluster nodes, you will be surprised that there is no information at all about clustering in your server logging. Believe me, it is not a bug but a feature! One of the key features of WildFly is that only a minimal set of services is started; therefore, in order to see a cluster's live demonstration, you need to deploy a cluster-aware application. In order to trigger clustering libraries in your application, you can follow two approaches:

  • If your application uses Enterprise JavaBeans, you don't have to do anything more. This area brings some important changes in WildFly. Now, by default, the data of all stateful session beans is replicated in HA profiles, ...

Get Java EE 7 Development with WildFly now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.