[jboss-user] [JBoss Seam] - Re: Using the @Factory annotation and stateless session bean

gavin.king@jboss.com do-not-reply at jboss.com
Mon Sep 25 16:02:25 EDT 2006


@Unwrap is not just a "factory". It can be used to do MUCH more than just auto-instantiate something. 

@Factory is used when you just want to auto-initialize some value from a component.

@Unwrap is used when the component really "manages" the value.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3974008#3974008

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3974008



More information about the jboss-user mailing list