Is it possible to inject an EJB into an Entity? If not is there
another way to get a reference to a EJB from an Entity?
Example:
@Entity
public class Customer {
@EJB
CustomerAction customerAction;
@PostLoad
void initialize() {
// do stuff with customerAction...
}
}