`
endual
  • 浏览: 3510519 次
  • 性别: 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.   

分享到:
评论

相关推荐

    Oracle_Service_Registry uddi 安装与使用

    Oracle_Service_Registry uddi 安装与使用

    bw query以webservice的形式发布到UDDI Registry

    介绍了怎样以web service的形式读取bw query的数据

    uddi注册中心uddi资料

    uddi注册中心 uddi注册中心资料 uddi注册中心

    uddi-web服务

    UDDI 是一个公共的注册表,旨在以一种结构化的方式来保存有关各公司及其服务的信息。通过 UDDI,人们可以发布和发现有关某个公司及其 Web 服务的信息。这些数据使用标准的分类法进行分类,因此可以按分类来查询信息...

    uddi使用说明v3

    uddi使用说明 uddi详细文档 设计规范文档 最新版本v3

    UDDI Version 3.0.2 Specification 带完整目录

    The UDDI Version 3.0.2 Specification describes the Web services, data structures and behaviors of all instances of a UDDI registry. 带完整目录

    论文研究-基于LDAP的UDDI注册中心设计与实现.pdf

    UDDI 注册中心是Web Service 技术体系中的重要组成部分, UDDI 的数据特征和操作...详细分析了UDDI 的信息模型, 结合目录服务技术提出基于LDAP 的UDDI 系统架构, 在此基础上实现了灵活、高效、低成本的UDDI 注册中心。

    基于领域本体的分布式UDDI互联架构 (2007年)

    该文通过领域本体对UDDI的传统工作机制进行扩展,提出了UDDI代理(UDDI Broker)的概念,通过UDDI代理构建分布式的UDDI互联架构,阐述了使用UDDI代理进行服务发布和服务请求的工作过程及相关问题。

    理解 UDDI .pdf

    理解 UDDI,学习web service。

    webservice uddi,服务端

    ws在uddi中注册,销毁。客户端通过wsdl文件再uddi中查找需要的ws,然后远程调用。只上传几个重要文件。

    使用UDDI4J连接JUDDI

    通过UDDI4J连接JUDDI,搭建自己的服务注册中心

    利用WSDL和UDDI为公共WebService建立统一接口

    介绍了WSDL和UDDI的基本概念,以及如何利用WSDL和UDDI来建立统一接口。

    uddi4j.jar

    用于测试juddi的客户端,一般是使用uddi的 API UDDI4J作为客户端

    Microsoft UDDI SDK

    Microsoft UDDI SDK,用于UDDI客户端开发,可以进行UDDI的发布、查询等

    OWL-S2UDDI

    将OWL-S的Profile注册到UDDI 支持jUDDI

    UDDI白皮书.pdf

    UDDI白皮书,描述了UDDI的规范,UDDI的使用及运行原理

    理解 UDDI 注册中心的 WSDL

    Web 服务描述语言(WSDL)有多种用法。特别是,根据应用程序的需要,WSDL 在 UDDI 注册中心有好几种使用方法

    以编程方式使用uddi代码

    以编程方式使用uddi代码 ibm官方理解web服务规范第3部分的源代码,希望对大家有帮助。

    理解UDDI

    UDDI项目鼓励Web服务相互操作和相互采用。它是一种工商界居于领先地位的企业之间...本文将介绍 UDDI 和它在 Web 服务发展过程中所起到的促进作用。您可以了解到 UDDI 的工作原理,并发现 UDDI 规范新的即将出现的功能。

    Uddi注册中心客户端源码以及教程

    另外,贴出自己写的解析wsdl文件 注册到uddi 中心 以及查找 源代码。生成数据库的脚本放在文件目录下,这里的数据库测试环境为sqlserver2005,由于数据库中,原来的描述字段为255varchar型,由于实际的wsdl文件的描述...

Global site tag (gtag.js) - Google Analytics