As an EJB, the Singleton has access to the standard set of EJB middleware services - transaction management, security, remoteing, dependency injection and so on.
作为一个EJB,该单例可以访问标准的EJB中间件服务集——事务管理、安全、远程、依赖注入等等。
2
A new set of annotations for dependency injection has been standardized, making injectable classes much more portable across frameworks.
新版本标准化了一组用于依赖注入的注解,使得可注入的类在多个框架之间更容易移植。
3
To facilitate this setter injection, I've registered set methods for both my properties.