Hmmmmm, I just created a generic ManagedEntity component. Kinda cool, possibly 
useful. You use it like this:

[core]
   com.myapp.User
   #{myEntityManager}
   #{userId}
[/core]

Or even like this:

[core]
   com.myapp.BlogEntry
   #{myEntityManager}
   #{params['blogEntryId']}
[/core]

And then, whenever the id of the object is available in a context variable or 
request parameter, we can just inject the correct instance.

Kinda cool, I think....

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959290
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to