Home  >  Article  >  Backend Development  >  JAVA/JSP Learning Series 4_PHP Tutorial

JAVA/JSP Learning Series 4_PHP Tutorial

WBOY
WBOYOriginal
2016-07-21 16:11:19793browse


1. Preface

Orion is small but has many functions. Without further ado, just look at its current support:
(1) Servlets/JSP

( 2) EJB

(3)HTTP (Note: It means that Web Server such as Apache or IIS is no longer required)

2. Download and install

The download address is Orion Application Server Official site: http://www.orionserver.com/, I downloaded the Orion1.4 version.

After downloading, unzip it to a directory. I use E:Orion as an example here.

3. Configuration

(1) According to the installation instructions on the Orion official website, if you want to support JSP and other technologies, you need to copy the JDK tools.jar to the e:orion directory, tools The .jar file is in the lib subdirectory of the JDK directory you installed.

Up to now, the default configuration has been successfully completed. If your port 80 is not occupied and you also want to use 80 as the port, you are done here. Otherwise, please continue below. configuration.

(2) Configuration port

There is a default-web-site.xml file in the E:orionconfig directory. Find the following line in the file:



Change this line to:



Note that I am using port 8008 here.

4. Test

(1) Start Orion:

In the Orion directory, run in command mode:

java -jar orion.jar

Orion/x.x.x initialized will appear. My version is 1.4, so it displays:

Orion/1.4.0 initialized

At this point, it means you have succeeded.

(2) Execute the jsp file

and enter in the browser:

http://localhost:8008/

Appear: Orion Application Server 1.4 .0 - Up and running, below are JSP examples you can try running. (Source: viphot.com)

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/313948.htmlTechArticle1. Introduction Orion is a small thing, but it has many functions. Without further ado, let’s look at its current support. Just know: (1)Servlets/JSP (2)EJB (3)HTTP (Note: It means that Apa is no longer needed...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn