Most interesting links of April
- Getting Started with Tdd in Java using Eclipse [Screencast] - you will see not only TDD in practices but also a number of best practices applied and some inspirational novelty (at least for me) ideas such as creating one test class per test configuration (and thus multiple test classes for a single "business" class); I really recommend this even if you are not interested in TDD
- NoSQL links (as everybody these days, I'm also at least observing the NoSQL movement):
- Why Twitter selected Cassandra (brought by the great myNoSql blog) - why they choose Cassandra over other alternatives and instead of the current solution of mysql with memcache
- Cassandra at Digg: Looking to the future with Cassandra (9/2009) - why Digg considered switching to Cassandra (which they also did)
- Testing
- Easy data-driven testing with Spock - the Spock framework based on the popular JVM scripting language Groovy (99% Java + 1000% added) introduces a custom domain-specific language (DSL), which makes testing of a method using different data incredily easy and readable, with all the power of Groovy at hand; see the post and you will see immediately what I mean
Continue reading →
My older posts at JRoller
Continue reading →
File-based User Authentication under WebSphere 6
File-based User Authentication under WebSphere 6
When developing a web application for the WebSphere Application Server you sometimes need to enable security because the application expects HttpServletRequest.Continue reading →
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 theContinue reading →
Broken Eclipse shortcut under Gnome for Occurrences in File
Broken Eclipse shortcut under Gnome for Occurrences in File
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!
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
Continue reading →
Compiling with AspectJ's ajc compiler from Maven
Continue reading →
Troubleshooting logging configuration (Log4j, commons-logging)
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
Continue reading →
Injecting timing aspect into JUnit test in Eclipse using AspectJ, AJDT
Introduction
This blog describes my experience with usingContinue reading →