`
endual
  • 浏览: 3558371 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
社区版块
存档分类
最新评论

UDDI Registry架构及作用

 
阅读更多

 


The diagram above shows the software layers and components employed in the jUDDI project implementation for UDDI v3. Here is a brief description of each item in the diagram and how they all work together to create the UDDI-compliant registry that is jUDDI:

  1. Transport - the transport layer provides the means to receive and send out requests via a network or messaging service. The UDDI specification details an interface where XML messages are exchanged between client and server but is agnostic as to how those messages are relayed. By default, jUDDI uses Apache CXF to transport messages via SOAP over HTTP, however, the system is designed so other methods of transport can be easily plugged in (for example, JMS).

  2. Security - security is provided by the UDDI specification and is based on policies defined in the specification. jUDDI implements all the mandatory policies and can be extended to support the optional policies. Chief among these policies is access control to the UDDI API exposed by jUDDI. jUDDI fully implements this policy, per the specification, which allows users to easily plug in their own third-party authentication framework.

  3. UDDI Interface - the UDDI interface defines the methods set forth by the UDDI specification to interact with the registry. Within jUDDI, the interface classes are generated from the UDDI WSDL and they are implemented as POJOs. These classes are annotated with JAX-WS annotations allowing end-users to easily employ any suitable JAX-WS container to expose the interface.

  4. In general, the interface implementation accepts incoming UDDI-based requests and ummarshals these requests to the appropriate schema object. This object is then served to the proceeding layers so the necessary logic can be performed to fulfill the request. After the request is fulfilled, this layer is responsible for marshalling the result and sending the response to the requesting party.

  5. As the interface is implemented as POJOs, it can be accessed via an "embedded" mode. In this scenario, the methods of the implementation classes can be called directly. This allows users to embed jUDDI directly into their application without having to deploy a full-blown jUDDI server.

  6. UDDI Schema Objects - The UDDI specification comes equipped with an XML schema for its many data structures. jUDDI employs XML-binding technology (JAXB) to generate objects from the schema (contained within the WSDL) that are then used as the arguments for the UDDI Interface layer. These objects needn't originate from XML – they can also be instantiated directly to make UDDI calls directly in java code.

  7. Validation – the validation layer reads the schema object input from the UDDI interface layer and, based on rules defined in the specification, makes sure the input is valid for the given UDDI method. Failed validation results in an exception and an immediate return from the method call.

  8. Mapping – the mapping layer is responsible for mapping the UDDI schema objects to the persistence layer model. For all intents and purposes, the mapping layer simply copies data from a schema object to the similar model object. This occurs in both directions, as input objects must be mapped to the model to perform the necessary logic and results obtained from the call must be mapped back to the schema as output to the caller.

  9. Business Logic - the business logic layer is responsible for performing all the business logic associated with the UDDI calls. The logic layer works with objects from the persistence layer and generally consists of querying the model based on user input.

  10. Persistence - the persistence layer, as its name implies, is responsible for persisting registry data to a storage medium. To this end, a third-party persistence service that implements the Java Persistence API (Apache OpenJPA, Hibernate) is utilized to manage transactions with the storage medium and also to facilitate the plugging-in of various storage types. By default, jUDDI is packaged with Apache OpenJPA as the persistence provider and Apache Derby as the storage medium. This can easily be configured.   

分享到:
评论

相关推荐

    WebSphere Service Registry and Repository Handbook

    《WebSphere Service Registry and Repository Handbook》是一本全面介绍SOA理论和技术的重要参考资料,不仅深入浅出地讲解了SOA的基本概念和技术细节,还特别强调了服务注册库和存储库在SOA中的重要作用,对于从事...

    WebService的安全机制

    UDDI 安全是指在 UDDI registry 中实施的安全保护措施,包括访问控制、身份验证、数据加密等,以保护 UDDI registry 中的服务信息。UDDI 安全机制可以保护 UDDI registry 中的服务信息,防止恶意攻击和未经授权的...

    uddi4j

    1. **服务目录(Service Registry)**:UDDI的核心是服务目录,它是一个中央数据库,存储了关于服务提供者、服务和它们的联系信息。通过这个目录,服务消费者可以找到并访问所需的服务。 2. **业务实体(Business ...

    基于UDDI的Web服务注册中.pdf

    服务架构(SOA)的关键组成部分,它允许不同的系统和应用程序通过网络进行通信和交互,而无需关心底层的技术细节。Web服务通常使用SOAP(Simple Object Access Protocol)进行消息交换,WSDL(Web Services ...

    SOA面向服务的架构.pdf

    15. UDDI Registry允许服务提供者动态发布服务,使用者方便查找,管理者集中管理,并通过UDDI找到服务描述(不是替代WSDL)。 16. 松耦合在SOA中通过Web服务接口、使用ESB和查询UDDI服务器等技术实现。 17. 如果...

    构建基于SOAP_UDDI的校园Web分布式信息系统.pdf

    构建基于SOAP/UDDI的校园Web分布式信息系统是一项针对高校信息化建设的重要举措,旨在解决校园信息孤岛和数据重复问题,通过引入SOAP/UDDI技术,在现有的各种MIS资源上构建起一个基于私有UDDI的信息共享平台,实现...

    面向服务架构SOA与web资料源码

    面向服务架构(Service-Oriented Architecture,简称SOA)是一种软件设计和开发的策略,它强调将业务功能作为独立的服务,这些服务可以通过网络进行交互,从而实现不同系统间的互操作性和集成。SOA的核心思想是将...

    Web Service Standards for Service Registry and Repository(PDF,296KB)

    服务注册中心和服务存储库在服务生命周期的各个阶段中扮演着核心角色,管理服务...这些标准不仅提升了服务的可管理性和可重用性,还促进了服务生态系统的健康发展,对于构建灵活、高效和可扩展的现代IT架构至关重要。

    云环境下服务发现架构研究.pdf

    在云服务发现架构中,通常涉及三个核心组件:云服务提供者(Service Provider)、云服务请求者(Service Requester)和服务注册中心(Service Registry)。云服务提供者负责发布和管理其服务,服务请求者负责表达其...

    主动分布式Web服务注册机制研究与实现

    传统的服务注册库通常遵循UDDI(Universal Description, Discovery and Integration)标准,以及基于UDDI的UBR(Universal Business Registry)系统。然而,当前的UBR系统存在明显的局限性和缺陷:一方面,由于UBR中...

    校园分布式环境下基于Web Services的信息平台构架的研究.pdf

    利用JWSDP中的技术,如JAXR、JAX-RPC和Java WSDP Registry Server,可以更容易地实现UDDI注册中心的建立,完成服务的发布、查找和调用。 ### 知识点六:JAXR、JAX-RPC和Java WSDP Registry Server - **JAXR(Java ...

    webservice

    - **支持的注册服务类型**:包括JAXR Pluggable Provider、Registry-specific JAXR Provider、JAXR Bridge Provider(支持UDDI Registry和ebXML Registry/Repository等)。 - **支持级别**:Level 0支持UDDI注册;...

    跨平台的SOA实施工具BEA AquaLogic

    BEA AquaLogic是一款强大的跨平台服务导向架构(SOA)实施工具,旨在帮助企业实现信息、服务和业务流程的自由流动,以应对市场变化带来的挑战。传统的IT架构往往由多个平台(如IBM、BEA、Microsoft、SAP、Oracle)和...

    NIIT ISAS SOA

    SOA是一个架构模型,而Web服务是实现SOA的一种具体方式,利用一组标准(如WSDL、UDDI和SOAP)来创建和通信服务。虽然Web服务是SOA的重要组成部分,但SOA不局限于Web服务,也可以通过其他协议和技术实现。 与CORBA...

    智能检索引擎中的网络数据挖掘技术优化研究.pdf

    研究中提到的UDDI Registry智能检索模型就是一个很好的案例,它能够根据用户的需求快速准确地从大量网络数据中检索出详细信息。 为了实现网络数据挖掘技术的优化,研究者需要从算法层面和结构设计层面进行深入探讨...

    在Eclipse上使用XFire开发WebService.pdf

    Web服务架构涉及三个主要角色: 1. **服务提供者(Service Provider)**:创建和提供Web服务的实体。 2. **服务请求者(Service Requestor)**:消费Web服务的客户端应用程序。 3. **服务注册器(Service Registry)**:...

    面向服务的ms同SOA结合

    这一过程包括识别输入和输出参数,以及生成WSDL(Web Services Description Language),使得这些服务能够在UDDI(Universal Description, Discovery, and Integration)目录中注册和被发现。 SOLA的一个关键优势...

Global site tag (gtag.js) - Google Analytics