Web server to multiple ejb server call using tomee

106 views Asked by At

I am using TomEE server and i want to deploy my ejb application to multiple instances and want to access it using a web application. I want to add a load balancer between web application and ejb application. How can i achieve this.

I already have a load balancer for web application multiple instances using mod_jk,but i need this configuration somewhere in INITIALCONTEXT properties file.

Attaching a pic of how i want to build my app architecture.architecture pic

I'm struggling in this from quite some time. Any help will be appreciable.

1

There are 1 answers

1
Vicky Rathee On BEST ANSWER

We can use TOMEE multipoint discovery feature using failover in initial context PROVIDER URL and give multiple URL. multipoint.properties file we add in conf.