Archive for August, 2008
copy & paste
August 30th, 2008 by Jeanne BoyarskyVirtually all of us are guilty of copy and paste “reuse.” There are different types of reuse though and each come with their own set of problems and gotchas. Copy/paste a method or large code snippet This is the kind of reuse that almost everyone will agree is bad. When all is said and done [...]
Categories: Development Process.
Comments: 1
Error Checking Across Three-tiered Systems
August 27th, 2008 by Scott SelikoffFor today’s post we’re going to delve into one of the least talked about but extremely common tasks a software developer works with, input validation, or error checking as its more commonly referred to as. Input validation is defined as taking what a user enters on screen, verifying it meets certain requirements, and returning a [...]
Categories: Java/J2EE.
Tags: checking, error, systems, Three-tiered
Comments: none
EJB3 – annotations vs xml
August 24th, 2008 by Jeanne BoyarskyScott’s recent post on EJB3 got me thinking about annotations as a “replacement” for XML. By now, we all know why shoving everything in XML isn’t the best of ideas. I think shoving everything in Java code is bad too. In particular deployment time concerns (like security) shouldn’t require a recompile. JEE 5 offers the [...]
Categories: Java/J2EE.
Tags: Annotations, EJB3, XML
Comments: 2
