![Loading...](https://link.springer.com/static/c4a417b97a76cc2980e3c25e2271af3129e08bbe/images/pdf-preview/spacer.gif)
-
Chapter
Spring Data and Different Types of Persistence
Chapter 1 discussed mechanisms to persist the information. One of them is Spring Data which offers the possibility to persist the information using different databases w...
-
Chapter
Cassandra: Wide-Column Database
The non-relational databases you have seen so far can have specific information replicas but imply that you configure a master node indicating the slaves. Another problem is how to replicate the information, w...
-
Chapter
Transaction Management
As you saw in the previous chapters of this book, you can execute simple queries to obtain information. Still, there are other cases when the situation is complex and involves updating/inserting/deleting table...
-
Chapter
Unit and Integration Testing
Testing is one of the topics you never stop learning about because new techniques and tools are always emerging, whether to write tests or simplify the way to perform tasks like creating mocks to check if a pa...
-
Chapter
Redis: Key/Value Database
Sometimes, you need to persist complex objects in a database and/or for a long period of time. Under these circumstances, the key/value store acts more or less as the Map<K,V> class, wherein you need a key to ...
-
Chapter
Best Practices
Developers frequently implement a solution that accesses a database, but problems appear months later. These problems may or may not relate to the solution’s implementation because many factors can affect perf...
-
Chapter
Java Support for LDAP
As the name suggests, the Java Naming and Directory Interface (JNDI) provides a standardized programming interface for accessing naming and directory services. It is a generic API that can access various syste...
-
Chapter
Neo4j: Graph Database
Most of the previous databases you’ve been exposed to throughout this book store information in a similar structure. A diagram or tool is necessary to help you understand how they organize information. But wha...
-
Chapter
Object-Directory Map**
Enterprise Java developers employ object-oriented (OO) techniques to create modular, complex applications. In the OO paradigm, objects are central to the system and represent entities in the real world. Each o...
-
Chapter
Spring Basics and Beyond
In Chapter 1, you read about ways to persist the information in databases. Spring Data is the only one that offers the possibility to use relational and non-relational d...
-
Chapter
Reactive Access
Most of the communication that an application establishes using HTTP connections implies a request, a specific process to obtain the response, and the response, which could be an exception or a type of informa...
-
Chapter
Versioning or Migrating Changes
One of the main problems every developer had at least once in her life was introducing modifications to a database. Changes to a database always have problems like who is in charge of executing the scripts or ...
-
Chapter
Detecting Performance Issues
Many developers create or modify the logic of applications that accesses a database. In most cases, this does not cause a problem because the modifications are simple, and developers create unit or integration...
-
Chapter
Introduction to LDAP
We all deal with directories daily. We use a telephone directory to look up phone numbers. When visiting a library, we use the library catalog to look up the books we want to read. We use the file system direc...
-
Chapter
MongoDB: Document Database
When you create an application, you may need to persist information in a specific format that will need modifying in the future. You may think that a relational database could be the best alternative for savin...
-
Chapter
Advanced Spring LDAP
JNDI provides the notion of object factories, which makes dealing with LDAP information easier. As the name suggests, an object factory transforms directory information into meaningful objects for the applicat...
-
Chapter
Odds and Ends
In this chapter, you will learn
-
Chapter
Application Architecture
Persistence is typically one of the most important topics in any language because it provides a way to save information in the long term for the applications that consume or produce it. In the past, when most ...
-
Chapter
Testing LDAP Code
Testing is an essential aspect of any software development process. As well as detecting bugs, it also helps to verify that all requirements are met and that the software works as expected. Today, formally or ...
-
Chapter
Searching LDAP
Searching for information is the most common operation against LDAP. A client application initiates an LDAP search by passing in search criteria, the information that determines where to search and what to sea...