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.
要在业务层上管理状态,我们使用有状态会话ejb组件。
For example, we wanted to keep the user's account Numbers, name, address, and other information throughout the session so various components could access it without having to retrieve it from disk.
例如,我们希望在整个会话期间保存用户的帐号、名字、地址和其它信息,这样各种组件都能访问这些信息而无需从磁盘检索。
Remote interfaces to session or entity EJB components provide location independence.
会话或实体e JB组件的远程接口提供了位置独立性。
I am having a hard time imagining how I would do the same thing as simply without stateful session EJB components.
我思考了很久,如何能够在不使用有状态会话ejb组件的情况下完成相同的任务。
There are numerous use cases for caching by user session, and they are often based on different components operating on the same backend data.
对于通过用户会话进行缓存,有许多用例,它们通常基于对同一后端数据进行操作的不同组件。
All in all, stateful session EJB components provide a heavyweight mechanism for managing application state.
总而言之,有状态会话ejb组件为管理应用程序状态提供了一种重量级机制。
The scenarios discussed here don't cover every situation, but they are representative of some of the most common uses for entity EJB components and session EJB components.
这里讨论的方案并未涵盖所有情形,但是它们代表了实体EJB组件和会话 EJB 组件的一些最常见用法。
EJB container, Transaction service, Timer service, Orb, Session Replication Module and other components in GlassFish application server use Shoal for accessing and interacting with cluster members.
GlassFish应用服务器中的EJB容器、事务服务、定时服务、Orb、Session复制模块以及其他组件都使用了Shoal来与集群中的成员进行交互。
Always use session facades whenever you use EJB components.
当使用EJB组件时,始终使用会话Facade。
AccountTransaction ACTS as a session facade for Web applications or clients to access entity EJB components, and thus supports the remote interface.
AccountTransaction充当了一个供web应用程序或客户端访问实体e JB组件的会话虚包,因此它支持远程接口。
The scenarios discussed here don't cover every situation, but they are representative of some of the most common uses for servlets and session EJB components in a stateful communication context.
本文讨论的方案并未包含所有情形,但是它们代表了有状态通信环境中的servlet和会话EJB组件的一些最常见用法。
OpenSessionInView interceptor and filter which allow the usage of the same session per thread across different components.
OpenSessionInView拦截器和过滤器允许每个线程跨不同组件使用同一会话。
Modern web frameworks have session and request scoped components and handle the dependency injection for them as those scopes come into life.
现代Web框架还有会话、请求等不同作用域范围的组件,框架会在进入作用域的时候相应地处理依赖注入。
A compromise is to generate a "business delegate" and associated session EJB components from the Task POJOs as shown in Figure 5.
折衷的方法是生成“业务代表”并与TaskPOJO中的会话ej b组件相关联,如图5所示。
A pool of stateful session beans cannot be used to accommodate any client request the way that a pool of stateless EJB components can.
有状态会话bean的池不能象无状态EJB组件的池那样用来容纳任何客户机请求。
After creating the STSession object, you load the components the bot USES and start the Sametime session.
创建了STSession对象后,载入机器人所使用的组件并启动Sametime会话。
Wicket pages are components also, and their states are stored in the Wicket session if they are stateful.
Wicket页面也是组件,如果具有状态,则它们的状态将保存在Wicket会话中。
EJB 3.0 simplified API: Defines the new simplified API used to code EJB components, specifically session beans and message-driven beans.
EJB 3.0简化api:定义用于编码eJB组件(特别是会话Bean和消息驱动的Bean)的新简化的API。
EJB 3.0 Simplified API: Defines the new simplified API used to code EJB components; specifically, session beans and message-driven beans.
EJB 3.0简化API:定义用于编码 EJB组件(特别是会话Bean和消息驱动的 Bean)的新简化的 API。
First, a Sametime session is opened, and the required components are loaded.
首先,打开一个Sametime会话,加载所需的组件。
In the above example, we used an EJB3 session bean to implement the application logic. But we are not limited to use EJB3 components in Seam.
上例中,我们用一个EJB3会话bean实现了应用逻辑,但是我们并不局限于EJB3组件。
Methods defined in CustomerSession make calls to methods on stateless session EJB components (with the bean serving as a facade) such as OrderService, to invoke transactions on an EIS.
在CustomerSession中定义的方法,将调用无状态会话ejb组件的方法(这个bean起到一个外观(facade)的作用),例如OrderService,从而调用EIS上的事务。
The STSession object holds the set of components associated with the Sametime session.
STSession对象保存与Sametime会话相关联的组件集。
It seems like it is hard to get away from using individual getters (and setters) on entity EJB components in the session facade.
在会话外观中,似乎不能避免对实体e JB组件使用单个getter(和setter)。
In other Seam components (e.g., pages and session beans), you can reference the managed person bean for this component using the "person" name.
在其他Seam组件中(例如,页面和会话bean)中,开发者能指直接使用“person”来引用被管理的personbean。
Methods on these beans are called by the CustomerSession session bean, which implements the process logic behind your application, as well as by other process-oriented components.
这些bean上的方法由会话beanCustomerSession调用,它们实现了应用程序背后的处理逻辑,其他面向处理的组件也可以调用它们。
Entity beans are inherently transactional components with configurable transaction semantics; session beans are not.
实体bean本质上是事务性组件,这些组件具有可配置的事务语义;而会话bean没有。
In this scenario, the JSP and servlet sample components are imported into a Web module and the EAB session bean sample is imported into an EJB module of an enterprise application.
在这种情形中,JSPand servlet样本组件被导入到企业应用程序的Web模块中,EABsessionbean样本则被导入到企业应用程序的EJB模块中。
A debug session is made active by selecting the debug target, or any of its components (for example, threads, stack frames) in the debug view.
通过选择一个调试目标,或者调试视图中的任意其构件(例如,线程、栈框架),可以激活一个调试操作。
应用推荐