Archive for the ‘java’ Category

Beware the ClassCastException (a tale of a native Memory Leak)

Saturday, November 15th, 2008

Far too long we were struggling with a Java memory leak obviously produced by one of our 3rd party libraries that we were using.

Fortunately, we had the source code.

After weeks, Heli my coworker had the right clue!

He wrote a detailed article about what JVM bug we ran into:

Beware the ClassCastException (a tale of a native Memory Leak)

JavaDeus 08

Friday, June 20th, 2008

“I attended yesterday the JavaDeus in St. Pölten, Lower Austria, and I have to say I was quite surprised; very professional, interesting, and quite a fun….” …. that’ how a friend of mine starts his post.

… and I agree with every word in his post:

JavaDeus 2008 - a successful start for the Austrian Java Community

I love Rails, no I hate Rails

Thursday, January 31st, 2008

To learn and to review Rails I started a project some time ago.
At the moment I really don’t know if this was a good decision. Don’t get me wrong -I really appreciate Rails and the whole development was fun. It’s amazing what you can do with some lines of code and how smart the whole framework is built.

Actually, I would really say Rails, considered as it is, is a quite mature platform - especially speaking about Rails2.0. But coming form rock-solid Java development, in comparison Rails development with all it’s dependencies is negligent immature.

Huh, what am I talking about:
I am talking about Rails and their dependencies, more exact: gems and plugins you want to use ’cause they seem to be well done and seem to save you a lot of work.
But while my development goes on the opposite seems to be true: Every one of the used plugins I had to rewrite or bugfix after searching the Internet for other fellow sufferers who had the same problem.

See my prior post about ferret!

And now, beside others I hate working with the award-winning attachment_ fu plugin. It would be great w/o having its dependencies.

  1. After updating Rails and other gems and ImageMagick just to be work on the actual versions, thumbnailing was not working anymore. The reason I have installed a ImageMagick version that lacked jpeg support. Ok! I was my fault! But that attachment_fu absorbs all exceptions made me go grazy. You won’t see this in Java.
  2. As RMagick is known to cause memory leaks I switched to mini_magick. And soon I had the next big problem. Should I try out ImageScience now and wait for the next bugs to fix?

And that is my problem with Rails. I have to fix well-known bugs in an immature environment and loose so much time. Perhaps staying on the Java platform would take a longer development time but I can rely on 3rd party libs.

JVM Lies: The OutOfMemory Myth

Tuesday, January 15th, 2008

…. Java developers, ever had strange  situations with ‘OutOfMemory’.

Perhaps this article will bring some light to the next ‘OutOfMemory’ situation.

Thanks, Mr. Kenneth Roper!

o3:magazine

Wednesday, December 19th, 2007

o3 is a FREE electronic publication distributed in PDF format. o3 is published using open source software exclusively. The focus of o3 is on the use of Free and Open Source (FOSS) software in Enterprise and Business environments.

o3:magazine is a free PDF-published magazine holding some nice articles about open-source enterprise techniques and reviews.

Articles range from:

  • general Linux administration
  • tips&tricks for open source servers: SMTP, Apache, Asterisk, …
  • development  tips&tricks
  • Linux enterprise desktop apps

The whole project is financed due a lot of advertisements. So you can expect a magazine with 50% of commercials in it. IMHO: Makes it somehow hard to read, ’cause the articles are mostly interrupted by these ads.

Everyone is allowed to contribute. If your article will be published you will get a T-shirt and a free full page advertisement. 

So take a look!  

Eclipse RCP tutorial

Saturday, September 29th, 2007

I stepped across a quite comprehensive Eclipse RCP tutorial:

http://www.vogella.de/articles/RichClientPlatform/article.html

Great Thanks, Mr. Lars Vogel

Comparing Java Web Frameworks Presentation

Friday, May 4th, 2007

First of all I want to say, that it wasn’t my intention to let this blog fall to hibernation. Hm, hopefully I will be a more agile blogger in the future.

Matt Raible, the guy behind AppFuse published his presentation in his blog. He compares the most common Java Web-Fwks in a quite detailed way.

I often was in the situation that I didn’t really know which of them are just academical try-outs and which are really production ready.

So take a look!