Making ASP Application System a Cross-platform application system

Source: Internet
Author: User
Tags copy file size iis interface connect pack versions java web
Since the introduction of Ms ASP technology, since the ASP in the creation of dynamic interactive site powerful features and the simplicity of code writing,

So that ASP on many Internet/intranet/extranet Web site has been extremely extensive application, especially related to database operations

Web Application system is more inclined to adopt ASP technology. However, due to well-known reasons, ASP can only work in MS's own operating system

Platform and server software, that is, can only be used in the Windowsnt+iis series or the WINDOWS9X+PWS series, thus determining

Limitations of ASP applications. According to relevant information, the use of Windows operating system platform and server software sites around 15%,

In other words, nearly 85% of the site will not be using ASP technology. In fact, many Web sites are based on Unix, Linux, Soris

and NetWare and other operating systems and the corresponding server, this shows that the ASP technology in the application does have a lot of restrictions.



Recently, a software company called "Halcycon" not only saw the advantages and limitations of ASP application system, but also proposed

The slogan "ASP anytime, Anywhere," and developed an ASP script interpretation engine software called iasp (Instant ASP),

Enables ASP to be used not only on Web sites with Windows operating system platforms and server software, but also on other operating systems

Used on web sites such as UNIX, Linux, Soris, NetWare operating systems, and corresponding servers. Iasp fully inherits the advantages of ASP, and

Fully compatible with ASP, so ASP application system can be directly ported to the IASP environment under the non-Windows operating system platform,

Make the ASP application system become a cross-platform Internet, intranet or extranet application system truly.



Compared with ASP, IASP has advantages not only in supporting operating system platform, but also in building ASP application system with third party components.

Obvious advantage. Iasp not only supports popular ActiveX components, but also supports popular enterprise Java beans components and CORBA

Compatible components, thus using ASP application system features more powerful, more widely used. In addition to MS Visual series development tools and Borland

Series development tools, you can also use Java Series development tools to make component developers more selective and more comfortable to drive

Send the component.



Iasp is available in two versions, one for Windows operating system platform and server software, the other for UNIX, Linux,

Soris, NetWare operating system and corresponding Server software. Iasp's current version is 1.0, its development version can be in the "Halcycon" soft

Free downloads on the company's Web site, the functionality is essentially the same as the official version, except that the development version only supports two concurrent connections and thus only

can be used for ASP learning and development or in the smaller intranet LAN system, want to be in the Network special UNIX, Linux local area network using ASP

Network developers may wish to download a trial, the file size of more than 6M.



The following is the author in the construction of iasp development environment, installation and configuration of iasp software experience, I hope to make a reference to the first users, thus less

Detours, do more meaningful work.



First, iasp Software environment requirements

Iasp software is written in Java programming language, requires jdk1.1.x or above version of support, and therefore requires a server system on the pre

Install the jdk1.1.x or above version first. The jdk1.1.x under the Linux platform can be http://xfer.nitric.com/pub/java-linux/under the

jdk1.1.x download address for ftp://202.103.111.173/Download/DEVELOP/JAVA/based on WINDOWS9X/NT platform

Jdk1_1_1-win32-x86.exe.



Ii. system platform and server software supported by iasp Installer

The Iasp software is written in Java programming language and can be run on all Java platforms in principle.

The iasp can automatically configure the Server software to interpret ASP pages using the iasp interpretation engine; iasp can use the Halcycon software public

The Shifa iasp servlet interface connects and communicates with the server, or it can use other servlet interfaces to connect to the server and

Communication. The following is a list of Halcycon software company's engineering technicians who have proven to support better system platforms and server software.



(i) Sun Solaris SPARC System Platform

1, Apache Server Software

Iasp can 1.3.0, 1.3.1, 1.3.2, 1.3.3, 1.3.4, 1.3.66 versions of Apache Server software from

The dynamic configuration enables the ASP page to be interpreted using the iasp interpretation engine, and connects and communicates with the Servlet interface in iasp.

2, Netscape Fast Track (FT) and Enterprise Server (EP) servers software

Iasp can be configured automatically for ft3.0.x, ep3.5.x, ep3.6.x to interpret ASP pages using the iasp interpretation engine;

Connect and communicate with it through the servlet interface in iasp.

3. Sun Web Server2.1 Server Software

Iasp can automatically configure the Sun Web Server2.1 Server Software to interpret ASP pages using the iasp interpretation engine;

and connects and communicates with the servlet interface of the server software.

4, Zeus Server Software

Iasp can automatically configure Zeus Server software to interpret ASP pages using the Iasp interpretation engine, and through Zeus and

The Apache Jserv servlet interface connects and communicates with it.



(ii) Sun Solaris Intel system Platform

1, Apache Server Software

Iasp can 1.3.0, 1.3.1, 1.3.2, 1.3.3, 1.3.4, 1.3.66 versions of Apache Server software from

The dynamic configuration enables the ASP page to be interpreted using the iasp interpretation engine, and connects and communicates with the Servlet interface in iasp.

2. Sun Web Server2.1 Server Software

Iasp can automatically configure the Sun Web Server2.1 Server Software to interpret ASP pages using the iasp interpretation engine;

and connects and communicates with the servlet interface of the server software.

3, Zeus Server Software

Iasp can automatically configure Zeus Server software to interpret ASP pages using the Iasp interpretation engine, and through Zeus and

The Apache Jserv servlet interface connects and communicates with it.



(iii) Novell NetWare system Platform

Netscape Fast Track (FT) and Enterprise Server (EP) servers software

Iasp can automatically configure ft3.0.x, ep3.5.x to use the iasp interpretation engine to interpret ASP pages; and through Novell

The Servlet Gateway interface connects and communicates with it.



(iv) SCO UnixWare system Platform

1, Apache Server Software

Iasp can 1.3.0, 1.3.1, 1.3.2, 1.3.3, 1.3.4, 1.3.66 versions of Apache Server software from

The dynamic configuration enables the ASP page to be interpreted using the iasp interpretation engine, and connects and communicates with the Servlet interface in iasp.

2, Netscape Fast Track (FT) and Enterprise Server (EP) servers software

Iasp can automatically configure ft2.0.x to interpret ASP pages using the Iasp interpretation engine, and through the servlet in iasp

interface with which to connect and communicate.



(v) Linux Intel system Platform

1, Apache Server Software

Iasp can 1.3.0, 1.3.1, 1.3.2, 1.3.3, 1.3.4, 1.3.66 versions of Apache Server software from

The dynamic configuration enables the ASP page to be interpreted using the iasp interpretation engine, and connects and communicates with the Servlet interface in iasp.

2, Zeus Server Software

Iasp can automatically configure Zeus Server software to interpret ASP pages using the Iasp interpretation engine, and through Zeus and

The Apache Jserv servlet interface connects and communicates with it.



(vi) WINDOWS9X/NT system platform

1, Apache Server Software

Iasp can 1.3.0, 1.3.1, 1.3.2, 1.3.3, 1.3.4, 1.3.66 versions of Apache Server software from

The dynamic configuration enables the ASP page to be interpreted using the iasp interpretation engine, and connects and communicates with the Servlet interface in iasp.

2, Netscape Fast Track (FT) and Enterprise Server (EP) servers software

Iasp can be configured automatically for ft3.0.x, ep3.0.x, ep3.6.x to interpret ASP pages using the iasp interpretation engine;

Connect and communicate with it through the servlet interface in iasp.

3. Internet Information Server Software

IASP can automatically configure Internet Information Server software to use the iasp interpretation engine to explain

ASP pages, and connect and communicate with them through the servlet interface in iasp.

4. Lotus Domino Server Software

Iasp can automatically configure Lotus Domino server software to interpret ASP pages using the iasp interpretation engine;

Lotus Domino Server Software has its own servlet interface to connect to and communicate with.

5. Java WEB Server Server Software

Iasp can be automatically configured for Java WEB Server server software to interpret ASP pages using the iasp interpretation engine;

The servlet interface with which the Java WEB Server server software has its own is connected and communicated.



(vii) HPUX system platform

Zeus Server Software

Iasp can automatically configure Zeus Server software to interpret ASP pages using the Iasp interpretation engine, and through Zeus and

The Apache Jserv servlet interface connects and communicates with it.



(eight) SGI system platform

Zeus Server Software

Iasp can automatically configure Zeus Server software to interpret ASP pages using the Iasp interpretation engine, and through Zeus and

The Apache Jserv servlet interface connects and communicates with it.



Third, constructs the ASP application system environment with the IASP

Assume that network protocols such as TCP/IP are installed and configured properly in the system.

Here's an example of Redhat Linux 5.1 and Apache 1.3.3 Server software to discuss how to install and configure Iasp to create a

ASP development and application environment.



(i), install Apache 1.3.3 Server Software

1, uninstall Apache 1.2.6 Server Software

If you are currently using the Apache Server Software with Redhat Linux 5.1, its version number is 1.2.6-4 (with

Command Httpd-v can view the version number of the Apache server software, not the server fan supported by the IASP automatic configuration program

, so you need to uninstall it to reinstall the Apache 1.3.X Server software.

In Package Management (package management) in Control Panel, open the Daemons in Network (network) (

Service program), select "Apache1.2.6-4" and click Uninstall (uninstall) to uninstall it.

2. Install Apache 1.3.3 Server Software

If you don't have Apache 1.3.X Server software on hand, you can go to http://apache.nextpath.com/dist/

apache_1.3.6.tar.gz download one.

I have a Xteam Linux 1.0 CD-ROM with a release version of the Apache 1.3.3 Server Software,

Located in the \xteam\pack directory of the disc, the filename is called apache-1.3.3-1.i386.rpm. by command

Rpm-i/mnt/cdrom/xteam/pack/apache-1.3.3-1.i386.rpm can complete the installation.



3, start the Apache 1.3.3 Server Software

You can use command httpd to start the Apache 1.3.3 Server software. After you start the Apache 1.3.3 Server software, you can

Use Netscape Communicator browser to http://YourComputerName the way http://localhost

Visit the WWW service provided by the Apache 1.3.3 Server software. The default page is index.html, usually located in the/home/

Httpd/html directory (this directory is the Web publishing directory of Apache, equivalent to the one in the IIS or PWS system

C:\inetpub\wwwroot), the theme of the page is "It worked", indicating that Apache is working properly and can

Iasp's configuration worked.



(ii) Installation of jdk1.1.x

The iasp operation relies on jdk1.1.x or above, requiring the JDK to be installed on the system.

1, determine the type of C Run-time Library

The Liunx/unix version of the JDK typically has LIBC5 and glibc two versions to accommodate C runs in different Liunx/unix systems

Library version. Use the command "Ls-l/lib/libc.so.*" to list the C run-time library file, if "*" at the character "5"

Indicates that the C run-time library type is Libc5, and "6" indicates that the C run-time library type is glibc. The Redhat Linux used by the author

The C run-time Library type of 5.1 is glibc.

2. Installation jdk1.1.x

I downloaded the glibc version of JDK1.1.7 at http://xfer.nitric.com/pub/java-linux/and renamed it

Jdk117.gz. Copy the jdk117.gz to the/usr/local directory and enter the/usr/local directory, using the "Tar-xvzf

Jdk117.gz "command to extract the file to complete the JDK1.1.7 installation, the installation directory is/usr/local/jdk117_v1a.



(iii) installation of iasp

I downloaded the Linux/unix version of the iasp in http://www.halcyonsoft.com/asp/iasp_fcs.tar.gz, and changed

Named Iasp_lnx.gz, and copied to/usr/local.

Extract the files using the command "Tar-xvzf iasp_lnx.gz" to produce install.sh and Iasp.tar two files. Enter

/usr/local directory, run./install.sh, follow the installer prompts to complete the iasp installation.

During the installation process, you need to specify the JDK's Bin directory (/usr/local/jdk117_v1a/bin) and iasp installation directory

(/usr/local). After the installation process is complete, you will be able to choose whether to start configuring the Web server, as discussed in the following configuration procedure,

Choose "N" to end the installation. At this point iasp is installed in the directory/usr/local/iasp, the role of five files is worth noting.

connector.sh: Start iasp Automatic Configuration Wizard start-server.sh: Start iasp Proxy Server

stop-server.sh: Turn off iasp proxy start-admin.sh: Start iasp Remote Management Server

stop-admin.sh: Turn off iasp remote Management Server



(iv), configuration iasp

1, shut down the Web server

You should first turn off the Web server software before you make iasp configuration. You can turn off the Apache 1.3.3 Server software in any way.

2. Configure iasp

The Iasp Configuration Wizard can be used for Apache server software, Netscape Enterprise Server Software, Internet

Information Service Server software is configured automatically, while Zeus, Sun WEB server server software does not require

Configuration.

Under/usr/local/iasp, run the./connector.sh Start the Iasp Configuration Wizard. Select "Y" to start configuration;

Select Server Software and version number (8:apache 1.3.3), Apache configuration file httpd.conf Directory

(/etc/httpd/conf), others can remain unchanged (press ENTER to take the default setting). When prompted whether to make another service

When configuring, select "N" to complete the configuration.



(iv), test iasp

1, start iasp server

The IASP server is a connector proxy server software that communicates with the server software.

Enter Xwindows, open a nxterm window and run under the directory/usr/local/iasp./start-server.sh,

Start the iasp Connector proxy Proxy Server program.

2. Test iasp

Launch Apache 1.3.3 Server software. Copy an ASP page file to the Apache page publishing directory "/home/httpd/

HTML directory, and access with Netscape Communicator Browser, as available "http://localhost/

Test.asp "accesses the ASP file test.asp, which reads as follows:





<title>test iasp</title>




<body>

<%

Response.Write "<br>
%>

</body>


At this point, the Apache 1.3.3 Server software has been able to explain and execute the ASP page with the iasp interpretation engine. Now it's your time to play it free

Intelligence.



In addition, the development of the domestic first Chinese version of Linux--xteam Linux1.0 of the shape of sea-sea companies announced that they are about to release the ADO engine

Linux version, so that the ASP application system developed on WINDOWS9X/NT can run directly on Linux platform, interested network application

Order developers can go to the shape of the sea-Sea company site (http://www.xteam.com.cn) to understand the dynamics of its products, but also let us for the domestic soft

Development company cheer and cheer.

(Author: Shenzhen Wang Fajun wangfajun@163.net http://wangfajun.163.net)




Related 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.