Annotated controllers – Spring Web/Webflux and Testing

Spring Webflux and Spring Web are two entirely different web stacks. Spring Webflux, however, continues to support an annotation-based programming model An endpoint defined using these two stacks may look similar but the way to test such an endpoint is fairly different and a user writing such an endpoint has to be aware of which stack is active and formulate the test accordingly. Sample Endpoint ...

Read More »

New Webinar: How Intuit Automates Root Cause Analysis at Scale

Hear from Intuit’s Staff Tools Engineer, Omer Azmon, how the team working on QuickBooks is automating root cause analysis For the developers working in Intuit’s Small Business Group, ensuring quality in their flagship product means confronting the challenges of daily code releases and noisy logs. With frequent deployments, developers need to quickly identify where errors originate so they can be ...

Read More »

AWS Is Even Cloud-ier and Kuberneties-ier with Fargate and EKS

java-interview-questions-answers

At re:Invent this week, AWS announced a ton of cool things. You should check out their page on it for an overview of all the new stuff they’re doing — it’s a lot, and a lot of it seems pretty immediately useful. My colleague Kelly Andrews did a writeup here with a particularly musical take on the full announcement, if ...

Read More »

Zero to Cloud Ops on Container Development Kit (CDK) in Minutes

While this was fun, it was not really feasible and quickly ran into limitations in use.Some time ago I walked through installing the Cloud management solution known as CloudForms in a container. The real solution is pulling this example into the Red Hat Demo Central collection and put it on a Cloud solution based on open technologies. This gives you the ...

Read More »

Amazon Elastic Beanstalk Tutorial – The ULTIMATE Guide

EDITORIAL NOTE: AWS Elastic Beanstalk is an orchestration service offered from Amazon Web Services for deploying infrastructure which orchestrates various AWS services, including EC2, S3, Simple Notification Service (SNS), CloudWatch, autoscaling, and Elastic Load Balancers. Elastic Beanstalk provides an additional layer of abstraction over the bare server and OS; users instead see a pre-built combination of OS and platform. Deployment ...

Read More »

Mocking Static Methods in Android: Let’s Wrap it up

When writing local unit tests in Android, one of the limitiations that you face is that the tests are run against a version of android.jar that does not have any code. As the documentation explains, any dependency on Android code must be mocked. A quick example of a simple unit test: public class ClassUnderTest { public String methodUnderTest(String str) { ...

Read More »

Exclusive Book Offers (75% off): DevOps for Networking, DevOps Bootcamp, Implementing Modern DevOps

Hello fellow Geeks! Today, we have some exciting news for you! Java Code Geeks and Packt have teamed up to offer you weekly discounts on their extensive library of books. This week, we are offering discounts on three books to help you understand and master DevOps. Check them out! DevOps for Networking Steven Armstrong Frustrated that your company’s network changes ...

Read More »

Easy Java EE Microservices with Payara Micro

java-interview-questions-answers

Wondering how to get started with Java EE Microservices?  It only takes a few quick steps to deploy a Microservice using Java EE APIs.  Many think that Java EE is too heavyweight for use with Microservices, but that is simply not the case…especially if you only utilize the Java EE specifications that are required by your service.  In this brief ...

Read More »

Difference between @Component, @Service, @Controller, and @Repository in Spring

spring-interview-questions-answers

Before you learn the difference between @Component, @Service, @Controller, and @Repository annotations in Spring framework, it’s important to understand the role of @Component annotation in Spring. During initial release of Spring, all beans are used to be declared in an XML file. For a large project, this quickly becomes a massive task and Spring guys recognize the problem rather quickly. ...

Read More »