We are designing an ejb-based enterprise level system using a Service Oriented Architecture Approach. The service would consist of a related set of Session and Entity Beans using MBeans for configuration (ie parameters the session bean would require as the business logic of the service). There would be a number of services in our application that would communicate with each other.
I was wondering if anyone has taken this one step further and combined lookup facilities and configuration. In essence, all attempts at using the service would need to go through the MBean. So if the service configuration lists the service as disabled (or undeployed), the MBean would deny access to the service.