Introduction to Jadt, part 2nd

Source: Internet
Author: User

Use the Java dictionary and Thesaurus APIs to make your word reference available to Java users

In part 1th of this series, you learned some of the basics of JADT, JADT provides a transparent Java-centric way to access dictionaries or unstructured words and their related information. The main goal of JADT is to provide a standard technology for dictionary providers to support the Java platform. The 1th part introduces JADT from the perspective of the developer. In this article, I want to give the details of implementation, focusing on the perspective of the dictionary developer. I will take you through the details of the architecture of JADT and JADT, and provide information about all the classes and interfaces contained in JADT.

With the help of the JADT sample driver implementation, I'll discuss the required interface implementations for the driver. After that, you will have an overall impression of the JADT driver and the method that provides the driver.

JADT Architecture

The JADT architecture provides driver-based access to any type of back-end data. The dictionary provider implements the driver-side interface, provides an access point for the dictionary, and any program using the dictionary will use the Dictionary service's client interface. As a result, you can easily integrate the JADT architecture with a variety of developers and third-party drivers.

Driver implementation and JADT remain separate:

The role of JADT developers

If you want to use JADT to expose your dictionary or thesaurus, simply provide a JADT implementation. The JADT driver is located between developer data and Java programmers, allowing developers to provide services externally without fully disclosing their data and data formats. Turn. Java programmers can use the developer's data without going into the data and data format specific to a developer.

JADT driver developers can use the JADT interface and implement these interfaces according to their own custom. Once the driver is ready to access your data, you can enable it at your site. Links to this site can be used as a thread in the JADT access page.

It is important for JADT to work in all data dictionaries in a consistent way, so it is the developer's responsibility to implement all JADT interfaces and methods that meet the standards set by JADT. JADT's JADT Javadocs and interface definition documents clearly expose the objectives of interfaces and methods.

JADT realize near View

JADT defines multiple sets of interfaces and classes. Some interfaces are accessible, and some are optional, depending on the functionality your driver is supporting. If you want to fully support JADT, you must implement all interfaces according to the specifications defined in Javadocs. In this section, I'll give you all the details of these interfaces and class implementations.

The complete JADT interface and class set, as shown in the class diagram in Figure 2:

Figure 2. JADT class Diagram

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.