- 追加された行はこの色です。
- 削除された行はこの色です。
#author("2018-02-08T14:53:15+00:00","default:haikikyou","haikikyou") [[HaikikyouのIT関連技術メモ]] #author("2018-02-08T15:13:41+00:00","default:haikikyou","haikikyou") #contents * Tomcat [#s9828f75] - Java ServletやJavaServer Pagesなどの実行環境 - Webコンテナ(サーブレットコンテナ) ** ソースリード [#we16d8a6] Eclipse環境を想定。~ 適当なディレクトリを作成して、以下のpom.xmlを作る。 ''pox.xml'' #geshi(xml){{{ <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>tomcat-source-reading</groupId> <artifactId>tomcat-source-reading</artifactId> <version>1.0-SNAPSHOT</version> <properties> <maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.target>1.8</maven.compiler.target> </properties> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-eclipse-plugin</artifactId> <configuration> <downloadSources>true</downloadSources> </configuration> </plugin> </plugins> </build> <dependencies> <!-- https://mvnrepository.com/artifact/org.apache.tomcat/tomcat-catalina --> <dependency> <groupId>org.apache.tomcat</groupId> <artifactId>tomcat-catalina</artifactId> <version>9.0.4</version> </dependency> </dependencies> </project> }}} eclipseプロジェクトを生成し、mavenプロジェクトのインポート。 #geshi(bash){{{ mvn eclipse:eclipse }}} * 関連ソフトウェア [#a95d322e] - Jetty -- Javaサーブレットコンテナ -- https://www.eclipse.org/jetty/ - Wildfly(JBoss) -- JavaEEの実装の1つ -- http://wildfly.org - GlassFish -- JavaEEの実装の1つ -- https://javaee.github.io/glassfish/ * 参考リンク [#t37378c1] - [[Apache Tomcat>http://tomcat.apache.org]] - &size(11){&color(gray){on http://tomcat.apache.org};}; - [[Mirror of Apache Tomcat>https://github.com/apache/tomcat]] - &size(11){&color(gray){on https://github.com/apache/tomcat};}; - Servlet 3.0 -- [[JavaTM Servlet Specification Version 3.0>http://download.oracle.com/otn-pub/jcp/servlet-3.0-fr-eval-oth-JSpec/servlet-3_0-final-spec.pdf?AuthParam=1518102458_55c5749f0efd7258927688e110053acd]]- &size(11){&color(gray){on http://download.oracle.com/otn-pub/jcp/servlet-3.0-fr-eval-oth-JSpec/servlet-3_0-final-spec.pdf};}; - Servlet 4.0 -- [[Servlet 4.0 API - Apache Tomcat 9.0.4>https://tomcat.apache.org/tomcat-9.0-doc/servletapi/index.html]] - &size(11){&color(gray){on https://tomcat.apache.org/tomcat-9.0-doc/servletapi/};}; -- [[Java Servlet 4.0 API Specification>https://megascus.github.io/servlet-spec/docs/apidocs/index.html]] - &size(11){&color(gray){on https://megascus.github.io/servlet-spec/docs/apidocs/index.html};}; --- Java Servlet 4.0 API Specification日本語翻訳版(非公式)。⌣感謝 -- [[JSR-000369 JavaTM Servlet 4.0 Specification Public Review>http://download.oracle.com/otndocs/jcp/servlet-4-pr-spec/index.html]] - &size(11){&color(gray){on http://download.oracle.com/otndocs/jcp/servlet-4-pr-spec/index.html};};