gadominas's blog
Spring, lets Mock!
How would you mock your services which are not mock-friendly?
Let’s introduce a real case (the bad one) with some preconditions:
- You have a service where DAOs are wired at runtime based on the some conditions.
- DAOs lookup API is private and not exposed to the caller
Parleys at iG
Just a small gadget at iG for PARLEYS.com. Do not miss a fresh goodies from PARLEYS.com.
To add gadget to your iG, click this [+]
Don't mess your JPADAO with named queries stuff
Let's say I have tones of named queries through all my entities.
Code notation for Java
I used hungarian for C and I'm still using it for Java too.
Another way to control your home electricity devices
The main idea was to implement the remote power controller to have some kind of remote control over electricity sockets.
The plan was to create the adapter to control the electricity flow through the LPT port and to write an appropriate API.
The next check-point was to play with sound recognition API and to integrate it with the electricity control adapter.
All these ideas were just the ideas unti





