Tomcat

From BC$ MobileTV Wiki
(Redirected from DBCP)
Jump to: navigation, search
Java (cup of java) Logo
Tomcat (Java Web Application Server) Logo

Tomcat is one of the most popular Apache projects and is the leading open source Java Web Application Server implementation which acts as a Servlet container while also supporting JSP, JSF, JNLP and a number of other Java-powered web technologies.


Server versions

TomEE

Tomcat offers only the basic Servlet, JSP, JSTL, JSF and related Java Web technologies. It does not include additional JEE features such as Database connectivity (JPA), JMS messaging, etc. TomEE is the Java (now Jakarta) EE full stack of libraries and dependencies added to a specific Tomcat version. There are TomEE versions available for Tomcat 7+.

  • TomEE: http://tomee.apache.org | EXAMPLES (adds full J2EE support to basic Tomcat which only supports Servlets, JSP, JSTL and basic JSF... with TomEE we can also use EJB, JPA, JMS, JAX-WS, JAX-RS, etc)

[1] [2] [3] [4]

Coyote

Standalone full web server version of Tomcat for older versions.

[5] [6]



Features

Java Servlets

Commonly used to build lightweight Web Services through associated both internal/external APIs.

See: Servlet

Java Server Pages

See: JSP/JSTL

Java Expression Language

WebSockets

See: WebSockets

DBCP

DataBase Connection Pooling (DBCP).





Tools


Resources


Tutorials



[12] [13] [14] [15] [16] [17] [18] [19] [20] [21]


External Links

References

  1. TomEE vs. Tomcat: https://tomitribe4.wpengine.com/blog/tomee-vs-tomcat/
  2. Using the TomEE Maven Plugin: https://www.tomitribe.com/blog/using-the-tomee-maven-plugin/
  3. Configuring JDBC in TomEE: https://tomitribe4.wpengine.com/blog/configuring-jdbc-in-tomee/
  4. Apache TomEE Jakarta EE certified after 10 years: https://www.tomitribe.com/blog/apache-tomee-jakarta-ee-certified-after-10-years/
  5. How-to: Modify Apache-Coyote/1.1 Banner: https://securitythoughts.wordpress.com/2011/03/30/how-to-modify-apache-coyote1-1-banner/
  6. Metasploitable/Apache/Tomcat and Coyote: https://charlesreid1.com/wiki/Metasploitable/Apache/Tomcat_and_Coyote
  7. wikipedia: Apache JServ Protocol
  8. Redis-Based Tomcat Session Management: https://dzone.com/articles/redis-based-tomcat-session-management?edition=689399
  9. How to deploy Maven based war file to Tomcat: https://www.mkyong.com/maven/how-to-deploy-maven-based-war-file-to-tomcat/
  10. How to deploy to Tomcat from NetBeans?: https://stackoverflow.com/questions/2781057/how-to-deploy-to-tomcat-from-netbeans
  11. Deploying your built ".war" file from Jenkins to Tomcat: https://www.jdev.it/deploying-your-war-file-from-jenkins-to-tomcat/
  12. Tomcat docs -- Realm how to: https://tomcat.apache.org/tomcat-7.0-doc/realm-howto.html
  13. Realm name in tomcat (web.xml): https://stackoverflow.com/questions/10892336/realm-name-in-tomcat-web-xml
  14. Tomcat Realm - Tutorial & Examples: https://javapipe.com/blog/tomcat-realm/
  15. Tomcat security constraint for valid user: https://stackoverflow.com/questions/1089600/tomcat-security-constraint-for-valid-user
  16. Purpose of roles tags in tomcat-users.xml?: https://stackoverflow.com/questions/14948212/purpose-of-roles-tags-in-tomcat-users-xml
  17. Example web application layout: https://www.thecoderscorner.com/team-blog/hosting-servers/17-setting-up-role-based-security-in-tomcat/
  18. web.xml Reference Guide for Tomcat: http://wiki.metawerx.net/wiki/Web.xml
  19. Specifying an Authentication Mechanism in the Deployment Descriptor: https://docs.oracle.com/cd/E19798-01/821-1841/bncbn/index.html
  20. Creating the Login Form and the Error Page: https://docs.oracle.com/cd/E19798-01/821-1841/bncca/index.html
  21. Define a <security-constraint> outside of web.xml (e.g. server-wide): https://stackoverflow.com/questions/18242619/define-a-security-constraint-outside-of-web-xml-e-g-server-wide?noredirect=1&lq=1
  22. Tomcat - java.lang.OutOfMemoryError -- PermGen space: https://web.archive.org/web/20150209143431/https://www.eukhost.com/forums/f33/tomcat-java-lang-outofmemoryerror-permgen-space-7675/
  23. java.lang.OutOfMemoryError -- PermGen space: https://web.archive.org/web/20100829022237/http://www.webteches.com/javalangoutofmemoryerror-permgen-space/
  24. java.lang.OutOfMemoryError -- PermGen space (response): http://www.liferay.com/community/forums/-/message_boards/message/1806667#_19_message_1785380

See Also

Apache | Apache Web Server | Java/JPA | JSP/JSTL | Servlet | WebWorkers