1 Reply Latest reply on Mar 30, 2004 3:48 AM by spohl

    Spec violation

    tonig

       

      11:00:38,785 WARN [verifier] EJB spec violation:
      Bean : BufferSB
      Section: 7.10.6
      Warning: A stateless session bean must define exactly one create() method with no arguments.
      
      11:00:38,800 WARN [verifier] EJB spec violation:
      Bean : BufferSB
      Section: 7.10.6
      Warning: A session bean's remote home interface must define one or more create(...) methods.


      ... isn't that antilogy? Do I have do define 1 create() method or one (or more) create(...) methods?

      Thank ya

        • 1. Re: Spec violation
          spohl

          For stateless SB exactly one 'create()', for stateful SB one or more 'create(...)' methods. That's no contradiction, only a generalization in the second warning.