JEUS의 설정 파일인 domain.xml 내의 웹 엔진의 JSP 엔진과 관련된 태그에 대한 설명을 찾을 수 있다.
XML Schema 파일:
JEUS_HOME/lib/schemas/jeus/web-engine.xsd
레퍼런스는 다음 형식으로 구성되어 있다.
XML Schema/XML 트리: XML 설정 파일의 모든 태그 리스트를 정리했다. 각 노드의 형식은 다음과 같다.
태그 레퍼런스로 빨리 찾아보기 위해서 각 태그마다 인덱스 번호( 예: (11) )를 붙여 놓았다. 태그 레퍼런스에서는 이 번호 순서로 설명한다.
XML Schema에서 정의한 XML 태그명을 <tag name> 형식으로 표시한다.
XML Schema에서 정의한 Cardinality를 표시한다. “?” = 0개나 1개의 element, “+” = 1개 이상의 element, “*” = 0개 이상의 element, (기호가 없음) = 정확히 1개의 element
몇몇 태그에는 “P” 문자를 붙여 놓았는데, 해당 태그는 성능에 관계되는 태그라는 것을 뜻한다. 이 태그는 설정을 튜닝할 때 사용된다.
Element Reference: 트리에 있는 각 XML 태그를 설명한다.
Dynamic: 동적 설정 반영 가능
Non-Dynamic: 동적 설정 반영 불가능, Dynamic이 설정되지 않은 항목들이 보통 이에 해당 하나 특별히 설명이 있는 경우 이 항목이 표시된다.
Description: 태그에 대한 간단한 설명.
Value Description: 입력하는 값과 타입.
Value Type: 값의 데이터 타입. (예: String)
Value Type Description: 값의 데이터 타입에 대한 설명
Default Value: 해당 XML을 사용하지 않았을 때 기본적으로 사용되는 값.
Defined Value: 이미 정해져 있는 값.
Example: 해당 XML 태그에 대한 예.
Performance Recommendation: 성능 향상을 위해서 추천하는 값.
Child Elements: 자신의 태그 안에 사용하는 태그.
(111) <jsp-engine> ?
(112) <check-included-jspfile> ?
(113) <keep-generated> ?
(114) <use-in-memory-compilation> ?
(115) <graceful-jsp-reloading> ?
(116) <graceful-jsp-reloading-period> ?
(117) <jsp-work-dir> ?
(118) <java-compiler> ?
(119) <compile-output-dir> ?
(120) <compile-option> ?
(111)
<
domain
><
servers
><
server
><
web-engine
>
<jsp-engine>
| |
Description | 웹 애플리케이션에 포함된 JSP를 컴파일 및 서비스하기 위해 사용되는 JSP 엔진을 설정한다. |
Value Type | jsp-engineType |
Child Elements |
(113)
(114)
(115)
(116)
(117)
(118)
(119)
(120)
(121)
|
[예 7.1] 웹 엔진 그룹 내의 JSP 엔진 domain.xml 파일 예제
<?xml version="1.0"?> <domain xmlns="http://www.tmaxsoft.com/xml/ns/jeus"> <servers> <server> <web-engine> <!-- JSP-related settings for this context --> <jsp-engine> <!-- whether save the generaged java source file or not --> <keep-generated>true</keep-generated> <!-- set the java compiler to compile the generated java file --> <java-compiler>javac</java-compiler> <!-- set the absolute-path directory that servlet sources and class files --> <jsp-work-dir>/home/MyJSPWorkdir/</jsp-work-dir> <!-- set the generated class file location to absolute-path, not in jsp-work-dir--> <compile-output-dir>/home/MyJSPWorkdir/</compile-output-dir> <!-- compiler option to compile the generated java file from jsp --> <compile-option>-g:none -verbose</compile-option> <!-- set the charset encoding when the generaged servlet source from jsp complie --> <compile-encoding>8859_1</compile-encoding> <!-- whether check the included jsp files changed in compile or not --> <check-included-jspfile>true</check-included-jspfile> </jsp-engine> </web-engine> </server> </servers> </domain>