TomcatExpert

Welcome to TomcatExpert

Home

You Can Help Improve Apache Tomcat Adoption in the Enterprise!

How? Share your insights, use cases, comments and questions on best practices for deploying, managing and operating Apache Tomcat in the Enterprise.

 

Blog : Apache Tomcat 7.0.29 released

posted by Stacey Schneider on July 8, 2012 06:59 PM

The Apache Tomcat team announces the immediate availability of Apache Tomcat 7.0.29.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Apache Tomcat is an open source software implementation of the Java Servlet and JavaServer Pages technologies.

This release corrects a small number of regressions introduced in the 7.0.28 release and takes account of several recent clarifications from the Servlet Expert Group as well as containing a handful of bug fixes and small improvements compared to version 7.0.28. The notable changes include:

  • Add support for a default error page
  • The servlet version defined in web.xml no longer determines if Tomcat scans for annotations when the web application starts. This is now solely controlled by metadata-complete element.
  • On web application start, JARs are now always scanned for ServletContainerInitializers regardless of the setting of metadata-complete

Read More

258 comments   |  

0
Rating
  |  

Developers, Operations | Apache Tomcat 7

Blog : Apache Tomcat 7.0.28 released

posted by Stacey Schneider on June 19, 2012 08:07 AM

The Apache Tomcat team announces the immediate availability of Apache Tomcat 7.0.28.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Apache Tomcat is an open source software implementation of the Java Servlet and JavaServer Pages technologies.

This release is includes may improvements as well as a number of bug fixes compared to version 7.0.27. The notable changes include:

  • The minimum required APR/native library version required if the APR/native connector is used is now 1.1.24.
  • Various fixes and improvements to WebSocket support including the use of infinite time outs by default for WebSocket connections. * Various fixes and improvements to annotation scanning.

Read More

40 comments   |  

0
Rating
  |  

Developers, Operations | Tomcat 7

Blog : VMware vFabric Suite 5.1 Expands Support for Apache Tomcat 7

posted by Stacey Schneider on May 31, 2012 08:05 PM

VMware released an update to their vFabric Suite 5.1, an integrated family of components that streamline how companies build, run and manage Java / Spring applications whether on-premise or in the cloud. Several of those components include enhanced support for Apache Tomcat 7.

vFabric Hyperic

The new version of the popular web infrastructure management software, Hyperic, comes with a new plugin that adds support for Apache Tomcat 7. In addition, Hyperic also introduced support for detailed configuration history tracking that is included by default in the new Tomcat 7 plugin. This history allows administrators to not just identify that a file was changed somehow, but zero in on exactly what text was added, deleted, modified or in the case of file names, renamed. This new feature will save administrators and developers significant time when trying to troubleshoot problems and identify “what changed”. See the full post on how the latest version of Hyperic gives Apache Tomcat an Upgrade on the Hyperic blog.

Read More

23 comments   |  

0
Rating
  |  

|

Blog : How Apache Tomcat Implemented WebSocket

posted by fhanik on May 1, 2012 07:13 AM

With the Apache Tomcat 7.0.27 release, the Apache Tomcat team introduced a WebSocket implementation. In a previous post, we took a look at what the WebSocket implementation means, including what benefits and limitations they present. Today, we will discuss specifically how WebSocket is implemented in Apache Tomcat 7.

Since WebSocket is a protocol sent over TCP after an initial HTTP handshake, you could effectively implement WebSocket using Tomcat’s Comet implementation. There is a back port to Tomcat 6 suggested that does exactly that with very minor changes.

The Apache Tomcat team however decided to go with a more substantial implementation with changes to the core of Tomcat’s network and protocol implementation. The reason for this was memory and scalability based. If Tomcat can recycle the HttpServletRequest/Response objects after the initial handshake, each WebSocket connection will take up less memory in the Java heap. It also opens up the Tomcat container for other future protocols that utilize the HTTP Upgrade feature.

The WebSocket implementation from an API standpoint is fairly straightforward. You really can only do two things:

  1. Send messages
  2. Receive messages

Read More

172 comments   |  

5
Rating
  |  

Developers, Operations | WebSocket, Apache Tomcat 7

Blog : WebSockets in Tomcat 7

posted by fhanik on April 23, 2012 10:22 PM

With the 7.0.27 release the Apache Tomcat team introduced a WebSocket implementation. WebSocket has received a lot of hype, and has been much anticipated by Tomcat users. Let’s take a quick look at what web sockets are, what benefits and limitations they have and how they are implemented in Apache Tomcat 7.

What is a WebSocket?

WebSocket is considered the next step in evolution of web communication. Over time, communication has evolved in steps to reduce the time and data throughput for the application to update a user’s browser. The evolution has looked a little like this:

  • Entire page reloads
  • Component reloads using AJAX Processing
  • Comet communication
    • Long poll– similar to AJAX, but not holding a thread on the server
    • Bi directional- two way communication over the same TCP

Each of these steps had their benefits and challenges. Apache Tomcat 6 implements bi-directional communication over HTTP using its Comet Processor. This implementation allowed for asynchronous event driven request processing as well as bi-directional communication. This implementation had a few limitations.

Read More

92 comments   |  

0
Rating
  |  

Developers | WebSocket, Apache Tomcat 7