I would like to use an anonymous class in an EJB. But I read in the below one has to be careful about serialization.
Java anonymous class efficiency implications
How exactly does this affect performance? If the reference to the anonymous class is dropped within the calling scope is there still some impact?