xgrr.de – the whole not the half

things, thoughts and stuff out of life, daily business and computer science


Java and C# served well done

java-and-c-served-well-doneFor a new project of mine I was looking for a messaging subsystem for C# which I was able to use from literally everything else. When working with C# you will hear that Microsoft Message Queue is your choice. That’s about right. But then you’re bound to a specific product and the use with PHP is very limited or impossible from Unix systems.

My second choice was JMS. You might ask how do I get JMS working with C#. But actually thats not even that hard. Following the small how to OpenJMS from C# which I adapted for Visual Studio I got OpenJMS working with C# quite easily.

But that’s not all. I was also able to get Java libraries as assemblies into .NET and am actually able to use the full power of some of the libraries from within C#. This means you can combine the best of both into your programs. The whole thing has only one little drawback as your C# program needs to run a embedded Java Virtual Machine the memory footprint will be not as what you’d expect of a simply .NET application.

Nonetheless. I got JMS running with C# and could even implemented the MessageListener classes with C# and hook them into my JMS listener. Furthermore you would be able to use log4j for instance (nobody would as there is a native implementation called log4net available).

Windows Vista && 1GB RAM && Eclipse != good

vista_1gb_eclipseOh my. Got my new company notebook with Windows Vista pre-installed. They didn’t think about the RAM before creating this Compaq 6720s. But anyways it has a nice glossy screen and tomorrow I can install the company image (XP though) and then all my worries are gone again :)

Going Enterprise

Didn’t want to do this for a long time. I’m a PHP kind of guy for a very long time and programmed a lot of applications based on PHP and MySQL. Nevertheless now is the time I’m needed to dive into JEE (former J2EE). I’m curious what this will bring. Spring, Struts and Co are big question marks above my head…