javaspringamazon-web-servicesjbossjava-6

how to implement load balancer for Jboss


We have a legacy java application which is developed in 2010 deployed in Jobss 5. we cant migrate to latest one because of some business and other constrain.

we have deployed our applicationin AWS, there are 9 servers and one load balancer.

We want to add and remove servers based on the health endpoint. this is an ejb application and exposing soap service, we cant have GET call for a health endpoint.

So I am thinking to build a custom load balancer which will be a wrapper on top of these 9 servers which is a tedious task as I have to write a wrapper for each soap service around (1000 services)

is there a better way to handle this, any pointer will be highly appreciated

Thanks


Solution

  • You may want to combine it with a Facade using Amazon API Gateway. That would allow you to incrementally modernize in the future (e.g. you could run the Java code providing the SOAP services in a serverless way as a AWS Lambda function).