Archive for the 'Java' Category

Aggregation vs Inheritance

Saturday, November 19th, 2005

Anyone remember the war between Microsoft and IBM over aggregation versus inheritance? It was basically the COM vs CORBA war. The Workplace Shell in OS/2 was based on inheritance – if you wanted to extend the shell, you subclassed one of the shell objects and overrode functions. Explorer, in Windows, being based on COM, went […]

Tomcat Tip

Thursday, November 10th, 2005

When you first install Tomcat, there doesn’t seem to be any account configured with admin rights. This keeps the default install secure, but of course the first thing you’re going to want to do is log in to your new installation with admin rights. To grant the tomcat user admin rights, edit conf/tomcat-users.xml. It starts […]

A Simple J2EE Application in 105 Easy Steps

Wednesday, October 5th, 2005

Continuing my quest to understand J2EE, I Googled for “simple j2ee”. I found “A Simple J2EETM Application that Uses the JMS API”. By my count there are 105 steps to follow to create your simple application.

Java XML vs .NET Framework

Sunday, September 11th, 2005

The Java framework feels like a low level .NET framework. .NET has a lot of convenience functions that make doing common things easy, and the more I work with Java, the more I yearn for that. Today’s example: I want to load some XML and extract some text from a node. .NET code: XmlDocument doc […]

WordPress, PHP, dateCreated

Friday, September 9th, 2005

So back to my trying to post all my old blog entries. It’s important that they come over with the dates intact. The MetaWeblogAPI uses a hashtable of RSS keys to describe the blog entry, so the obvious way to do it would be to have the pubDate RSS item as one of the keys, […]

HTML Editor written in Java

Monday, September 5th, 2005

This looks impressive: kafenio.

WordPress, MetaWeblogAPI

Monday, September 5th, 2005

Back to my project to migrade my blog posts from Community Server to WordPress. WordPress supports the MetaWeblogAPI.  This API uses XML-RPC.  I started out looking for a Java wrapper for the MetaWeblogAPI, but couldn’t find anything useful. I found a content management system named Jahai that has a MetaWeblogAPIImpl class, but it doesn’t look like […]

Developing for Vista

Wednesday, August 31st, 2005

Vista, to the end user, will probably look a lot like Windows XP with a bit of a UI refresh, but there’s a whole lot going on under the scenes that only developers will appreciate. Win32 has been how you write Windows software since Windows 95 (and that was based on Win16) – from the […]

Blog Post File Format

Monday, August 29th, 2005

I decided previously to use an RSS <item> as the file format for a blog post.  Looking into the MetaWeblogAPI, it seems like that was a good move, since posting with MetaWeblogAPI involves simply sending the <item> to post.  So there’s two things to do: Figure out the SQL query to use with Community Server to […]

Eclipse, Run Configurations

Friday, August 26th, 2005

In our last episode, I managed to connect to the database.  Now what I want to do is extract data from the database and write it out as standalone XML files, one XML file per item. I’m not going to go through every step of the process since I’m not really writing a tutorial here, just covering […]