Today is Monday, 4th July 2022

Archive for May, 2010

Remote Deployment of WAR files with Tomcat

This post will show you how to perform a remote deployment to Tomcat.

I am a big fan of remote deployment. During development, I normally have a remote dev server and remote QA server. At times, I need to deploy my web application to these remote servers.  I find it easier to deploy my web app by simply invoking an Ant task. There are other options for remote deployment such as using the Tomcat admin web app or an IDE. However, I like the idea of simply checking out my code from version control (cvs or svn) and running an Ant task. No requirement to have the IDE installed. Also, this works well if the deployment is part of an automated process such as nightly builds.

Tomcat 7: Real Soon Now

The new version of Tomcat 7 is coming real soon now. Tomcat 7 is aimed at supporting the new Servlet 3.0 spec. At the time of this writing Tomcat 7 is at “release candidate 2” status. Last weekend, I pulled down the source code from the Tomcat Subversion trunk. It was quick and easy to create a local build. I was then able to test out the new Servlet 3.0 features. Must say, that I’m pleased with the Tomcat 7 improvements and support for Servlet 3.0.

The folks over at MuleSoft gave a really nice write up of the new features.

Also, DZone interviewed Mark Thomas (Tomcat committer). Mark provides additional information on Tomcat 7.

I have to admit that it was a long wait for Tomcat 7, but looks like it was well worth it 🙂

Google Web Toolkit (GWT) Rocks!

GWT LogoFor the past three years, I have been using Google Web Toolkit (GWT) to build web applications. I am very impressed with the framework and the functionality it provides. In short, GWT allows you to build a AJAX web application using Java.

I’m using GWT for the following reasons…

  • Allows me to leverage my existing Java expertise
  • Development style is similar to desktop / Swing development
  • Minimizes the need for low-level JavaScript / CSS

In addition to GWT, I’m using the SmartGWT widget set. SmartGWT is a 3rd party widget set that contains some very professional looking components. SmartGWT offers a community edition and commercial edition. In fact, SmartGWT is more than a widget collection, it includes support for databinding and server-side support. However, you can use only the modules that you need for SmartGWT. I like this modular approach. Check out the Smart GWT demos and see for yourself.

I could talk all day about the nice features of GWT. Bottom-line: GWT is light-years ahead of Struts and Spring MVC.

Let me know what you think.