...L,一个ICountryServiceDAL,以及在业务逻辑层中的CountryService,关键点在于每一种服务都被实现为无状态类(stateless class)。各个层以如下一种方式进行构造:DAL服务的方法应该被相应的业务逻辑的服务调用。
基于12个网页-相关网页
A scope annotation can be added to either the interface or implementation class definition. The Feature Pack for SCA supports stateless and composite scopes.
可以向接口或实现类定义添加范围注释。
It is the only class where EJB operations are performed, and it holds the reference to the PhoneBookSession stateless session bean.
它是惟一一个执行ejb操作的类,并保存对PhoneBookSession无状态会话bean的引用。
Listing 2 shows a stateless bean class.
清单2展示了一个无状态bean类。
应用推荐