Home » Tag Archives: Apache Tomcat (page 2)

Tag Archives: Apache Tomcat

Tomcat’s Graceful Shutdown with Daemons and Shutdown Hooks

apache-tomcat-logo

My last couple of blogs have talked about long polling and Spring’s DeferredResult technique and to demonstrate these concepts I’ve shoehorned the code from my Producer Consumer project into a web application. Although the code demonstrates the points made by the blogs it does contain a large number of holes in its logic. Apart from the fact that in a ...

Read More »

Long Polling Tomcat with Spring

apache-tomcat-logo

“Ooh err Missus” as comedian Frankie Howerd would have said, but enough of British innuendo and double entendre because Long Polling Tomcat isn’t some kind of sexual deviance with next door’s moggy, it’s a technique (or more of a hack) that’s been developed as a result of Steve Jobs’s refusal to support Adobe Flash Player on the iPhone and iPad. ...

Read More »

Spring JTA multiple resource transactions in Tomcat with Atomikos example

atomikos-logo

In this tutorial we shall show you how to implement JTA multiple resource transactions in a Tomcat server, using Atomikos Transaction Manager. Atomicos transaction manager provides support for distributed transactions. These are multi-phased transactions, often using multiple databases, that must be committed in a coordinated way. The distributed transactions are described by the XA standard. XA governs how a transaction ...

Read More »

Tomcat in Eclipse: 6 popular “how to” questions

apache-tomcat-logo

Learning a new technology is always a hard process. This process becomes even more difficult when you are trying to learn two technologies which are going to interact with each other. Tomcat and Eclipse are ones of the most popular pre-requirements in the Java EE development. Therefore to be a professional developer you need to know how to perform the ...

Read More »

Most popular application servers

apache-tomcat-logo

This is the second post in the series where we publish statistical data about the Java installations. The used dataset originates from free Plumbr installations out there totalling 1,024 different environments we have collected during the past six months. First post in the series analyzed the foundation – on what OS the JVM is run, whether it is a 32 ...

Read More »

Virtual Host + Nginx + Tomcat

apache-tomcat-logo

In my Virtual Host + Apache httpd server + Tomcat + mod_jk connector post has lots of comments. and i hope everyone like that. But problem is very difficult to install and configure the Apache httpd server with mod_jk connector. Recently i learned nginx. and i walked through the Nginx server as Load balancer. This post is same as Virtual ...

Read More »

Tomcat Clustering Series Part 5 : NginX as Load Balancer

apache-tomcat-logo

This is my fifth part of the Tomcat Clustering Series.[Check the video below for better understanding]. In this post we are going to discuss how to replace Apache http load balancer to Nginx as a load balancer. In these series we have 2 big setups needed for Tomcat Clustering Setup and configure the Load Balancer Configure the Session Replication in ...

Read More »

Super Quick Tomcat App Deployment Using a PULL Script

apache-tomcat-logo

If you managed to read my last blog you’ll remember that I demonstrated a simple script for creating a new tomcat installation on a server by splitting the tomcat binaries from the conf files, storing the binaries on a FTP server and the conf files in version control, with a script recombining the two parts.           ...

Read More »

Super Fast Tomcat Installation using FTP and Version Control

apache-tomcat-logo

When talking about Continuous Delivery one of the tests that both Martin Fowler and Jez Humble often mention is their ‘flame thrower’ test. It goes something like this: Jez will say ‘How long would it take you to get up and running if Martin and I went into your machine rooms armed with flame throwers and axes and started attacking ...

Read More »
Want to take your Java Skills to the next level?
Grab our programming books for FREE!
  • Save time by leveraging our field-tested solutions to common problems.
  • The books cover a wide range of topics, from JPA and JUnit, to JMeter and Android.
  • Each book comes as a standalone guide (with source code provided), so that you use it as reference.
Last Step ...

Where should we send the free eBooks?

Good Work!
To download the books, please verify your email address by following the instructions found on the email we just sent you.