A description of the @Create annotation can be found in chapter 10.3 of the documentation.
http://docs.jboss.com/seam/1.0.1.GA/reference/en/html/annotations.html @Create only works for components that are either JavaBeans or StatefulSessionBeans and is used to denote a method that should be called when a component is created. For example if you had an init() method you wanted called before any other method on your stateful component, annotate that method with @Create. @Factory is used to annotate a method that creates and returns a Seam component. The value argument to @Factory will be the component's name. @Factory and @Unwrap are a lot alike. Use @Unwrap if you want your "factory" method to live in its own class. Use @Factory if you want that method to live within another component. Use @Create to specify an init method on a stateful component. Hope this helps. -Jim View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3954560#3954560 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3954560 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user