3 Replies Latest reply on Jan 2, 2008 6:52 AM by sebastiendeg

    @Startup usage

    hubaghdadi

      Hi.
      What is the typical usage of @Startup annotation?
      Thanks.

        • 1. Re: @Startup usage
          pmuir

          To cause a Application or Session scoped component to be started when the application or session starts.

          • 2. Re: @Startup usage
            hubaghdadi

            By started you mean "created"?
            Why would I use @Startup if I already have @Create?

            • 3. Re: @Startup usage
              sebastiendeg

              @Startup cause the Application or Session scoped component to be started (instantiated) when the application or session starts.
              Class level annotation

              @Create Specifies that the method should be called when an instance of the component is instantiated by Seam.
              Method level annotation