1 Reply Latest reply on Oct 24, 2007 11:30 AM by Pete Muir

    Configured SLSB

    Thomas Bauer Newbie

      Hi!

      Maybe this sounds like a dumb question, but I'm confused.
      When I configure a component using components.xml:

      <component name="xxx" class="acme.MyClass">
       <property name="prop">aValue</property>
      </component>
      


      and this is a SLSB:
      @Stateless
      public class MyClass
      {
       private String prop;
      }
      


      and I have several components all configured in the xml file of the same class (configured differently though), will the component 'xxx' have a valid configuration when invoked or do I need a @Stateful for this?

      I'm just speaking about the configuration and not storing any state from within a method of the SLSB.

      Please clarify that for me,

      Thomas