tags:

views:

28

answers:

1

How can I get the list of jars deployed in JBoss?

I want to compile some classes at runtime in EJB, but they may use some of the deployed jars, so I need to specify classpath during compilation.

A: 

It is possible to list deployed applications using the ProfileService ManagementView. Check the various methods of org.jboss.deployers.spi.management.ManagementView.

Pascal Thivent