In this step, you will create a simple session EJB, which will serve as a simple EJB example to test.
在这个步骤中,您将创建一个简单的会话ejb,它将作为要测试的简单的EJB示例。
We first issue the main query from one session (SESSION1 in this example) that we would like to see the runtime section explain for.
我们首先在第一个会话中(本例中是SESSION1)发出主查询,这样我们就能够得到运行时片段解释的目标。
Therefore, it can also be used to throw away any unsaved changes if you choose note to complete the session, for example, in case of a failure.
因此,若是您选择不完成会话(例如,在失败的情况下),它还可以被用来丢弃任何未保存的更改。
As an example, I was asked to facilitate a two-day session in which a very powerful venture capitalist firm was going to set their two year strategic plan and develop a better communications process.
有一次,一家很有实力的风险投资公司准备制定未来两年内的战略和制定出更好的交流过程,因此邀请我筹划为期两天的会议。
For example, an SCA export results in a generated Stateless Session EJB.
例如,sca导出组件会带来一个生成的无状态会话ejb。
Here is an example of how you would specify a transactional attribute on a stateless session bean.
下面给出了一个示例,介绍如何在无状态会话Bean上指定事务属性。
In this example, a browser session, FTP session, and ping were used to generate network traffic.
在这个例子中,使用了一个浏览器会话、一个FTP会话和ping来生成网络流量。
Consider our example, a simple stateless session bean that exposes a method to read the server-side timestamp.
我们的例子中,一个简单的无状态会话bean公开了一个方法来读取服务器端的时间戳。
The unauthenticated session problem just described is an example of an outcome that can result if a Domino server is forced to go beyond reasonable expectations.
如果Domino服务器被迫承担超出合理范围的压力,就可能产生严重的后果,上面描述的未经身份验证的会话问题就是这种问题的示例。
For example, the subscriber class encapsulates the subscriber data that forms part of a request (a start session request, for example).
例如,Subscriber类封装了构成部分请求的订阅者数据(例如,一个开始会话的请求)。
A connection string can be specified during CLPPlus invocation in order to establish the database connection in CLPPlus session as shown in the example below.
在调用CLPPlus期间,可以指定一个连接字符串,以便在CLPPlus会话中建立数据库连接,如以下示例所示。
The Lotus Domino Employees application, an example of this format, creates a local session to the running Lotus Domino server.
LotusDominoEmployees应用程序就是这种形式的一个例子,它将在运行中的Lotus Domino服务器上创建一个本地会话。
While the query is running, from another session (SESSION2 in this example) connect to the database and find out the executable-id associated to the statement. We can see it is
在查询运行时,在另一个会话中(这里是 SESSION2)连接数据库,然后查找与该语句关联的 executable_id。
For example, prior to tuning, Session Direct and Direct mode are 23% and 86% faster than the EJB mode baseline, respectively.
举例来说,在调优之前,SessionDirect和Direct模式分别比EJB模式基准快23%和86%。
This example utilizes a clean session client with the assumption that the network is sufficiently reliable.
本例使用的是cleansession客户机,并假设网络足够可靠。
You can also set the CLP options for a session globally using the DB2OPTIONS registry variable. For example.
还可以使用DB2OPTIONS注册变量设置会话的CLP选项。
Most Web frameworks and browsers layer higher-level interfaces (a programmable Session object, for example) that simplify development.
大多数Web框架和浏览器层高级接口(例如可编程的Session对象)简化了Web开发。
The classic example is session IDs which are different every time for every user, so it isn't practical to add a 301 to each of these.
典型的例子就是sessionIDs对每个用户每次都不一样,而且添加301跳转也不实际。
User session (for example, login user id).
用户会话(例如,登录用户标识)。
Message services, using the mediation session; for example, to send messages to other destinations.
使用中介会话的消息服务;例如发送消息到其它目的地。
For example, when you migrate an EAB session EJB or a navigator, the migration tool locates and converts contained command classes and record classes used by the commands.
举例来说,当您迁移eab会话ejb或导航器时,迁移工具将定位并转换所包含的由命令所使用的命令类和记录类。
For example, you can have even session IDs on one database, an odd session IDs on another.
例如,可以在一个数据库中存储偶数的会话id,在另一个数据库中存储奇数的会话id。
In the case of a log-out, the session logger logs the reason for the logout (for example, timed out) as the URI parameter.
在注销的情况下,会话日志记录器记录注销原因(例如超时)作为URI参数。
Stay tuned for Part 3, which will discuss JNDI connections to a mail session resource and integration with the example application.
请继续关注第3部分,将讨论JNDI如何连接至邮件会话资源以及如何与示例应用程序集成。
For example, you could check to see if a user ID has been set in a session variable (showing that the user has actually logged in).
例如,可以检查一个会话变量中是否设置了一个用户ID(表明该用户已经登录)。
This handler also includes any necessary processing for tearing down the SIP session if, for example, an ABORT message is received from the TCAP interface.
这个处理程序还包含任何必要的处理来终止SIP会话,例如,如果从TCAP接口收到一个ABORT消息的话。
For example, it doesn't have session cache, and nor does it interact with any second-level or query cache.
例如,它不需要会话缓存,也不和任何二级缓存或查询缓存有交互。
Standard J2EE is partially able to satisfy this mapping, for example, by simply mapping the object to a session EJB class, and the operation to a particular secured EJB method.
标准J2EE可以部分地满足此映射,例如,可以将对象 映射到会话EJB类,将操作 映射到特定的安全 EJB方法。
For example, mediation is deployed into the engine in the form of a stateless session EJB.
例如,中介以无状态会话ejb的形式配置到引擎中。
An example is an SCA component that needs to invoke a session EJB.
示例是需要调用会话ejb的SCA组件。
应用推荐