5 Replies Latest reply on Jun 16, 2011 1:56 AM by jaikiran pai

    JBOSS6 + spring ??

    karthik karthik Newbie

      Hi

       

      Can some body provide me URL / snippet on How to Integrate Spring 3.0 with Jboss 6 ...Is this possible

       

      am new to this and found no result either in jboss community or google the correct answer....

       

       

      thanx in advance

      karthik

        • 2. Re: JBOSS6 + spring ??
          Stuart Smith Newbie

          With Spring 3.0 though Snowdrop is not technically required, correct?  Several notes in the Snowdrop documentation imply that prior to Spring 3.0 Snowdrop was required because of incompatibility with the JBoss VFS (Virtual file system).

          • 3. Re: JBOSS6 + spring ??
            Marius Bogoevici Expert

            Karthik,

             

            (And this should answer Stuart too)

             

            It depends what you are trying to achieve.

             

            If you are wondering just about running Spring applications in JBoss, then you can simply use Spring 3.0.3+ which fixes VFS issues in both AS5 and AS6 (prior to 3.0.x versions work fine on AS5 but have issues on AS6 due to VFS package renaming). Make sure that you do not include Java EE APIs in your application - Spring examples are usually designed for Tomcat and will include things like JPA, JTA, JMS APIs to say the least. As a hint, using the AS6 version of Hibernate (which you can found on the CP) is better idea too.

             

            You can also have a deeper integration, for example by letting JBoss bootstrap an application context - case in which you may want to use Snowdrop.

             

            I am looking forward to releasing Snowdrop 2 with support for AS7 (and an upgrade from 2.0.0.M1-SP1 for AS6) some time soon, around the final release of AS7.

             

            Hope this helps,

            Marius

            • 4. Re: JBOSS6 + spring ??
              karthik karthik Newbie

              Hi

               

              I am new to Spring

              and my primary intention is to Use JBOSS6 GA + SPRING for over all Dev and not to have seperate Env .... indivigually

              Where can is start with Integration of therse both  ???

              There are many confusing forms ...... with out a straight forward answer ....

               

              Please Need some solid refrence  ....  

               

               

              with regards

              karthik

              • 5. Re: JBOSS6 + spring ??
                jaikiran pai Master

                karthik karthik wrote:

                 

                Hi

                 

                I am new to Spring

                and my primary intention is to Use JBOSS6 GA + SPRING for over all Dev

                In that case, Marius reply:

                 

                If you are wondering just about running Spring applications in JBoss, then you can simply use Spring 3.0.3+ which fixes VFS issues in both AS5 and AS6 (prior to 3.0.x versions work fine on AS5 but have issues on AS6 due to VFS package renaming).

                applies for you.