Juddi introduction and Configuration

Source: Internet
Author: User

1. juddi Overview

Juddi is a Web application and is actually a private UDDI registration center. Juddi is a Java-only web application. Therefore, it can be configured in any application server or Servlet Engine (servlet2.1 and later versions, jdk1.3 and later versions ). Juddi is composed of a core request processor, which is used for the UDDI requests received by the scattered set, call the corresponding UDDI function to coordinate the set of UDDI responses (the process of hash and column set is the process of mutual conversion between XML data and Java objects ).

To call the UDDI function, juddi uses three configurable sub-components or modules for respectively managing data storage (datastore)
Authentication (authenticator) and UUID generation (uuidgen ). These three components are implemented by default, and Java interfaces can be customized by developers.
(1). juddi datastore: juddi needs to store registration data. It uses JDBC and supports several different DBMS (such as Oracle, DB2, Sybase ). In addition, you must configure the JNDI data source (JDBC/juddidb) in the application server or servlet engine ).
(2 ). juddi authenticator: two steps are required to verify the identity of the juddi publisher. The first step is to confirm that the ID/password provided in the user's get_authtoken request is valid; (Of course, the authentication mechanism can also be customized by developers.) Step 2 ensure that the publisher has registered in juddi, that is, the table publisher contains user data.
(3). juddi uuidgen: the UDDI specification indicates that each business, service, binding, and tModel must be identified by a globally unique ID (UUID. In addition, juddi uses the uudi generator to create authtokens.

: Http://archive.apache.org/dist/ws/juddi/0_9rc3

2. install and configure

After you download juddi (the latest version is juddi0.9rc3), first create a database based on the database script under the provided SQL directory, and then copy the webapp/juddi folder to Tomcat's webapps. In addition, because the default juddi does not provide a database driver, you need to copy the corresponding database driver to Web-INF/lib.

Configure the Data source: juddi can be configured in either of the following ways: when deploying a web server (such as Tomcat), you must configure the JNDI data source in Tomcat, the method can be found in the "Tomcat details" article in my blog. Second, you need to configure the juddi. properties file under Web-INF when running outside the Web server or servlet engine.

Start Tomcat. Enter http: // localhost: 8080/juddi in the browser to view the index page. Click "Validate" to view the configuration information. If no error occurs, the installation is successful.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.