Home > Article > Backend Development > JAVA/JSP Learning Series 4_PHP Tutorial
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)