0 Replies Latest reply on Apr 10, 2014 12:22 PM by Tony Leaf

    Run a Spring app on JBoss

    Tony Leaf Newbie

      I'm new to Spring and i'm developing my first application. I want to run it on JBoss AS 7.1. First of all i've configured jboss to deploy spring application and it works fine.

      17:18:22,462 INFO  [org.jboss.snowdrop] (ServerService Thread Pool -- 28) Activating Spring Deployer subsystem



      Now into my spring app i get a simple bean

      public class client { public void start(){ System.out.println("HELLO WORLD"); } }

      and the configuration xml for beans

        <bean id="test" class="com.ebiga.nm.ncl.client" init-method="start" lazy-init="false">

      So i've tried to include the Spring Project into an ear and then deploy it. I got no error but in the console i can't see "HELLO WORLD". I'm sure that i'm missing something to work fine with Spring