Home » Java » Enterprise Java (page 4)

Enterprise Java

Desired Capabilities in Selenium Testing With Examples

Desired Capabilities is a class used to declare a set of basic requirements such as combinations of browsers, operating systems, browser versions, etc. to perform automated cross browser testing of a web application. When we try to automate our test scripts through Selenium automation testing, we need to consider these combinations to declare a specific test environment over which our ...

Read More »

Java: Release of Speedment 3.2 – Now Enabling Lightweight Database Microservices

java-interview-questions-answers

Several traditional ORMs do not fully honor Java module encapsulation (JPMS). This often means a lot of unnecessary files and classes are used when deploying microservices. The latest major release 3.2 of open-sourceSpeedment solves this problem by introducing module system support allowing efficient deployment of cloud applications and providing a more stringent API. In this article, you will learn what’s ...

Read More »

Java: How to Create Lightweight Database Microservices

java-interview-questions-answers

The number of cloud-based Java database applications grows by the minute. Many organizations deploy hundreds if not thousands of microservice instances. However, most applications carry an astounding amount of unnecessary overhead with respect to the runtime environment. This, in turn, makes the application slower and more expensive to run. In this article, I will demonstrate how to write a database ...

Read More »

Better integration tests with WireMock

spring-interview-questions-answers

No matter if you follow the classical test pyramid or one of the newer approaches like the Testing Honeycomb you should start writing integration tests at some point during development.There are different types of integration tests you can write. Starting with persistence tests, you can check the interaction between your components or you can simulate calling external services. This article ...

Read More »

Build a Simple CRUD App with Java and JSF

java-interview-questions-answers

Easily deploy your app with Okta’s identity management platform Use Okta’s API to authenticate, manage, and secure users in any app within minutes. Try Okta today. JavaServer Faces (JSF) is a Java framework for building Web applications, centered on components as the building blocks for the user interface. JSF benefits from a rich ecosystem of tools and vendors, as well ...

Read More »

CUBA Platform: TypeScript SDK and REST API

java-interview-questions-answers

In this article, we will talk about the feature of the CUBA platform that exists for quite a long time, but is still not widely known – front-end SDK generator, and see how it works with CUBA’s REST API addon. Java+JavaScript – marriage born in web Only eight years ago we, Java developers, used JavaScript as a “second-class citizen” language ...

Read More »

Microservices in Publish-Subscribe communication using Apache Kafka as a Messaging Systems and validated through Integration Test

Publish-Subscribe Messaging systems play an important role in any enterprise architecture as it enables reliable integration without tightly coupling the applications. The ability to share data between decoupled systems is not a problem that is easily tackled. Consider an enterprise with multiple applications that are being built independently, with different languages and platforms. It needs to share data and processes ...

Read More »

Memory wasted by Spring Boot Application

spring-interview-questions-answers

One of the widely wasted resources in the world today is Memory. Due to inefficient programming, surprising (sometimes ‘shocking’) amount of memory is wasted. We see this pattern repeated in several enterprise applications. To prove this case, we conducted a small study. We analyzed the famous spring boot pet clinic application to see how much memory it is wasting. This ...

Read More »

Hash a Json

I recently wrote a simple library to predictably hash a json. The utility is built on top of the excellent Jackson Json parsing library Problem I needed a hash generated out of a fairly large json based content to later determine if the content has changed at all. Treating json as a string is not an option as formatting, shuffling ...

Read More »