JavaWorld
addict
Reged: 06/20/03
Posts: 482
|
|
Use XML databases to empower Java Web services
|
Anonymous
Unregistered
|
|
can i use the XML Database in other applications? No Web Services....
|
Anonymous
Unregistered
|
|
Good article. One question. How is xml datastore organized? I am assuming its organized by application. For example each heteregenous application has it unique set of xml and its web services know how to query the data and some unique identier is used to query data across autonomous datasources Can you elaborate?
|
Robert Smik
Unregistered
|
|
A typical native XML database is organized as follows:
Server Instance can contain N number of databases; each database consists of N number of collections. XML document transactions such as: insert, update, delete, read and query are done against a collection. Each collection can have its own associated set of validating schemas. Each collection is associated with either internal data store or a JDBC mapped source. Web services are imported and used as sources within an XQuery statement itself. In addition HTTP, file system and other resources are accessible via XQuery directly. An XQuery statement can reference any number of collections.
When developing an application you will use collections as you would a relational database tables. One big difference between the 2 is that a relational table is flat, and an xml collection is hierarchical and thus can represent/persist an entire xml document.
|
Robert Smik
Unregistered
|
|
XML database does not require use of web services. They can be used just as any other database to insert, update, delete, read and query data persisted in the local database.
XML Databases are well suited to be the underlying data store for product information management, XML industry standards compliance solutions (for ebXML, HL7, SOX, etc.), content management solutions, websites, search engines, and a wide variety of other applications where hierarchical or unstructured data needs to be managed.
|
Anonymous
Unregistered
|
|
my understanding is that the webservices are deployed on the xml databases and hetergenous applications make calls to these web services which in turn query the xml database. If so what's the advantage or benefits of having a centalized xml db vs using webservices provided by each automous application to query across each disparate database. Can you provide input on this?
|