Core Section Index
Learn how ORM (Object Relational Mapping) can help map objects into a database as if you were no longer working with records of the relational model but objects in an object oriented model.
Constantin Marian Alin explores the power of Lambda expressions and streams, from simple to complex examples.
A clear policy on how to code Java exceptions will save you time diagnosing, reproducing, and correcting issues. Here are several tips to improve your exception handling.
If you were wondering how to dynamically load a class based on some configuration or settings file, then you might be able to solve your problem using Java Reflection and Properties.
An evolution of the builder design pattern.
Sometimes understanding the best practices for OOP requires looking at some of the worst practices you can do...
A number of questions are asked in interviews. Here is a resource of a list of questions you might be asked.
Developers have many Java collection classes available, but are they using the right collection to best suit their needs?
Every application fails once in while. Even the ones built with Java, using design patterns, best practices, and a lot of good intentions. So we better prepare our applications for these situations...more
For testing our programs we need a simple directory structure, with a few files and a few directories. Something along the lines of this:
The class for the directory is also rather simple, but this class also has to keep track of the files and directories it contains. Let's use two Vectors for this purpose. Since the code is so simpl...more
If you show this jsp-file in an XML-aware browser like Microsoft Internet Explorer 5.5 you'll get this picture: