Announcement Announcement Module
Collapse
No announcement yet.
Beginner question - Spring with JBOSS. Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Beginner question - Spring with JBOSS.

    I just started reading on SPRING as I will be starting a new job in 1 week which requires learning Spring/JBOSS/Hibernate and I am new to all of these. I have worked on Java,EJB, weblogic before..

    Currently I have JBOSS and SPRING installed on my machine. I have installed SPRING deployer for JBOSS so that JBOSS recognizes spring files just like it does recognizes war,ear,jar etc.

    In the DEPLOY directory of JBOSS I have the following files.

    DEPLOY
    |
    |---HelloWorld.spring
    |
    |--com\test\HelloWorld.class
    |--META-INF\jboss-spring.xml

    What should I do now extra to call a method inside HelloWorld.class ( lets say getText() which returns "hello world" to be displayed inside a browser ?

    Thanks

  • #2
    I haven't used Spring much on Jboss but you should try to use Spring as in any application server - relying on standard hooks (such as web listeners for example) to bootstrap spring.
    See the reference documentation and the samples provided with Spring distribution - they contain most of the answers you seek.
    Last edited by Costin Leau; Oct 5th, 2006, 02:33 AM. Reason: satisfy the critics

    Comment

    Working...
    X