4 Replies Latest reply on Feb 12, 2010 8:05 AM by tbar0711

    How to get all session beans from JBoss server

    tbar0711

      Hi,

       

      I'm using JBoss 4.2.3. At the moment I'm programming a short application. This application should locate all session beans in an deployed ear-file. Then I should be able to make a reflection to each session bean and find out which annotations it implements.

       

      Currently I have the problem that I don't know how to get all the beans as classes without knowing the name of the beans. Perhaps it is possible to get all beans as classes to be able to make reflections and identify the session beans by analyzing their annotations?

       

      Hope anybody can help.

       

      Regards

      Tom