I wouldn't recommend injecting application beans into entities - rather use services to manipulate your beans.
There is no really nice way of injecting beans into you entities as Ebean is creating them - you can of course use an AOP (e.g. AspectJ) to do this but again from experience I wouldn't recommend it.
On Monday, May 7, 2012 12:31:57 PM UTC+2, Pavel Arnošt wrote:
Yes, exactly.