?????? 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 the new technologies used by the main character in this article? --? 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. So the two XML applications described in this article-XML? Server and XML-enabled? Web? Server as an example. Let's discuss how to apply the XML technology together with everyone .?
Section 1: What is XML? Server and XML-enabled? Web? Server ??
What is XML? Server ?? Accurately define XML? The concept of server is difficult, because it is a relatively new and extensive concept. Although many products have already called themselves XML? Server, for example, datachannel of datachannel? Server? 4.1; software? AG's Tamino; excelon company's excelon, but in terms of application scope and functions, each product is different, so here it is not XML? Server defines, but summarizes some of the features shared by these products, and explains XML in a descriptive way? Server concept .?
To put it simply, XML? Server is a data platform that 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. Why is it XML? Server instead of XML? Database, is that because of XML? What is the database range ratio to XML? Server is more widely used? Bourret .? In XML? Database? Description in products, XML? Database 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? Is the server considered XML? Database .?
XML-enabled? Server is relatively easy to understand, because it is essentially a web? Server, for the client, the client does not feel it and the traditional web? What are the differences between the server and the XML-enabled server on the request processing method? Web? Server and traditional web? Server is totally different in two ways, which 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? After the server combines the content and form to publish the final result to the web? Server. Therefore, this is a fat server and thin customer model. This mode is the same as Microsoft's XSL? The design philosophy of parser integration into IE is completely different. Its advantage is that it can provide documents in their respective formats for different devices to browse the Web without manual interference .?
= 538) {This. width = 538;} "border = 0>
= 538) {This. width = 538;} "border = 0 Pop =" Click here to open an image in a new window ">
We can see from the figure above that XML-enabled? Web? Server and traditional web? Server.
Section 2: Why do we need XML? Server?
Why do we need it? This is because of XML? The server uses XML technology. Why do we need XML? The reason for the server, at the same time, XML? Server can provide better ability to manage XML format data than simple XML documents! In addition, it can avoid the process of data conversion 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: What are their problems?
Any new technology will have many shortcomings before it is completely mature. xml? Server is the same as XML-enabled? Server is no exception, except for common problems of new products (such as time-consuming learning. I think they have the following Disadvantages :?
For XML? Server :?
XML? The performance of server is my biggest concern! Because it adopts a new data organization method, which has not been widely used in the past. Just as we have reason to look at XML? At the same time as the development prospects of server, we 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. How many typical XML files can we take a look? Server product configuration requirements .?
△? 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 XML-enabled? Web? The server is too complex to compare the original HTML and traditional web? There are still too few people who use XML advanced technologies to build the web, and the installation of the server is too complex, and the development tools are too professional. How can a computer beginner quickly learn how to use it .?
Section 5: XML? Is server a typical product?
1. What is datachannel of datachannel? Server? 4.1?
An enterprise information portal that provides effective enterprise information management, publishing, and reuse. It features :?
● Store data in pure XML format (that is, XML data is not converted into a relational database )?
● Is the XML hierarchical data structure more efficient than relational database management?
● Supports data access through standard web protocols?
= 538) {This. width = 538;} "border = 0>
We can clearly see the role of datachannel in enterprise information management .?
Software? Tamino OF Ag?
Tamino? It is a convenient and efficient e-commerce platform. It uses 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 the e-commerce process .?
= 538) {This. width = 538;} "border = 0>
Section 6: XML-enabled? Web? Server? Products?
In XML-enabled? Web? Server? Among the products, cocoon is probably the most striking. Is it Apache? Software? Foundation? (ASF) a free group developed with pure Java technology? Code XML-enabled? Web? Server product, with Apache? Web? Server name. I'm 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 processing here is different from the traditional idea of using ASP or PHP to read the database to generate files .)?
● 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. In addition, cocoon is similar to the traditional web? Server is almost no different .?
Section 7, 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. How many typical XML statements are introduced in this article? Server? And XML? -Enabled? Server products, but in fact there are still many other products not mentioned. Here I am going to be a mentor. I hope I can see other articles in this regard in the future .?
This article is a reprinted article