"georgesberscheid" wrote : 
  | Is there any other way to make Seam inject an instance of that class 
without having to recompile my entity bean?
  | Could I for instance create a sub-class of User (let's call it UserSeam), 
and annotate it with @Name. Would it still be an entity bean, or would I have 
to re-insert all the annotations (like @Table, @Id, @OneToMany etc.) from User 
into UserSeam?

Use the manager component pattern. ie. write a Seam component with an @Unwrap 
method that returns the User.

Or, if all you need is instantiation, you could even use an @Factory method.

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

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


-------------------------------------------------------
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

Reply via email to