3 Replies Latest reply on Jul 24, 2006 3:36 AM by Denis Karpov

    Seam Application Deployment

    Ypatios Asmanidis Newbie

      Ok I'm having some problems with seam...I have defined a simple class which is

      
      
      @Stateless
      @Name("myejb")
      public class TestEjb implements Serializable {
      
       /**
       *
       */
      
       private String mystring="hi koriel";
      
       /* (non-Javadoc)
       * @see uai.utilities.Test#getMystring()
       */
       public String getMystring() {
       return mystring;
       }
      
       /* (non-Javadoc)
       * @see uai.utilities.Test#setMystring(java.lang.String)
       */
       public void setMystring(String mystring) {
       this.mystring = mystring;
       }
      
      
      
      }
      
      


      and in my home.xhtml page I have this

      
      <h:outputText value="#{myejb.mystring}" />
      
      


      but I can't see the string "hi koriel" when I access home.xthml. What am I doing wrong?