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 […]
Archive for the 'Java' Category
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 […]
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.
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: 1234XmlDocument doc […]
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, […]
This looks impressive: kafenio.
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 […]
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 […]
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 […]
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 […]