Article
When developing web applications, an important choice is which engine will be taking care of the view layer. Java Server Pages (JSPs) used to be very popular, though the overhead and time-consumption were some major drawbacks to using them. They required a fair bit of change to the HTML of...
Dhrubajyoti Bhattacharjee
In this article, we'll discuss a concept related to serialization and deserialization in Java. Although sometimes considered as "part of the black magic of the Java serialization API", in this article we'll see that serialVersionUID is in fact quite straightforward and simple. First, we'll gloss over serialization and...
Luka Čupić
In this article, we'll dive into Relationship Mapping with JPA and Hibernate in Java. The Java Persistence API (JPA) is the persistence standard of the Java ecosystem. It allows us to map our domain model directly to the database structure and then gives us the flexibility of manipulating objects in...
François Dupire
An enterprise application is a software solution created for the needs of an organization. It's oftentimes a large-scale, multi-tiered, scalable system. Enterprise software can deal with a lot of complex data and it's important for this type of software to have good architecture. Enterprise application architecture patterns are standardized solutions...
Victoria Seniuk
In this article, we'll take a look at how we can leverage the Runtime and ProcessBuilder classes to execute shell commands and scripts with Java. We use computers to automate many things in our daily jobs. System administrators run many commands all the time, some of which are very repetitive...
David Landup
As microservices and distributed applications quickly take over the development world - data integrity and security are more important than ever. A secure communication channel and limited data transfer between these loosely coupled systems are paramount. Most of the time, the end-user or service doesn't need to access the entirety...
Taimoor Choudhary
There are multiple ways of formatting Strings in Java. Some of them are old-school and borrowed directly from old classics (such as printf from C) while others are more in the spirit of object-oriented programming, such as the MessageFormat class. In this article, we'll gloss over several of these approaches....
Be it searching through a play-list for your favorite song or searching through a catalog to pick the restaurant to have your next meal in, our lives are filled with searching for things. In quite the same way, computers perform search queries on their data collections and structures. However, in...
Dasun Nirmitha
In this article, we will overview the functionality of the Future interface as one of Java's concurrency constructs. We'll also look at several ways to create an asynchronous task, because a Future is just a way to represent the result of an asynchronous computation. The java.util.concurrent package was...
© 2013-2025 Stack Abuse. All rights reserved.