Software Alternatives, Accelerators & Startups

Apache Tomcat VS CherryPy

Compare Apache Tomcat VS CherryPy and see what are their differences

Note: These products don't have any matching categories. If you think this is a mistake, please edit the details of one of the products and suggest appropriate categories.

Apache Tomcat logo Apache Tomcat

An open source software implementation of the Java Servlet and JavaServer Pages technologies

CherryPy logo CherryPy

CherryPy allows developers to build web applications in much the same way they would build any other object-oriented Python program.
  • Apache Tomcat Landing page
    Landing page //
    2023-01-24
  • CherryPy Landing page
    Landing page //
    2023-09-18

Apache Tomcat features and specs

  • Open Source
    Apache Tomcat is an open-source software, which means it is freely available for use and modifications. This can significantly reduce the cost of ownership and allows for customization.
  • Community Support
    Being a widely-used open-source server, Tomcat has a large and active community of developers and users who contribute to its documentation, plugins, and forums, providing extensive support.
  • Lightweight
    Tomcat is designed to be a lightweight servlet container, making it faster and less resource-intensive compared to full-blown Java EE application servers.
  • Integration with Popular Frameworks
    Tomcat integrates well with popular Java frameworks such as Spring and Hibernate, making it easier for developers to deploy and manage web applications.
  • Easy to Set Up and Configure
    Tomcat is relatively easy to set up and configure, making it suitable for both development and production environments.
  • Frequent Updates
    Regular updates and patches are released to improve performance, security, and compatibility, ensuring the server is up-to-date with the latest web technologies.

Possible disadvantages of Apache Tomcat

  • Limited Functionality
    While Tomcat is a powerful servlet container, it lacks some of the advanced features found in full-fledged Java EE application servers, which might be necessary for complex enterprise applications.
  • Resource Management
    Tomcat's default configuration might not be suitable for high traffic web applications, requiring significant tweaking and tuning to handle heavy loads effectively.
  • Documentation Quality
    The documentation, while extensive, can sometimes be hard to navigate and understand, especially for beginners. This can slow down the learning curve.
  • Limited Built-in Tools
    Compared to other full-stack application servers, Tomcat comes with limited built-in tooling for monitoring, load balancing, and clustering, often requiring third-party solutions.
  • Security Concerns
    As with any open-source project, security vulnerabilities may emerge. It requires constant monitoring and timely updates to ensure security.
  • Lack of EJB Support
    Tomcat does not support Enterprise JavaBeans (EJB), limiting its use in scenarios where EJB is a crucial component of the architecture.

CherryPy features and specs

  • Simplicity
    CherryPy is known for its minimalistic and straightforward approach, making it easy to learn and use for rapid development.
  • Pythonic Design
    It is designed to be very Pythonic, allowing developers to leverage Python idioms and structures which results in more readable and maintainable code.
  • Built-in Server
    CherryPy has a built-in HTTP server, so developers don’t need to set up an external server like Apache or Nginx for testing or simple deployments.
  • Object-Oriented Programming
    Supports object-oriented programming, which allows developers to structure their web application code efficiently and logically.
  • Versatile
    Suitable for building small-to-medium scale web applications and services. It can be used for both RESTful interfaces and traditional websites.

Possible disadvantages of CherryPy

  • Limited Ecosystem
    Compared to larger frameworks like Django or Flask, CherryPy has a smaller community and fewer third-party plugins or extensions.
  • Basic Features
    Lacks some advanced out-of-the-box features that larger frameworks provide, which might require additional development effort.
  • Scalability Challenges
    While suitable for many projects, CherryPy might not be the best choice for highly-scalable, high-performance applications out of the box.
  • Documentation
    Though documented, some developers find CherryPy’s documentation less comprehensive than that of more popular frameworks, potentially making troubleshooting and learning harder.
  • Community Support
    With a smaller user base, community support and resources such as tutorials, guides, and forums are more limited compared to more popular frameworks.

Apache Tomcat videos

Introducing Apache Tomcat 8.5

More videos:

  • Review - Webinar: Introduction to Apache Tomcat 8
  • Review - Tcat - The Leading Enterprise Apache Tomcat Application Server

CherryPy videos

Python Frameworks | Top 5 Frameworks In Python | Django, Web2Py, Flask, Bottle, CherryPy | Edureka

Category Popularity

0-100% (relative to Apache Tomcat and CherryPy)
Web And Application Servers
Python Web Framework
0 0%
100% 100
Application Server
100 100%
0% 0
Web Frameworks
0 0%
100% 100

User comments

Share your experience with using Apache Tomcat and CherryPy. For example, how are they different and which one is better?
Log in or Post with

Reviews

These are some of the external sources and on-site user reviews we've used to compare Apache Tomcat and CherryPy

Apache Tomcat Reviews

FOSS | Top 15 Web Servers 2021
Java programs are run using Apache Tomcat. To be more precise, it is a Java servlet – a Java software component that expands the functionality of a web server. Apache Tomcat, released under the Apache License version 2, is used by 0.1% of websites worldwide.
Source: www.zentao.pm
4 Open Source Application Servers (Comparison and Review)
Apache Tomcat is an open-source implementation of several Java technologies. It is the result of a collaboration of the finest developers worldwide. You can get involved with the development in a number of ways.
Source: shadow-soft.com
Top 5 open source web servers
Apache Tomcat is an open source Java servlet container that functions as a web server. A Java servlet is a Java program that extends the capabilities of a server. Although servlets can respond to any types of requests, they most commonly implement applications hosted on Web servers. Such web servlets are the Java counterpart to other dynamic web content technologies such as...
Source: opensource.com
Top 10 Open Source Java and JavaEE Application Servers
It is built upon a modular kernel powered by OSGi, and runs straight on top of the Apache Felix implementation. It is also capable of running with Equinox OSGi or Knopflerfish OSGi runtimes. HK2 abstracts the OSGi module system to provide components, which can also be viewed as services and injected into the run time and uses a derivative of Apache Tomcat as the servlet...

CherryPy Reviews

25 Python Frameworks to Master
The main task of CherryPy is to handle HTTP requests and match them with the adequate logic written by the developers. This means that by default, CherryPy doesn’t provide database access or HTML templating, leaving all the logic of the application to you.
Source: kinsta.com
Exploring 5 Alternatives to Flask in Python for Web Development
CherryPy is a high-performance web framework in Python that uses a multi-threaded server to handle requests. It provides a powerful API that enables developers to build web applications quickly and efficiently. CherryPy also has support for various third-party plugins and tools that can be easily integrated into the framework. To install CherryPy, use the following command:
Source: msalinasc.com
Top 8 Python Tools For App Development
About: CherryPy is an object-oriented web framework in Python. It allows the users to develop web applications in a similar way they would develop any other object-oriented Python programs. Some of the features of this framework are: –

Social recommendations and mentions

Based on our record, Apache Tomcat should be more popular than CherryPy. It has been mentiond 17 times since March 2021. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

Apache Tomcat mentions (17)

  • Java News: WildFly 36, Spring Milestones, and Open Liberty Updates
    Versions 11.0.6 and 9.0.104 of Apache Tomcat deliver new features and improvements. The release notes can be found for both versions. - Source: dev.to / 28 days ago
  • Artifactory: Centralizing Artifact Management for DevOps Success
    Download and Install Tomcat Before downloading, confirm the latest Tomcat build package from the official website. - Source: dev.to / 7 months ago
  • How to Deploy Applications Using Tomcat on a Web Server
    First, download the latest version of Tomcat from the official Apache Tomcat website. Choose the version that suits your needs, typically the latest stable release. - Source: dev.to / 11 months ago
  • Spring Boot Monitoring with Open-Source Tools
    Manual instrumentation allows you to define your Spans within the code itself rather than relying on automatic instrumentation finding the entry point for a trace. Manual instrumentation is especially helpful for applications that don’t use an application server such as Tomcat, JBoss, or Jetty. - Source: dev.to / over 1 year ago
  • Issue with chatgpy
    99% is a huge exaggeration. Two essential deployment tools off the top of my head: Https://tomcat.apache.org/ Https://docs.jboss.org/author/display/AS71/Developer%20Guide.html. Source: about 2 years ago
View more

CherryPy mentions (2)

  • How to serve Django for an Electron app
    Generally, what needs to be done to create an Django/Electron app is to package (I'm using pyInstaller)the Django app into an stand-alone executable and then bundle that into an Electron app. The question is which server should be used for this case to server Django before packaging it with pyInstaller? At the moment I'm using cherryPy as a WSGI web server to serve Django. Source: about 3 years ago
  • Flask, CherryPy and static content
    I know there are plenty of questions about Flask and CherryPy and static files but I still can't seem to get this working. Source: about 3 years ago

What are some alternatives?

When comparing Apache Tomcat and CherryPy, you can also consider the following products

Microsoft IIS - Internet Information Services is a web server for Microsoft Windows

Django - The Web framework for perfectionists with deadlines

LiteSpeed Web Server - LiteSpeed Web Server (LSWS) is a high-performance Apache drop-in replacement.

Flask - a microframework for Python based on Werkzeug, Jinja 2 and good intentions.

Apache HTTP Server - Apache httpd has been the most popular web server on the Internet since April 1996

Bottle - bottle.py is a fast and simple micro-framework for python web-applications.