Home » Java » Enterprise Java (page 30)

Enterprise Java

The Dark Side of Java Production Monitoring

Automated workflows are the new gold standard for delivering top quality products in an agile environment. Unfortunately, with constant change, comes constant risk. Enter Observability, a measure for how well the internal states of a system can be inferred from its external outputs. It’s the ability to know how applications operate in production. In this session, we’ll cover: The basics ...

Read More »

Spring Hibernate Tutorial

spring-interview-questions-answers

1. Introduction In this post, we shall demonstrate how to leverage the power of one of the most popular ORM (object-relational mapping) tool, Hibernate which facilitates the conversion of an object-oriented domain model to a traditional relational database. Hibernate is one of the most popular Java frameworks out there. For this reason we have provided an abundance of tutorials here ...

Read More »

The Promises, Payoff, and Products of Hybrid Clouds

java-interview-questions-answers

The cloud promised to provide us all flexibility. The opportunity to access infinite resources as and when we need them and pay accordingly. We would no longer have to spend time installing, configuring and maintaining servers; we were promised more time to “just code.” Instead, we got increasing vendor lock-in and a handful of cloud players so large that if ...

Read More »

Introduction to Spring Cloud – Config (Part I)

java-interview-questions-answers

1. Overview Spring Cloud provides tools for developers to quickly build some of the common patterns in distributed systems (e.g. configuration management, service discovery, circuit breakers, intelligent routing, micro-proxy, control bus, one-time tokens, global locks, leadership election, distributed sessions, cluster state). It helps manage the complexity involved in building the distributed system. 2. Microservices Microservices is a software development architectural ...

Read More »

Get to Know Custom Object Creation: JSON Binding Overview Series

Let’s take a look at how JSON Binding handles custom object creation. Next article in this series covers customization of JSON-B with adapters. JSON-B expects all classes to have a public no-argument constructor, which it uses during deserialization to instantiate the target class. Once the instance is created, it is populated with data from the JSON document by calling the appropriate ...

Read More »

JPA Tips: Avoiding the N + 1 select problem

java-interview-questions-answers

Introduction ORM frameworks like JPA simplifies our development process by helping us to avoid lots of boilerplate code during the object <-> relational data mapping. However, they also bring some additional problems to the table, and N + 1 is one of them. In this article we will take a short look at the problem along with some ways to ...

Read More »

Get to Know Customisation: JSON Binding Overview Series

Let’s take a look at how the annotation model and runtime configuration work when customizing the JSON Binding serialization and deserialization processes. Next article in this series covers how JSON-B handles custom object creation. Annotation Method Using the annotation method, it’s possible to customize the default serialization and deserialization behavior by annotating fields, JavaBean methods, and classes. @JsonbNillable @JsonbPropertyOrder(PropertyOrderStrategy.REVERSE) public class ...

Read More »

2 Ways to Setup LDAP Active Directory Authentication in Java Spring Security Example Tutorial

spring-interview-questions-answers

LDAP authentication is one of the most popular authentication mechanism around the world for enterprise application and Active directory (an LDAP implementation by Microsoft for Windows) is another widely used LDAP server. In many projects, we need to authenticate against active directory using LDAP by credentials provided in the login screen. Sometimes this simple task gets tricky because of various ...

Read More »