Quantcast
Channel: Rambling about... » spring
Browsing all 10 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Unit testing and declarative transactions with Spring and Hibernate

I’ve developed a simple service for creating users in an application, which I want to unit test. The service’s methods are declared as transactional with Spring metadata (In my case, I’m using...

View Article



Image may be NSFW.
Clik here to view.

Unit testing, a better way

I’ve already blogged about unit testing with Spring and Hibernate. But it turned out that unit testing is much simpler when it is done the right way. See for yourself and compare. Instead of having a...

View Article

Image may be NSFW.
Clik here to view.

Logging SQL queries with Spring

If you need to see the SQL executed by Spring jdbc classes, you can use log4j configuration to turn on debug logging level on the org.springframework.jdbc.core package...

View Article

Image may be NSFW.
Clik here to view.

Effective Java Exceptions

I’ve read Barry Ruzek‘s (who I did not know before) article on Effective Java Exceptions (found via TSS). Essentially, it classifies errors in two categories: contingencies and faults. Contingencies...

View Article

Image may be NSFW.
Clik here to view.

Transparent database encryption

A co-worker and friend of mine recently released a new open-source project. It is called Jasypt (Java Simplified Encryption). It is focused on simplying the most usual cryptographic tasks (like...

View Article


Image may be NSFW.
Clik here to view.

Appfuse 2.0, sweet!

I must admit that I had never tried Appfuse 1.0 because of my laziness. It required me to download something, install it somewhere and then run ant on it… too many things just for giving it a test...

View Article

Image may be NSFW.
Clik here to view.

MaintainJ, generating UML diagrams from runtime execution

I’ve just learned from MaintainJ on TSS, and it looks like a cool idea. In brief, it is able to instrument your code (using AspectJ for that, so no code modification is performed) so it writes calls to...

View Article

Image may be NSFW.
Clik here to view.

First contact with Spring RMI

For years, I’ve been surrounded by components using Java RMI, but never ever needed to implement anything using it. So when chance came, I went the Spring way, as I knew it had support for...

View Article


Image may be NSFW.
Clik here to view.

Coding productivity

I while back, I read The Mythical Man-Month. The data in chapter 8 of the book (which is by no means recent) points out that the average productivity for a developer, measured in debugged lines of code...

View Article


Image may be NSFW.
Clik here to view.

New in q4e 0.6.0

I was planning to write a “q4e 0.5.0 released” post later today, but since Carlos has already done so, I will fast forward one whole version :-) My goal for 0.6.0 will be to abstract q4e from the JDT...

View Article
Browsing all 10 articles
Browse latest View live




Latest Images