1 Reply Latest reply: Jun 15, 2012 3:27 AM by Amarnath K RSS

Stateful Session BEAN HELP!!

Phanor Coll Newbie

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 K Newbie

    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...