Yes, that will only work if you have previously annotated the User class with 
@Name and made it a Seam component.
Assume you have an existing JEE application with lots of entity beans that you 
would like to use to create a new web-frontend for that application. You 
wouldn't want to recompile all the entity bean classes and add a @Name 
annotation to use them with Seam, right?

So I was suggesting to allow injection of any Java bean. It does work with 
@Out, so why shouldn't it work with @In?

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

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


-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to