Previous Topic

Next Topic

Advantages and Disadvantages of Descriptors

The advantages of working with Descriptors over using APIs include:

  • You can define an interface for a client while allowing the implementation to evolve, even at runtime. That is, you can have live development using loosely coupled components.
  • Descriptors are referenced as URLs, so Mulgara servers can use Descriptors from remote machines.
  • Descriptor interfaces are well defined in RDF, so humans or applications can discover Descriptors that meet their needs.
  • Descriptors are SOAP accessible and described in WSDL, and are therefore usable from other languages and platforms such as Perl, Microsoft® Visual Basic® and the Microsoft .NET Framework.
  • Descriptors are fast because they use optimized XSL objects and queries are performed on the server. They are not much slower than working with APIs directly.

In This Section

See Also

Descriptors

What are Descriptors?

Namespaces and Descriptors

The <query> Tag

The <descriptor> Tag

Reserved Parameters

Descriptors FAQ

Common Mistakes

Descriptor Examples

The disadvantages of developing Descriptors include:

  • Developing Descriptors requires knowledge of XSL.
  • Debugging Descriptors is difficult when using deeply embedded Descriptors due to the layers of components involved.
  • Large XML results have higher memory and CPU requirements than when using APIs directly.

The disadvantages of using Descriptors include:

  • Only string parameters are allowed, although this may change in the future to support complex data types.
  • Session type functionality is not available when developing HTML web applications, unless used from the application server.
  • Descriptors declare their input parameters in a machine understandable format, but not their output capabilities.
Open Source logo

© 2001-2004 Tucana Technologies, Inc. Some rights reserved.

© 2006 The Mulgara Project. Some rights reserved.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License".