Java EE Application Manager
I would like to design an application manager which should controll (initialize/start and then send various commands to) multiple instance of another application. These multiple instances of the second application should receive commands (asynchronous) from the application manager and basically they should send web requests to a web server.
The application manager should be capable to hold references to all applications that it started, and also send selective commands to them. The instances of the second application should notify the app manager about their delegated job.
The system should serve for testing purposes.
I am looking for a solution based on Java EE, Glassfish 3 app server.
I have to mention that I am new to Java EE.
My question would be, how should the architecture of such a system look like, which technologies should I use?