Categories
Development

Dependency Injection concerns

Brian Repko has some interesting and relevant concerns about DependencyInjection in EJB here.

Also read the resulting disucssion on TSS here.

Categories
Development

Display available keybindings in Eclipse

In Eclipse, pressing ctrl-shift-l (l as in lima) will show you available shortcut keybindings in the current context. Sweet. 🙂 Found through this post over at Cedric Otakus blog.

Update: Doesn’t really seem to work does it? 😉 I’m suspecting Cedric has emacs bindings on. Check out http://eclipse-tools.sourceforge.net/Keyboard_shortcuts_(3.0).pdf for a reference sheet of the default keybindings.

Categories
Development

JavaBeans validation through annotations

Sun has an in-depth article about validation for JavaBeans properties here. It discusses some possibilities I actually didn’t know was possible, before it moves on to describing a solution using annotations.