Core Section Index
Getting Started with Java Generics
How to Use TestNG and Java Logging APIs to Create Test Logs That Are Structured Like Javadocs
Artificial Intelligence for Humans, Vol 3: Deep Learning & Neural Networks
Using the ORM Tool in a Simple JDBC Program
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.
Start Using Java Lambda Expressions
Constantin Marian Alin explores the power of Lambda expressions and streams, from simple to complex examples.
6 Tips to Improve Java Exception Handling
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.
Dynamic Loading Using Java Reflection and Properties.
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.
The Step Builder Pattern
An evolution of the builder design pattern.
Best Practices in OOP
Sometimes understanding the best practices for OOP requires looking at some of the worst practices you can do...
Best Java interview questions
A number of questions are asked in interviews. Here is a resource of a list of questions you might be asked.
Which Java Collection Should I Use?
Developers have many Java collection classes available, but are they using the right collection to best suit their needs?
Using your own exception classes in Java
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
Files and Directories in Java | Directory Structure
For testing our programs we need a simple directory structure, with a few files and a few directories. Something along the lines of this:
Files and Directories in Java | The MyDir Class
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
Files and Directories in Java | XML Output
If you show this jsp-file in an XML-aware browser like Microsoft Internet Explorer 5.5 you'll get this picture: