Framing for web delivery of EATS falls into 2 general patterns:
- Direct delivery of EATS architected capabilities from a web server on which an instance of a fully competent version of EATS is implemented. This is always an instance of an Eclipse-based, JVM-based Virtual machine.
- Used of the JVM web server in two operating modes:
- Direct use of the JVM-based server as the primary handler of web traffic
- Use of the JVM-based machine as part of a network of web servers, where the JVM server may act as a content server, or a services provider, to one or more other machines which may run web applications that provide the primary interaction with the user.
This defines a matrix of operational configurations:
|Primary App||Services Provider|
|JVM-based Server||Tomcat Application||Self-contained facility
|non-JVM Server||PHP Front-end||JVM behind HTTP Server
JVM federated services
Needed to install JSP server features (to obtain entries for Apache Tomcat), and then install Tomcat 8 in a directory under AF_Itil/Eclipse/Tomcat, then apply Tomcat 8 as the server for the WebViewer project.
Server port = 8080
Another alternative is to have the IDE use a local configuration of a Tomcat server if one is installed on the workstation.
Once you have configure a local Tomcat server the Servers view allows you to start start and stop this server as part of web development. To open this view select .
You can stop and start the Tomcat server via theServersview.
As initially configured using the internally downloaded and installed Tomcat 8 server, from the Maven build, once installed and executed, we get a Web server Hello World! in the browser window of the IDE. However, localhost:8080 gets a 404 from the Tomcat server because the Tomcat server is internal to the IDE.
localhost:80 gets the Apache 2.4 version executing Friendica by default, or some other process by direct specification given the doc directory pointing to AF/ as the doc root. Apache 2.4 is a C application which is used to provide a PHP hosting environment, not Java and does not run WAR files or Java applications. As a complete development workstation I need to extend Apache 2.4 with a version of Tomcat, Geronimo, Jetty, or some other J2EE server as a local server!
- Short-term, implement Tomcat 8 as an independent server
- Long-term, inclusion of Jetty as an architected component
|Main article: Web container|
|Product||Vendor||Edition||Last release||Java EE
|Geronimo||ASF||3.0.1||2013-05-28||6 full platform||3.0||2.2||No||Free, Apache|
|GlassFish||GlassFish||5.1.0||2019-01-28||8 empty platform||4.0||2.3||No||Free, CDDL, GPL + classpath exception|
|JBoss Enterprise Application Platform||Red Hat||7.2||2019-01-22||8 full platform||4.0||2.3||Yes||Free, LGPL|
|Jetty||Eclipse Foundation||9.4.20||2019-08-14||7 partial platform||3.1||2.3||Yes||Free, Apache 2.0, EPL|
|JOnAS||OW2 Consortium(formerly ObjectWeb)||5.3||2013-10-04||6 Web Profile||3.0||2.2||No||Free, LGPL|
|Lucee (Formerly Railo)||Lucee Association Switzerland||188.8.131.52||2019-05-27||7 partial platform||3.1||2.3||No||Free, CDDL, GPL + classpath exception|
|Payara||Payara||5.193||2019-08-29||8 full platform||4.0||2.3||Yes||Free, CDDL, GPL + classpath exception|
|Resin Servlet Container (open source)||Caucho Technology||4.0.62||2019-05-23||6 Web Profile||3.0||2.2||No||Free, GPL|
|Tomcat||ASF||9.0.24||2019-08-17||8 partial platform||4.0||2.3||Yes||Free, Apache v2|
|TomEE||ASF||7.1.1||2019-06-21||6 Web Profile||3.0||2.2||No||Free, Apache|
|WildFly(formerly JBoss AS)||Red Hat(formerly JBoss)||18.0.0.Final||2019-10-03||8 full platform||4.0||2.3||Yes||Free, LGPL|
- Apache (2.4) to Tomcat Connectors – How To
- Warning: If Apache and Tomcat are configured to serve content from the same file system location then care must be taken to ensure that Apache is not able to serve inappropriate content such as the contents of the WEB-INF directory or JSP source code. This could occur if the Apache DocumentRoot overlaps with a Tomcat Host’s appBase or the docBase of any Context. It could also occur when using the Apache Alias directive with a Tomcat Host’s appBase or the docBase of any Context.
- Vogella tutorials Eclipse WTP
- Vogella tutorials: Create a java web project in eclipse using maven