SCA modules are described as a SCDL file.
SCA模块是作为SCDL文件描述的。
Listing 6 shows a service client SCDL example.
清单6显示了一个服务客户端SCDL示例。
You use SCDL to define security permission and identity.
要使用SCDL来定义安全权限和标识。
Our SCDL file would bind the interface to a WSDL document.
我们的SCDL文件可以将接口绑定到WSDL文档。
The SCDL for the SCA module is contained in the file called sca.module.
SCA模块的SCDL包含在名为sca.module 的文件中。
A reference is represented in SCDL on the calling component as shown below
对调用组件的引用是用 SCDL 表示的,如下所示
An example of how to use this attribute in the SCDL is shown in Listing 7.
清单7给出了如何在WSDL中使用此属性的示例。
A service component is defined in a service component Definition Language (SCDL) file.
服务组件是在服务组件定义语言(ServiceComponentDefinition Language,SCDL)文件中定义的。
The intents relating to transactions are specified at the implementation element in SCDL.
与事务相关的意图在SCDL中的implementation元素指定。
The binding element is formally described by SCDL such that the form is similar for all binding elements.
binding元素在SCDL中正式描述为与所有binding元素类似的形式。
The service side the SCDL would look like Listing 11, and the reference side SCDL would look like Listing 12.
服务端SCDL将与清单11所示类似,而引用端scdl将与清单12所示类似。
For example, we store the SCDL for the interface and implementation in a file called CreditApproval.component.
例如,我们将接口和实现的SCDL存储在一个名为 CreditApproval.component 的文件中。
In our example, a third file we will define is the sca.module. This SCDL file will contain the definition for the module.
在我们的示例中,我们将定义的第三个文件是sca . module。
Remotable services can be made available as SCA services over the SCA default binding without the need for defining an SCDL.
可远程访问的服务可以通过SCA默认绑定作为 SCA 服务予以提供,而不必定义SCDL。
The bindings are part of the SCDL definition so that the business logic (implementation) does not need to be polluted with this detail.
绑定是SCDL定义的一部分,这样就不需要使用此详细信息填充业务逻辑(实现)。
You can easily add extra data-sources alongside the currently supported data-sources simply by changing the SCDL and a few lines of code.
通过直接更改SCDL和一些代码行,即可方便地添加其他数据源,从而与当前支持的数据源一起使用。
The transaction policy can be specified using intents on component implementations, bindings in the SCDL, or language-specific annotations.
事务策略可以使用意图在组件实现、SCDL中的绑定或特定于语言的Annotation上指定。
These intents are specified at the interaction level, typically in the binding elements of the SCDL. The supported interaction intents are.
这些意图在交互级别指定,通常在SCDL的binding元素中。
We will see examples of how SCDL defines other SCA artifacts, such as service references, imports, and exports, throughout this article series.
在这一系列文章中,我们将看到SCDL如何定义其他SCA构件(如服务引用、导入和导出)的示例。
The following SCDL example shows how an SCA service can be exposed as both a Web service and an EJB service without changing the business logic.
以下SCDL示例显示了SCA服务可以如何在不用更改业务逻辑的情况下作为Web服务和EJB服务公开。
SCA defines an XML language, Service component Definition language (SCDL), which allows developers to define the components and the wiring between them.
SCA定义了一种xml语言服务组件定义语言(Service Component Definition Language,SCDL),该语言允许开发人员定义组件并将其连接起来。
Implementation is made easier by the ability to kick-start development through the import and export of the SCDL file that describes the business process.
导入和导出描述业务流程的SCDL文件来加快开发,这种能力让实现变得更加容易。
The repository allows users to store, manage and query service metadata artifacts holding service descriptions (WSDL, XSD, WS-Policy, SCDL or XML documents).
存储库允许用户存储、管理和查询包含服务描述的服务元数据构件(WSDL、XSD、WS-Policy、SCDL或XML文档)。
To specify a requirement for all access to a service to be authenticated by the transport protocol, the SCDL file might look like this (for the "AccountService" service)
要指定需求,让服务的所有访问通过传输协议进行身份验证,则 SCDL文件可能与以下所示类似(“AccountService”服务)
Module assemblies are captured in .component files that use Service Component Description Language (SCDL), which is an XML document language for service component assemblies.
可以在使用服务构件描述语言(SCDL)的 .component文件中找到模块集合,它是服务构件集合的XML文件语言。
Although the transformation comes with three extensions, it is not limited to these three (a high-level UML, a generic SCDL decomposition, and an empty implementation for Do not transform).
虽然转换伴随三个扩展,但是不限于这三个(高层次的UML,一般的SCDL分解,和Do Not Transform的空的实现)。
By making small changes to the SCDL, it is easy to reorder or replace components or add in new functionality, enabling new mashups to be created. The SCDL for the Alerter Composite is as follows.
通过对SCDL进行小的改动,可方便地对组件进行重新排列或替换,或添加新功能,从而创建新Mashup。
A use case that requires messages for a service be stored in a message engine and persist across server restarts would need to specify the following in its SCDL (for the "OrderStatusService" service).
如果用例需要将服务的消息存储在消息引擎中,并跨服务器重启,则需要在其SCDL中指定以下代码(对于“OrderStatusService”服务)。
A use case that requires messages for a service be stored in a message engine and persist across server restarts would need to specify the following in its SCDL (for the "OrderStatusService" service).
如果用例需要将服务的消息存储在消息引擎中,并跨服务器重启,则需要在其SCDL中指定以下代码(对于“OrderStatusService”服务)。
应用推荐