Skip to main content
View by: Most Recent | Topic | Community | Webloggers   
Monthly Archives:    

Blogs by topic Programming and user crazybob

• Accessibility • Ajax • Blogging • Business • Community 
• Databases • Deployment • Distributed • Eclipse • Education 
• EJB • Extreme Programming • Games • GlassFish • Grid 
• GUI • IDE • Instant Messaging • J2EE • J2ME 
• J2SE • Jakarta • JavaFX • JavaOne • Jini 
• JSP • JSR • JXTA • LDAP • Linux 
• Mobility • NetBeans • Open Source • OpenSolaris • OSGi 
• P2P • Patterns • Performance • Porting • Programming 
• Research • RMI • RSS Feeds • Search • Security 
• Servlets • Struts • Swing • Testing • Tools 
• Virtual Machine • Web Applications • Web Design • Web Development Tools • Web Services and XML 


Programming

In a recent thread on TheServerSide.com, readers voiced concern over JDBC drivers and connection pools that fail to close Statements and ResultSets when you call Connection.close(). If an application uses such a broken driver or pool and doesn't explicitly close these objects, the application will slowly leak resources and crash. Erring on the side of caution, many developers write JDBC code...
on Mar 5, 2004
Simon Brunning solicited advice on Data Access Object (DAO) design. I have a few tricks up my sleeve that don't demand a great deal of effort (no need to mock up InitialContext for example) but that do result in performant and maintainable tests. Database Commands I implement JDBC logic using the command pattern:   interface DatabaseCommand {    void execute(java.sql....
on Feb 27, 2004
If you've ever diagnosed a bug in a web application, you've undoubtedly experienced annoyance digging through a list of fifteen exception stack traces trying to identify the one you're interested in (if it's even present), or a sinking feeling when you tailed the web server log only to find:   java.lang.NullPointerException I sure have. The output to the browser client helps even less,...
on Feb 6, 2004