Announcement Announcement Module
Collapse
No announcement yet.
SLSB + JBOSS 4.0.2 Guidance needed Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • SLSB + JBOSS 4.0.2 Guidance needed

    Hi!

    Ive been trying to get a sample up that useses SLSB as facades and
    use spring as business Logic. I have a few questions:

    1. When loading the applicationContext.xml is this done every
    call to the SLSB or only once.

    2. What jar files are needed for this and how do i install spring in
    JBoss.

    3. Is there a sample (preferably small) application that uses JBoss
    SLSB's and Spring witth the business logic. If hibernate is used
    that would be great to.

    4. Is it better to use the static context bean factory locator than
    the non static one?

    Thanx in advance..

    Best Regards
    Per

  • #2
    1. once

    2. It depends on what you're using to work out which jars are needed. I've had success putting jars in an ear/lib directory, and then in ear/META-INF, adding a <java> module alongside <ejb> and <web> modules.

    e.g.

    <module>
    <java>lib/spring.jar</java>
    </module>

    In this way, the web + ejb modules can both see the jars.

    Comment


    • #3
      SLSB Code Sample

      Hi

      I have given the complete code for slsb , in this forum itself .
      hope that will help you .
      open this link to view.

      http://forum.springframework.org/showthread.php?t=18988

      all the best.

      regards ,
      sathya.

      Comment


      • #4
        SLSB Jars Needed

        Hi ,
        If you are using Spring alone all you need in your /web-inf/lib is

        spring-1.1.4.jar
        commons-logging-1.0.3.jar

        these were what i added .
        the above jars are used during run time .

        But for compliling purposes you will need the j2ee.jar also in the classpath along with the above mentioned jars.

        are you trying hibernate with spring also ??

        regards ,
        sathya.

        Comment


        • #5
          Thanx

          Thanx for all replies.. !!!!

          Comment


          • #6
            Originally posted by sathya
            Hi ,
            If you are using Spring alone all you need in your /web-inf/lib is

            spring-1.1.4.jar
            commons-logging-1.0.3.jar

            these were what i added .
            the above jars are used during run time .

            But for compliling purposes you will need the j2ee.jar also in the classpath along with the above mentioned jars.

            are you trying hibernate with spring also ??

            regards ,
            sathya.
            Yes .. i im using hibernate too. It is a large application that we
            need refactoring with spring. The app is SLSB's with java Pojos
            as business logic and data access layer. and hibernate is used
            as persistence mechanism.

            Regards,
            Per

            Comment

            Working...
            X