Tag: java

Total 159 Posts

Data Transfer Object Pattern in Java - Implementation and Mapping

Introduction

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

Continue Reading

Executing Shell Commands with Java

Introduction

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

Continue Reading

Formatting Strings in Java

Introduction

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

Continue Reading

Jump Search in Java

Introduction

Be it searching through a playlist for your favorite song or seeking 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,

Continue Reading