Most interesting links of March

I've decided to publish links to the most interesting blogs, articles and pages that I've stubled upon in a particular month. Enjoy the first dose! (In no particular order.)

I recommend the post 43 Essential Controls for Web Applications,which presents - with screenshots and short descriptions - the most used and useful javascript/ajax widgets for web pages, from the basic ones like auto-complete/suggestions and sliders through a calendar for less known yet very cool ones like sparklines. Read it to learn what's hot and you shouldn't miss in your application! (Warning: The number of widgets on a page is inversely proportional to its quality.)


Continue reading →

Enforcing a common log format with AspectJ

Enforcing a common log format with AspectJ

Andy Wilson has recently blogged about the
Continue reading →

Broken Eclipse shortcut under Gnome for Occurrences in File

Broken Eclipse shortcut under Gnome for Occurrences in File

One of the extremely useful keyboard shortcuts for Eclipse is Shift+Control+U which finds all occurrences of a selected identifier in the current file. Unfortunately  this doesn't work under Linux with Gnome because Gnome uses this shortcut for composing Unicode characters. You can check it by typing Shift+Control+U followed by 123 and a space into your browser's address bar: first it will render an underlined u and then a strange g-like character.

The conclusion is that you cannot use the shortcut Shift+Control+U and perhaps also a few others (I experienced troubles with Shift+Ctrl+A) in Eclipse under Gnome. You can the shortcut in preferences accessible e.g. via pressing twice Shift+Ctrl+L. For instance Shift+Ctrl+F1 is OK.

Environment: Eclipse 3.4/3.5, Ubuntu 9.04 with Gnome 2.26.1.

Continue reading →

Eclipse: Open Type/Resource working again under Linux!

Some weeks ago the extremely useful features of Eclipse Open Type and Open Resource stopped working, throwing an uninformative  Error instead, no matter which version or JRE vendor. I was desperate. Until finally I found a bug regarding this issue
Continue reading →

Released DbUnit Test Skeleton 1.1.0 - also in Maven Central

Released DbUnit Test Skeleton 1.1.0 - also in Maven Central



Continue reading →

The Art of Logging (review)

Colin Eberhardt, the co-author of the Simple Logging Facade, has written a very good article The Art of Logging, which should be a compulsory reading for every developer especially in the server side development domain. It's good both as an introduction as it covers all the important aspects and also for experienced developers because it has some very valuable insights.

Few ideas and sentences that really should be stressed:


Continue reading →

Releasing a project to Maven Central repository via Sonatype

If you have an open-source project and want it published into the Maven Central repository - even if it itself isn't build with maven - to make it visible to all Maven users without any special effort (at least once you set everything up), read on.

Continue reading →

Compiling with AspectJ's ajc compiler from Maven

I needed to compile AspectJ classes (.java with annotations) with ajc and I wanted to have that integrated into the Maven build process. I tried several means, finally finding the one that worked.

Continue reading →

Troubleshooting logging configuration (Log4j, commons-logging)

Did it ever happen to you that your logging didn't behave as expected? Here are some tips how to find out what's going on.

Commons-logging (since 1.1)


Continue reading →

Preview of the Portlets in Action book available

The book Portlets in Action being written by Ashish Sarin, which I've already mentioned and which looks really promising, has been made available via the Manning Early Access Program. As of today there are two chapters available and you can read the first one "Introducing Portals and Portlets" for free.

What I find to be the most attractive features of this book is that it concentrates on the "new" JSR 286 also known as Portlets 2.0 and goes beyond teaching portlets with its intorduction of Spring MVC and Ajax libraries suitable for portlets.


Continue reading →

PatternTesting: Automatically verifying the good application of architectural/design patterns in code

PatternTesting is a mature open-source project that enables you to automatically check at the compile- or run-time that architectural/design/implementation decisions are implemented and bad practices avoided in the code. The main differences from tools like FindBugs and PMD are that you can implement tests spanning multiple files (classes) and that aside of compile-time checks there are also run-time checks (using AOP with ApsectJ) to do things like "ensuring that there are no more than 10 calls to the database per user case" and providing better error messages in the case of e.g. IOException.
Continue reading →

Injecting timing aspect into JUnit test in Eclipse using AspectJ, AJDT

Introduction

This blog describes my experience with using
Continue reading →

See how Test Driven Development is done in practice

On the Manning site you can read the 2nd chapter of the book Test Driven - Practical TDD and Acceptance TDD for Java Developers by Lasse Koskela from 2007. The chapter 2: Beginning TDD
Continue reading →

The quest for a portal web framework is over and the winner is: Spring Portlet MVC

For a long time I've been looking for a web framework that would ease the development of web UI in portlets. Pure JSP is too old-fashioned and the abstraction it provides is just too low-level. There are many good web frameworks for standard web applications (JSF/Seam, GWT, Struts 2, Wicket, you name it...) but if they include portlet support than only as an after-thought and it's usually far behind the quality and features of the standard web framework. Nobody was able to recommend me a decent portlet web framework - until recently.

 First I've learned about an upcoming book Portlets in Action (preview) by Ashish Sarin, which teaches not only Portlets 2.0 (JSR 286) but also other must-haves for a real world development like a portlet web framework and Ajax (DWR in this case). You've surely already guessed that Ashish uses Spring Portlet MVC, which indicates that it must be indeed good.


Continue reading →

Released DbUnit Test Skeleton 1.0.0 - setup DbUnit test w/ embedded DB in few minutes

I've just released a little open-source project DbUnit Test Skeleton 1.0.0.

Creating a a
Continue reading →

Copyright © 2024 Jakub Holý
Powered by Cryogen
Theme by KingMob