Archive for the ‘Software Development’ Category

WebSphere CE – Deploy WAR on its own port

I was tasked by the powers that be to figure out how to deploy a WAR in WebSphere Application Server Community Edition (WSASCE) under a separate port from other applications that were already running on our test server. After much googling and frustration, since I have never worked with WSASCE before, I finally figured it [...]

Mac – Eclipse Galileo – Installing GWT Plugin

Ok, So I was having some real issues when I tried to install the GWT plugin from Google into Eclipse Galileo on my Mac in order create a GWT 2.0 application. After installing the plugin (via the update site – http://dl.google.com/eclipse/plugin/3.5) you need to restart Eclipse. However when Eclipse restarted all I got was an [...]

PowerBuilder 11 “Invalid character value for cast specification”

I was given the task of migrating a set of powerbuilder applications from version 8 to 11.5.
The PowerBuilder applications required a database connection. I went through their connection utility and the only connection type that I could get to work with my Microsoft SQL Server 2000 was ODBC. I configured it and PowerBuilder told me [...]

Struts2 Rest Webservice

I started out trying to create a rest webservice for a project I’m working on with Mersoft. After a little bit of research, I discovered Apache has a rest plugin that enables Struts 2 to perform as a rest webservice.
I followed the documentation at http://struts.apache.org/2.x/docs/rest-plugin.html and created my rest webservice. However, I came across a [...]

GWT – Hide Tabs in TabPanel

I was continuing my work on a sample GWT app and needed the ability to use a Menu with CheckItems to show/hide tabs in a tab panel. Here is how I did it.
Note: This post does not cover the creation of the TabPanel, Toolbar and ToolbarButton with a Menu.
Step 1: Override the Ext.TabPanel. (Note: This [...]

How to Configure Axis 1.4 WS Client (Java) to accept GZIP compressed SOAP messages.

In this blog I will explain how to write an Axis 1.4 Client that can accept GZIP compressed SOAP messages. The GZIP compression feature of Axis 1.x is not well documented on the Apache website, so you have to search for it in blogs like this one. You can also use Axis 1.x [...]

GWT Disable ComboBox options

I have been working on an application that required the ability to disable ComboBox options. I googled to see if someone else had already done this and I found the following post. I used the code from the post as a starting point and added additional code to flush out a few more features.
The main [...]

Palm Pre / PreDev Camp

The buzz around the Palm Pre has been fun to be a part of. When I heard about this phone’s development, I thought I could finally have something at least comparable to an iPhone. I have been torn between a love for all things Apple and supporting my favorite telecom company, Sprint. Finally, something to [...]

GWT-EXT: Retain Checkbox selections in page-able GridPanel

When working on a sample project for Mersoft using GWT-EXT I came across a use case that required a data table that was page-able, had a checkbox selection per row, and needed to maintain the checkbox selections when paging.
Here is what I ended up doing. It may not be pretty, but hey, its a sample.
I [...]

Try to Stay DRY

Have you ever cut and pasted a piece of code and then tweaked the resultant new code just slightly in order to perform a variation on the first piece of code? Oh come on now, fess up. Well that nagging feeling of guilt you have is your innate understanding of the DRY Principle kicking in. Listen to [...]