What Do We Know About Tomcat 9.0

Apache Tomcat is a very popular and preferred industry choice for web application development as a Servlet/JSP container. Apache Tomcat version 9.0 implements the Servlet 4.0 and Java Server Pages 2.3 specifications from the Java Community Process and includes many additional features that make it a useful platform for developing and deploying web applications and web services.

I take this opportunity to summarize some of the new features in Tomcat 9.0 and steps to keep in mind before upgrading from Tomcat 8.x to Tomcat 9.0.

Memory Leak: Bit-Wise and Member-wise Copy in C++

Earlier versions of C++ (prior to release 1.2) implemented assignment between objects through bit-wise copy of the source to the destination. Consider the following example that illustrates a bit-wise copy.

C++


The main program has two objects of class MyString.