There's more...

The best way to set up a Java EE cluster today is using containers (specially Docker containers). So, I'd recommend that you have a look at the Chapter 11 Rising to the Cloud – Java EE, Containers, and Cloud Computing chapter. If you mix that content with this, you will have a powerful environment for your application.

To allow your application to share its session with all nodes in the cluster, you need to edit the web.xml file, find the web-app node, and insert this:

<distributable/>

Without it, your session clustering will not work.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.139.240.119