Open source Java
Open source development tools offer a more affordable and more customizable means to develop Java software. Although problems and costs can arise from lack of documentation and support, many enterprise developers make open source development a large part of their Java dev strategies. In this section on open source strategies, learn the capabilities of different tools, discover new open source Java tools, and get tips and advice on integrating and contributing to open source projects.
How to get the Hibernate Session from the JPA 2.0 EntityManager
30 Jun 2013
Tip - This tip shows you how to get the Hibernate Session from the JPA EntityManager so you can perform functions only available from the JBoss Hibernate project.
Understanding the implicit dangers of software component re-use
07 Jun 2013
Tip - Every software developers has the goal of component re-use, but there are implicit dangers in the practice that all developers must be aware of.
Tomcat performance optimization through consolidated log file handlers
05 May 2013
Tip - By default Tomcat uses several log file handlers, but performance can easily be optimized by configuring the server to use only one.
Troubleshooting Java Code: Log or Re-Throw, but Don't Do Both
06 Mar 2013
Tip - When building Java applications, proper logging and proper exception handling go hand in hand. But there are times when putting the two together is just plain wrong. This article explains why rethrowing an exception and logging it at the same time is a...
Making 'big data' projects flexible, timely with Agile software development
12 Oct 2012
Tip - Agile can help in the delivery of more timely applications in 'big data' projects, largely due to better collaboration between business and development.
James Strachan on evaluating Node.js
09 Jul 2012
Video Tip - Node.js is an often debated new programming language. In this video James Strachan gives his advice on whether or not to use Node.js for a given project.
Water-Scrum-fall: It's not an Agile methodology
07 Jun 2012
Video Tip - The bottom line? You're either Agile or you're not, and if you're not, using water-Scrum-fall to squeeze in Agile methodologies may only create problems and resentment.
OSGi gives open source middleware a modular deployment model
29 May 2012
Video Interview - James Strachan explains how OSGi has helped Apache middleware projects achieve a more modular deployment model in this video interview from CamelOne 2012.
Java 7 and the intricacies of safe and unsafe casting
26 Jan 2012
Tip - One of the problems with casting is that it does have the potential to cause a loss of precision, especially if the number that gets cast does indeed fall outside of the range of the target type. Here we will explain why this happens.
OCPJP Java 7 Mock Certification Exam: A Tricky Question about ARM and Try-with-Resources
30 Dec 2011
Tip - The Oracle Certified Professional Java Programmer (OCPJP) exam requires you to know the ins and outs of the new language features introduced in Java 7. This tricky question tests you on your knowledge of try-with-resources and AutoCloseable objects.