So use case is like this : We are running same application on different machine and from client we wanted to know how many instance of application are running on different machine.
Application 1 - EJB Engine Server instance 1
Application 1 - EJB Engine Server instance 2
Application 1 - EJB Engine Server instance 3
I was thinking when we start server and deploy EJB, EJB should know what host / port it is running on.... we can publish message to cnetral place which can maintain the state of all server instances.
I am using EJB 3.1....do you know if we can get information form EJB context ?