在示例应用程序中,用户可以向服务器发表评论。
In the sample application, the user can post comments to the server. To demonstrate the threat of malicious script, enter the text from Listing 2 in the enter comments area.
为在示例应用程序中定义的资源引用选中这两个复选框。
Select both of the check boxes for resource references defined within the sample application.
在示例应用程序中,存储库所能存储的数据地图的实例是有限制的。
In the sample application, the repository has a limit of data map instances it can store.
与在示例应用程序中所做的一样,还要在这时关闭文档对象。
We will also close the document object here as we are done with our sample application.
在示例应用程序中,您获取了一个笨拙的样式表并将其重构为一段更小更易于维护的代码。
In the sample application, you took an unwieldy stylesheet and refactored it into a much smaller and more maintainable piece of code.
本节的所有代码都可以在示例应用程序的(参见下载部分)valid. js文件中找到。
The code presented throughout this section can be found in the valid.js file of the sample application (see Download).
清单9给出了这个包装器类,在示例应用程序中称为RepositoryWrapper。
Listing 9 shows the wrapper class, which is named RepositoryWrapper in the sample application.
在示例应用程序中使用的每个连接工厂或目的地必须使用唯一名称在JNDI目录中注册。
Every connection factory or destination used in the sample application must be registered in a JNDI directory with a unique name.
在示例应用程序中,approveRequest活动与包含旅行审批Portlet 的审批页相关联。
In the sample application, the approveRequest activity is associated with the Approve page that contains the Travel Approval Portlet.
Geronimo还提供了ApacheDerby,这是一个关系数据库,在示例应用程序中用来存储用户凭证。
Geronimo is supplied with Apache Derby, an embedded relational database that is used in the sample application for storing user credentials.
在示例应用程序中,未定义任何J2EE角色,经过身份验证的任何Web服务用户都可以使用服务提供者应用程序。
In the sample application, no J2EE roles are defined, and any Web service authenticated user can use the service provider application.
既然您了解了使用php与oembed的基本知识,现在我们就来看它们在示例应用程序的上下文中是如何工作的。
Now that you understand the basics of using PHP with oEmbed, let's see how it all works in the context of a sample application.
在示例应用程序中,JNDI的访问利用了可以从JNDI主页得到的基于文件的FSContext版本(请参阅参考资料)。
In the example application, the JNDI access makes use of the file-based FSContext version available from the JNDI homepage (see Resources).
为了在示例应用程序中启用OpenID身份验证,第一步是设置应用程序的 zero.config全局配置。
To enable the OpenID authentication for our example application, the first step is to configure the zero.config global configuration for the application.
现在,可以在示例应用程序中添加一些代码,从而把第一个职员的姓氏改为'Rodrigues'并把修改保存回数据库中,见图6
You can now add some extra code to the sample application to change the last name of the first employee to 'Rodrigues' and save those changes back into the database, as seen in Figure 6
API控制器的设计目的是提供Web的数据服务,因此,它们不支持视图、布局,也不支持用来在示例应用程序中生成html的任何其它特性。
API controllers are designed to deliver Web data services, so they do not support views, layouts, or any of the other features that I used to generate HTML in the example application.
正如前面所讨论的,为了显示通过WebSphereMQ链接在两个方向传递的消息,我们必须使用不同的目的地来在示例应用程序中进行浏览和发送操作。
As discussed previously, to demonstrate messages passing in both directions over the WebSphere MQ link, we must use different destinations for browsing and sending within the sample application.
不过,在示例应用程序使用这些对象前,我们还需要定义一系列JMS管理的对象,以便示例应用程序能够使用JMS 1.1API与它们进行交互。
However, before they can be used by the sample application, we need to define a number of JMS administered objects so that the sample application can interact with them using the JMS 1.1 API.
例如,在示例应用程序中,您可以为String、Number以及boolean创建不同的测试,然后如清单4所示配置TestNG,有选择地运行它们。
For example, in the sample application, you can create different tests for Strings, Numbers, and booleans, and then run them selectively, configuring TestNG as illustrated in Listing 4.
然而,在我们的示例应用程序中,由于您要显示动态表,因此需要逆转复杂性。
In our sample application, however, you need to reverse the complexity because you are displaying dynamic tables.
在我们的示例应用程序中,我们将扩展其中一个缺省文档定义。
In our example application, we will extend one of the default document definitions.
尽管这将导致有限的功能,但是我们在测试这个CTI示例应用程序时没有遇到任何问题。
Although this might result in limited functionality, we did not experience any problems in our tests of this sample cti application.
在完成的示例应用程序中,站点管理员可以创建具有关联答案的新调查问题。
In the completed example application, the administrator of the site can create new poll questions with associated answers.
清单11显示了我们在本文的示例应用程序中使用的凭据库。
Listing 11 shows the credential store we used in the sample applications in this article.
在本文描述的示例应用程序中,保护业务逻辑ejb,以使只有通过认证的用户可以调用特定的EJB方法。
In the sample application described in this article, the business logic EJB is secured so that only authenticated users can invoke specific EJB methods.
在我们的示例应用程序中,我们有4个对应的JPA实体,如图4中的类图所示。
In our sample application, we have four corresponding JPA entities, as shown in the class diagram in Figure 4.
为了在设备上安装示例应用程序,先将所需特性、插件以及与站点相关的文件导入本地目录。
To prepare to install the sample application on a device, export the required features, plug-ins, and site-related files to a local directory.
要解决这个问题,示例应用程序在调用EJB方法时显式传递用户名。
To overcome this problem, the sample application passes the user name explicitly when calling an EJB method.
下一节讨论在构建和运行示例应用程序时所需的软件组件。
The next section discusses all the software components you need in order to build and run the sample application.
在本示例中,应用程序SOAP消息和WS - AT事务消息交换使用不同的端点url和TCP端口。
In this example, application SOAP messages and WS-AT transaction message exchanges use different endpoint URLs and TCP ports.
应用推荐