Friday, November 9, 2007

GWT hosting

Tomcat hosting that works great with GWT
After searching for some time I have finally started a hosting account with a Tomcat + Java provider that will allow for GWT Java hosting.

Mochahost offers Tomcat hosting at different levels depending on your needs. I have setup my account using their JSP/Tomcat hosting from $2.95/month. For the types of GWT applications that I would like to host these are some of the key items I need:
  • Ability to restart Tomcat instance. This is necessary when you add shared libraries or if you make any changes to your Tomcat configuration files.
  • Ability to also host a database. Mochahost offers unlimited MySQL databases with this plan. You can modify the Tomcat context.xml file and add any JDBC resources that your application requires.
  • Complete control over my Tomcat instance including, selection of the Tomcat version I want to run, ability to map any domain name to my Tomcat instance, and the ability to define the JVM for my tomcat instance.
How NGASI AppServer Manager can make your life easier
I really love the NGASI AppServer Manager. This is the tool that you use to select your JVM version, Tomcat Version, and map your entire domain to Tomcat or you can use path mapping.

To keep things simple I have chosen to do a complete domain wildcard mapping. Now I can deploy individual GWT apps under* and they will be available without any additional mapping needed. My Tomcat instance is available at where I can login to Tomcat and use the Tomcat deplorer to deploy my GWT war file. Once the application is deployed it is available on the web.

What can you do with Tomcat Hosting and GWT?
Currently I only have one application deployed. My application is an Eight Queens solution. My GWT application is here:

The application is still very rough around the edges, and I will continue to makes changes. Basically it uses the same java code on the client and server to demonstrate that Java code can be compiled un-modified and run either in your browser or on a Tomcat server. Just for fun it also tracks how long your browser takes to complete all 92 solutions to the puzzle. You can display last 10 runs or top 10 runs based on Javascript speed. Google Chrome is currently the leader due to its super fast Javascript engine.

Saturday, October 27, 2007

New GWT client side charting package

gchart - Google Code
This is something I have been looking for. A client side GWT chart generation package. The Chart Gallery demonstrates some of the different types of charts that can be generated. I have not had a chance to try this package out yet, but it looks very promising.

Thursday, September 13, 2007

MyGWT - a new GWT widget library


I looked at the demo today. The widgets look very slick. I definitely need to take a much closer look at this widget library in the future.

Monday, September 3, 2007

Issue 1597 - google-web-toolkit - Google Code

Issue 1597 - google-web-toolkit - Google Code

Today I started working on a GWT application that will use a Tomcat back end and a HSQLDB database on a Ubuntu Linux server. My first task was to create a SuggestBox and I started testing it using GWT version 1.4.60.
I quickly found (and reported) an Internet Explorer bug. Thankfully I use FireFox, so I should be able to work around this issue for now.

Friday, July 20, 2007

Thursday, July 19, 2007

Setup tomcat server under IIS steps

This document will help you setup Tomcat + IIS in a Microsoft Windows environment. If you need to find a company that offers Tomcat hosting then please see my other blog entry about GWT Hosting. Thanks!

Setup tomcat server under IIS steps - Google Docs & Spreadsheets