清单9是示例应用程序的远程服务异步接口。
Listing 9 is the remote service asynchronous interface for the sample application.
清单16给出用于测试这个服务的单元测试,这对于开发示例应用程序是必需的。
Listing 16 shows a unit test to test this service, which was essential to developing the example application.
清单7显示了银行应用程序的验证和帐户服务的配置。
Listing 7 shows the configuration for the banking application's authentication and account services.
以下清单显示了三个服务的应用程序接口。
The listings below show the application interfaces for the three services.
清单8中的代码段显示要在此服务上配置事务,需要添加到Spring应用程序上下文文件的内容。
The code segment in Listing 8 shows what needs to be added to the Spring application context file to configure transactions on the service.
清单4中的 <sca:reference>元素声明此应用程序上下文对由复合集中其他可用的 SCA组件提供的服务的依赖关系。
The <sca:reference> elements in Listing 4 declare the dependencies of this application context on the services provided by other SCA components available within the composite.
现在看看清单2中的标记,它表示外部服务提供者,如DonorGroup应用程序。
Now look at the tag in Listing 2, which represents an external service provider such as the Donor Group application.
清单4展示的RPG客户端应用程序使用创建的rpg存根来调用converttempWeb服务操作。
Listing 4 shows the RPG client application using the created RPG stubs to invoke the converttemp web service operation.
清单2显示了contactsservice类,它充当应用程序服务。
Listing 2 displays the ContactsService class, which ACTS as the application service.
在清单7中所示的Web服务应用程序的客户机部分中,HelloWorld . jsp首先使用HTML标记提示用户输入名称。
In the client portion of the Web service application shown in Listing 7, HelloWorld.jsp first prompts the user to enter a name by using the HTML tag.
清单7(删除了日志)中的代码展示了如何从Web服务订阅中派生SIP应用程序会话。
The code in Listing 7 (with logging removed) shows how an SIP application session is derived from the Web service subscribe.
现在您可以配置一个其实现为osgi应用程序并提供一个SCA服务的SCA组件,如清单13所示。
Now you can configure an SCA component whose implementation is an OSGi application and which provides an SCA service (Listing 13).
清单10展示了为这个应用程序开发的示例Web服务部署描述符。
Listing 10 shows the sample Web services deployment descriptor developed for the application.
清单3显示另一个标记,它描述了如何配置SE—一个内部服务提供者(例如Radiology Department应用程序)?
Listing 3 shows another tag that tells how to configure an se - an internal service provider (such as the Radiology Department application)?
清单3中代码的第二部分包含用于从数据库服务器获得适当XML数据并在应用程序服务器中对数据进行处理的逻辑。
The second portion of the code in Listing 3 contains the logic that obtains the appropriate XML data from the database server and manipulates it in the application server.
许多企业为运行应用程序,比如数据库、应用服务器、变更管理系统和缺陷跟踪工具,准备了一个硬件清单。
Many businesses have an inventory of hardware for running applications such as databases, application servers, change-management systems, and defect-tracking tools.
正在运行的服务和应用程序使用+号表示,如清单2所示。
Running services and applications are noted with + symbols, as shown in Listing 2.
这个模式首先查询云环境提供商的应用程序编程接口(API),查找当前服务器的清单,然后中央服务器会联系各个服务器完成这项工作。
This pattern first queries the cloud provider's application programming interface (API) to find the current list of servers, then a central server contacts each server to do the work.
现在试着在一台计算机上运行命名服务器,用同一个命令行(当然,对URL再次做了调整)在另一台计算机上运行清单2中的应用程序。
Now try with the nameserver running on one machine and the application in Listing 2 running on another, using the same command line (though with the URL adjusted again, of course).
GreetingService Impl是问候服务应用程序的实际实现,如清单5所示。
GreetingServiceImpl is the actual implementation of the greeting-service application, shown in Listing 5.
清单5显示了最小的capistrano脚本,将应用程序推动到一系列已知的服务器。
Listing 5 shows a minimal Capistrano script to push an application to a known set of servers.
门户应用程序与sharedlib服务的依赖性是在清单6所示的门户应用程序部署计划中指定的。
The portal application's dependency on the sharedlib service is specified in the portal application deployment plan in Listing 6.
清单2是作为应用程序用户运行的,准备好了服务器,这样用程序用户就可以使用SSH连接到本地服务器,然后Capistrano任务就可以运行。
Listing 2, which is to be run as the application user, prepares the server so that the application user can use SSH to connect to the local server as itself and the Capistrano tasks can be run.
清单10中展示的应用程序清单文件需要表明这个服务应该在OSGi应用程序外部可见。
The application manifest shown in Listing 10 needs to indicate that this service should be visible outside the OSGi application.
第2步:应用程序使用CoordinationContext中指定的注册服务进行注册,如清单3所示。
Step 2: the application registers using the Registration Service specified in the CoordinationContext as shown in Listing 3.
为Web应用程序服务器将清单2中的代码复制到适当的htdocs目录中。
Copy the code in listing 2 into the appropriate htdocs directory for your web application server.
当我的应用程序在Google的服务器上启动时,清单8中的代码会得到调用。
When my application starts up on Google's servers, the code in Listing 8 will be invoked.
CreateCoordinationContext请求从应用程序被发送到激活服务,如清单14所示。
The CreateCoordinationContext request is sent from application to the Activation Service as shown in Listing 14.
CreateCoordinationContext请求从应用程序被发送到激活服务,如清单12所示。
The CreateCoordinationContext request is sent from application to the Activation Service as shown in Listing 12.
CreateCoordinationContext请求从应用程序被发送到激活服务,如清单1所示。
The CreateCoordinationContext request is sent from application to the Activation Service as shown in Listing 1.
应用推荐