High Availability (HA), Session Replicated, Multi-VM Payara Cluster

java-interview-questions-answers

Abstract While researching how to create a high availability (HA), session replicated, multi-machined Payara/GlassFish cluster I discovered I couldn’t find everything I needed in a single reference. I assumed this would be a common need and easy to find. Unfortunately my assumption was wrong. So the purpose of this post is to give a complete end-to-end example of a high ...

Read More »

Optimizing Android Test Automation Development

Now that we are a few weeks away from Google I/O, and we understand that the complex Android landscape is becoming, even more, complex let’s explore a way Android teams can optimize and plan their test automation across the different platforms and devices. In the past, I’ve written about the need to connect the 3 layers: Application under test Test code ...

Read More »

Keeping Your Skills Up to Date as a Software Developer

It’s a wild world of ever-changing technology. What was new and hot yesterday is old and crufty today. Dinosaurs actively roam the halls of software development organizations, and you don’t want to be one of them. The key to not going the way of the Dodo Bird is to keep your skills up to date. You don’t have to learn ...

Read More »

Electronic Signature Using The WebCrypto API

Sometimes we need to let users sign something electronically. Often people understand that as placing your handwritten signature on the screen somehow. Depending on the jurisdiction, that may be fine, or it may not be sufficient to just store the image. In Europe, for example, there’s the Regulation 910/2014 which defines what electronic signature are. As it can be expected ...

Read More »

Jersey Web Service Hello World Example in Java

java-interview-questions-answers

After Restlet, Jersey is another popular open source framework to create RESTful web services in Java. Jersey conforms JAX-RS specification and actually it is the reference implementation of JAX-RS (JSR 311)(http://jsr311.java.net/nonav/releases/1.1/index.html) specification. In the last article, we have seen the Restlet HelloWorld Example and today we’ll see the Jersey HelloWorld Example. Typically, when a developer thinks of creating a RESTful web service using Java, ...

Read More »

Spring Boot Web Slice test – Sample

java-interview-questions-answers

Spring Boot introduced test slicing a while back and it has taken me some time to get my head around it and explore some of its nuances. Background The main reason to use this feature is to reduce the boilerplate. Consider a controller that looks like this, just for variety written using Kotlin. @RestController @RequestMapping("/users") class UserController( private val userRepository: UserRepository, private val ...

Read More »

Short Retry vs Long Retry in Apache Camel

Camel Design Patterns book describes 20 patterns and numerous tips and best practices for designing Apache Camel based integration solutions. Each pattern is based on a real world use case and provides Camel specific implementation details and best practises. To get a feel of the book, below is an extract from the Retry Pattern from the book describing how to ...

Read More »

Hibernate Architecture Overview

The diagram below provides a high-level view of the Hibernate architecture: Minimal architecture The “minimal” architecture has the application manage its own JDBC connections and provide those connections to Hibernate; additionally the application manages transactions for itself. This approach uses a minimal subset of Hibernate APIs. Comprehensive architecture Hibernate Basic APIs Here are quick discussions about some of the API ...

Read More »

[MEGA DEAL] The Complete Python Programming Bundle (93% off)

Take a Deep Dive Into a Wide Range of Python’s Many Capabilities Hey fellow geeks, This week, on our JCG Deals store, we have another extreme offer. We are offering a massive 93% off on The Complete Python Programming Bundle. Get it now with only $79, instead of its original price of $1,176. Python Programming for Beginners Designed for beginners, ...

Read More »