0 Replies Latest reply on Jan 23, 2009 5:13 PM by Thomas Hamacher

    Using SessionBean as a form bean

    Thomas Hamacher Novice

      Hi @all,

      is there any chance to use a SessionBean as a form bean?
      Usually any entity can be associated via the @Name annotation with a unique name and values from a JSF-form can be placed directly into the corresponding attributes using EL.
      Now I would like to do the same with a SessionBean, so that the values are not stored within an Entity but the attributes of the SessionBean. If I simply add a @Name annotation to the SessionBean as well and declare the references within my form, I always get a JavaAssist error.

      Is it not possible to do so or did I miss anything?