0 Replies Latest reply on Sep 6, 2011 2:21 AM by gaurav.bhatia81

    Access spring configured beans in deployed war file

    gaurav.bhatia81 Newbie

      Hi All,

       

      I have an existing webservice running and deployed as war file in jboss 5 setup.

       

      I need to add some functionality and for that would prefer using Spring config for startup and resolving all bean instantiation.

       

      Is that possible to access beans defined in Spring file from war file?

      I mean, war is deployed....jboss starts deploying the web service class and that class can access beans configured in Spring config.?

       

      Thanks in advance.

       

      Gaurav