您还可以使用会话ejb组件来代替命令层。
You can also replace the command layer with session EJB components.
要在业务层上管理状态,我们使用有状态会话ejb组件。
To manage state on the business tier, we use stateful session EJB components.
如果不存在活动会话,则组件会在现有的工作范围单元或本地事务的上下文中执行。
If an activity session is not present, the component will execute in the context of the existing unit of work scope or a local transaction.
应用推荐