1 Reply Latest reply on Jun 15, 2012 3:27 AM by amarnath.k86

    Stateful Session BEAN HELP!!

    pcoll

      Im relative new to EJB..so bare with me..

       

      Im trying to make a registration form wizard style, how do I connect a stateful session bean with a jsf page????

       

      Im using jbossAS 7.1

        • 1. Re: Stateful Session BEAN HELP!!
          amarnath.k86

          have you configured into faces-config.xml file.

           

          step1:

           

          <manage-bean>

             <manage-bean-name>testBean</manage-bean-name>

             <manage-bean-class>pack.test.testBean</manage-bean-class>

             <manage-bean-scope>session</manage-bean-scope>

          </manage-bean>

           

          step2:

           

          how to call bean in jsf by using Experssion Longuage (EL), means #{}

           

          <h:outputBox value="#{testBean.name}"/>

           

          it will display name...