Tony,
you may be mixing up @Startup and @Create.
@Startup is a class level/component level annotation which tells Seam to start the
component when the ear/war is started. @Create is a method level annotation which tells
Seam to execute the method once the component is started.
So if you want the component to load when the app loads, just move the @Startup annotation
up to the class level, with the @Scope and @Stateless annotations.
If you also want the init method to run when the component starts, replace the current
location @Startup with a @Create, and you should be all set!
I hope that helps!
Regards,
Devon
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4044738#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...