Introduction to XML server and XML-enabled web server

Source: Internet
Author: User
With the growth of Internet networks day by day, Internet has become an indispensable tool for people. In order to make better use of the technical capabilities of networks, however, we strive to import all kinds of information into the bit ocean in different ways, and the ocean of this information has become immense. People are now swallowed up by overwhelming information, so that I feel the danger of being in the sea. We cannot use this resource in a concise and effective manner. A large amount of information waste makes it as difficult to distinguish the value of information as treasure hunt in the deep ocean. But in fact there are still many types of information that are not in or are preparing to enter the network, but it is obvious that the original information management technology cannot meet people's needs. To solve this problem, many new technologies have been developed, including our article Article The new technology used by the main character in. xml.

For the XML technology, I think you have a good understanding of it, so I will not introduce it more. However, I feel that there are still few articles on how to use XML to develop applications so that they can play a real role. This article introduces two types of XML applications-XML server and XML-enabled web server, and discusses how to apply XML technology together with everyone.

Section 1: What are XML server and XML-enabled web server?
What is XML server? It is difficult to accurately define the concept of XML server, because it is a relatively new and widely used concept. Although many products already call themselves XML server, for example: datachannel company's datachannel Server 4.1; Software AG company's Tamino; excelon company's excelon, but in terms of application scope and functions, each product is different, therefore, we will not define the XML server here, But summarize the common features of these products and explain the concept of XML server in a descriptive way.

To put it simply, XML server is a platform for providing data. It can interact with distributed applications in the form of XML documents. E-commerce and B2B applications. This sounds like a traditional database. It provides data storage and extraction functions like a database, but the data format is based on XML. Therefore, in terms of data processing, the technology used is completely different from that used by traditional databases. However, aside from this, we can think of it as an XML database in a broad sense. For the reason why it is called XML server rather than XML database, it is because XML database is more widely used than XML server, according to Ronald bourret. the description in XML database products contains six types of products:
1. Middleware

2. XML-enabled databases

3. xml servers

4. XML-enabled web servers

5. Content Management Systems

6. Persistent Dom implementations

XML server is considered to be one of the XML databases.

XML-enabled server is relatively easy to understand, because it is essentially a Web server. for the client, the client will not feel the difference between it and the traditional Web Server when browsing the Web, but in fact, XML-enabled web server and traditional Web server are two completely different ways for the server to process requests, this is determined by the characteristics of XML and HTML documents. As we all know, XML documents are data-centric documents. XML documents themselves do not have formatted Information, but are presented through specific XSL or CSS. Data and performance are separated. After the client submits the request, the XML-enabled web server combines the content and form to publish the final result to the Web server of the client. Therefore, this is a fat server and thin customer model. This pattern is completely different from Microsoft's design philosophy of integrating XSL parser into IE. It provides documents in the corresponding format for different devices to browse the Web without manual interference.

The preceding figure shows the differences between the XML-enabled web server and the traditional Web server.

Section 2: Why do we need XML server?
Why do we need it? This is because the XML server adopts the XML technology. We need XML reasons, which is also the reason why we need the XML server. At the same time, the XML server provides better ability to manage XML format data than simply XML documents! In addition, it can avoid the data conversion process when using traditional databases, and achieve efficiency.

Section 3: Why do we need XML-enabled web server?
The ability to separate data from performance may be the greatest hope and wish of Web workers. I really don't need to say anything about this. :)

Section 4: their problems
Any new technology will have many shortcomings before it is completely mature. XML server and XML-enabled server are no exception, except for common problems of new products (such: time required. I think they have the following Disadvantages:

For XML server:

What is the performance of XML server! Because it adopts a new data organization method, which has not been widely used in the past. Just as we have reason to be optimistic about the development prospects of XML server, we also have reason to be skeptical about such products that have not been used in a wide range. It turns out that my worries are not unreasonable. Let's take a look at the Configuration Requirements of several typical XML server products.

△Datachannel Server 4.1 hardware requirements in Windows:

500 MHz or faster Pentium III processor with at least 256 MB of RAM

△Datachannel Server 4.1 hardware requirements in Windows:

Sun ultra 10 or equivalent. At least 256 MB of RAM

△Tamino hardware requirements in Windows:

At least 300 MHz or faster. At least 256 MB of RAM

For XML-enabled web server:

The biggest problem is that the XML-enabled web server is too complicated. There are still too few people who use the advanced technologies such as XML to build the web with HTML and traditional Web servers, server installation is too complex, and development tools are too professional. How to make computer beginners quickly learn how to use it is another problem that needs to be solved.

Section 5 typical XML server products
1. datachannel Server 4.1

An enterprise information portal that provides effective enterprise information management, publishing, and reuse. It features:

● Storage of data in pure XML format (that is, XML data is not converted into a relational database)

● XML hierarchical data structure makes it more efficient than relational database management

● Supports data access through standard web protocols

We can clearly see the role of datachannel in enterprise information management.

Software AG's Tamino

Tamino is a convenient and efficient e-commerce platform that leverages advanced XML technology to make the e-commerce process more approachable. It depicts a solution diagram of Tamino, from which we can clearly see the role of Tamino in e-commerce.

Section 6: XML-enabled web server products
In the XML-enabled web server product, cocoon may be the most striking. It is Apache Software Foundation (ASF) A free code XML-enabled web server product developed by the team using pure Java technology. With the Apache web server name header, I am afraid no one will be interested in this product.
Next we will briefly introduce this product.
1. Running Environment: cocoon can run in the system shown in the following table. We can see that cocoon is applicable to a wide range of environments.
Operating System Web Server Servlet Engine JVM
Debian potato or woody Apache 1.3.12 jserv 1.1.2 ibm jdk 1.1.8 or 1.3
RedHat Linux 6.0 Apache 1.3.9 Apache JServ 1.0 ibm jdk 1.1.8
RedHat Linux 6.0 Apache 1.3.9 Apache JServ 1.1b3 ibm jdk 1.1.8
RedHat Linux 6.0 Apache 1.3.9 Apache JServ 1.0 Blackdown JDK 1.2pre2
RedHat Linux 6.1 Apache 1.3.9 JRun 2.3.3 ibm jre 1.1.8
RedHat Linux 6.1 (i686) Apache 1.3.11 Apache JServ 1.1 Sun JDK 1.2.2
RedHat Linux 6.1 (i686 Apache 1.3.11 + mod_ssl 2.5.0 Apache JServ 1.1 ibm jdk 1.1.8
RedHat Linux 6.1 Apache 1.3.12-2 jserv 1.1.2-2 JDK 1.2.2 _ 006
RedHat Linux 6.2 (i686) Apache 1.3.12 + mod_ssl 2.6.5 JRun 2.3.3 Sun JDK 1.2.2
RedHat Linux 6.2 Apache 1.3.12-2 Tomcat 3.1 JDK 1.2.2 _ 006
RedHat Linux 6.2 (i686) Apache 1.3.12 resin 1.2.b1 Sun JDK 1.2.2
SuSE 6.3 Linux Apache 1.3.9 Apache JServ 1.1 Sun JDK 1.2.2
SuSE 7.0 Linux (2.2.16) Apache 1.3.12 Apache JServ 1.1.2, Tomcat 3.1 ibm jdk 1.3
Windows 98 Apache 1.3.9 Apache JServ 1.0 Sun JDK 1.2.2
Windows 98 Apache 1.3.9 Apache JServ 1.0 ibm jdk 1.1.7
Windows 98 Apache 1.3.9 Apache JServ 1.1b3 Sun JDK 1.2.2
Windows 98 Apache 1.3.9 Apache JServ 1.1b3 ibm jdk 1.1.7
Windows 98 MS Personal Web Server ServletExec 2.2 Sun JDK 1.2.1
Windows NT 4.0 IIS 4.0 ServletExec 2.2 Sun JDK 1.2.1
Windows NT 4.0 IIS 4.0 JRun 2.3.3 Sun JDK 1.2.1
Windows NT 4.0 Apache 1.3.9 JRun 2.3.3 Sun JDK 1.2.2
Windows NT 4.0 Apache Jakarta Tomcat 3.1 Milestone 1 Sun JDK 1.2.2
Windows NT 4.0 SP4 BEA WebLogic Server 5.1 SP3 Sun JDK 1.2.2
Windows NT 4.0 SP5 IIS 4.0 WebSphere 3.5 enterprise ibm jdk 1.2.2
Windows NT 4.0 SP6a Apache 1.3.11 Apache JServ 1.1 Sun JDK 1.2.2
Windows 2000 Professional Apache 1.3.12 Apache JServ 1.1 Sun JDK 1.2.2
Windows 2000 Professional Apache 1.3.12 Tomcat 3.1 Sun JDK 1.3
Windows 2000 Advanced Server Tomcat 3.1 JDK 1.3
MacOS 8.5 + resin 1.1b MrJ 2.2
MacOS 8.6 Tomcat 3.1 MrJ 2.2.2
MacOS 8.6 WebStar 4.0 JRun 2.3 MrJ 2.1.4
MacOS 8.6 WebStar 4.0 ServletExec 2.1 MrJ 2.1.4
MacOS 8.6 quid pro quo 2.1.3 ServletExec 2.2 MrJ 2.1.4
Solaris 2.5.1 Netscape-enterprise/3.6 SP3 ServletExec 2.2 Sun JDK 1.2.1
SunOS netria 5.6 Apache 1.3.9 Apache JServ 1.1b3 Sun JDK 1.1.7
Solaris 8 (iSCSI) Apache 1.3.12 Tomcat 3.1 Sun JDK 1.3 Beta refresh
Solaris 8 (x86) resin 1.2.b1 JDK 1.3 Beta
FreeBSD 3.4 Apache 1.3.9 Apache JServ 1.0 Blackdown JDK 1.1.8
FreeBSD 3.4-stable with linux_base-6.1 for Linux-emulation jetty Java HTTP server v2.3.3 Blackdown jdk-1.2.2-RC4-linux-i386-glibc
FreeBSD 4.1 (release) Apache 1.3.12 jserv 1.1.2 Linux JDK 1.2.2
SCO openserver 5 WebLogic 4.5.1 sco jdk 1.1.7a
OS/2 Warp 4 FP 12 gefion software litewebserver IBM JDK 1.1.8
Sgi irix 6.5.7 Apache 1.3.12 Apache JServ 1.1 Sun JDK 1.2.1 (SGI)

2. Cocoon processing process:
Cocoon divides website development into three layers:
● Content layer: Edit and use a defined DTD or schema to input the content to an XML file.
● Logic layer: the XML files required by the customer are processed logically (note that the logic here is different from the traditional idea of reading files from databases using ASP or PHP .)
● Presentation layer: the final style processing is performed using XSL for the result after the logic processing.
Therefore, the separation of data and performance is well solved. Therefore, cocoon supports publishing XML documents in common formats such as PDF, WML, and HTML. However, cocoon is almost the same as traditional Web servers.
Section 7 and end
At present, there are more and more people interested in XML in China, but there are still few XML documents in Chinese, I hope I can use this article to provide my XML application knowledge to anyone who is interested in XML. This article introduces several typical XML server and XML-enabled server products, but in fact there are still many other products that are not mentioned. Here I will be a mentor, I hope you can see other articles in this regard later.

This article is a reprinted article

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.