Java JSP Learning Series 4. I. preface Orion: it is small, but has a lot of functions. if you don't talk about it, you can see its current support: (1) ServletsJSP (2) EJB (3) HTTP (note: Apa 1 and preface are no longer required
Orion is small, but has a lot of functions. if you don't talk about it, you can see its current support:
(1) Servlets/JSP
(2) EJB
(3) HTTP (note: Web servers such as Apache or IIS are no longer needed)
II. download and install
For the Orion Application Server official site: http://www.orionserver.com/, I download orion1.4.pdf.
After the download, decompress the package to a directory. here I use E: Orion as an example.
III. configuration
(1) According to the installation instructions on the official site of Orion, if JSP and other technologies are to be supported, the JDK tools should be used. jar to e: orion Directory, tools. the jar file is in the lib subdirectory of the JDK directory you have installed.
Now, the default configuration has been successfully completed. if your port 80 is not occupied and you want to use port 80 as the port, you have completed it here. otherwise, continue with the following configuration.
(2) configure the port
There is a default-web-site.xml file under the E: orionconfig Directory, find the following line in the file:
Change this line:
Note that port 8008 is used here.
IV. test
(1) start Orion:
Run the following command in the Orion Directory:
Java-jar orion. jar
Orion/x. x. x initialized will appear. here the version is 1.4, so it is displayed:
Orion/1.4.0 initialized
By now, you have succeeded.
(2) execute jsp files
Enter:
Http: // localhost: 8008/
Appears: Orion Application Server 1.4.0-Up and running. you can try to run JSP examples below. (Source: viphot.com)
Orion is small, but has a lot of functions. if you don't talk about it, you can see its current support: (1) Servlets/JSP (2) EJB (3) HTTP (note: Apa is no longer needed...