I need to find out which modules of my application are deployed on the app-server. I know my app-server knows ;) and don't want to keep a registry of my own, but instead access the one of the app-server. But how do I do this?

My first guess is that has to do something with the javax.enterprise.deploy.* packages, but how do I use them?

Thanks for enlightening me,