I'm developing an application that must deploy ears using jsp and servlet.
It's like an installer for j2ee applications: receives the request to deploy a package (war or ear) and ask the application server where it's hosted to deploy the specified package.
I think it can be done using jsp, servlets and, maybe, MBeans.
Thank you very much!
Also, JSR-88 is a possibility, but the last time I used it, the application was no longer deployed after a restart. See http://jcp.org/en/jsr/detail?id=88.