Home » Java » Enterprise Java (page 5)

Enterprise Java

Introduction to Spring Framework

spring-interview-questions-answers

This is an Introduction to Spring Framework and Spring’s core concepts. In this tutorial, we will cover the main advantages, and features of Spring Framework. In the subsequent tutorials we will learn more about Spring and Spring Boot. Overview We know, Spring Framework is the most popular Application Frameworks in the world of Java developers. Spring is well known for providing abstractions and an infrastructural ...

Read More »

Pagination and Sorting with Spring Data JPA

java-interview-questions-answers

Learn Pagination and Sorting with Spring Data JPA with code examples. Understand how to get Paginated and Sorted results using Springs PagingAndSortingRepository interface. 1 Overview While dealing with large amount of data the lazy processing is often essential. Even if a service returns a huge amount of data the consumer is less likely using it. Consider a shopping website, where ...

Read More »

Difference between @ContextConfiguration and @SpringApplicationConfiguration in Spring Boot Integration Test

spring-interview-questions-answers

Even though both @ContextConfiguration and @SpringApplicationConfiguration annotations are used along withSpringJUnit4ClassRunner to specify how to load the Spring application context, there is a subtle difference between them. Although @ContextConfiguration does a great job in loading application context it doesn’t take full advantage of Spring Boot features. Spring Boot applications are ultimately loaded by either SpringApplication ( in case of the ...

Read More »

Eclipse GlassFish 5.1 is here!

The release of Eclipse GlassFish 5.1 is an important milestone for Jakarta EE! First of all, it is a confirmation that the GlassFish source code contributed by Oracle is possible to build and assemble on Eclipse Infrastructure. Second, by passing the Java EE 8 Compatibility tests, it verifies that the code contributed follows the Java EE 8 specifications, hence is ...

Read More »

APIGEE: CI/CD Pipeline for API Proxies

java-interview-questions-answers

In this article we will see how to create CI/CD pipeline for APIGEE API proxies. I have referred couple of articles on APIGEE community on the same topic. Those gave some idea on how to setup CI/CD pipeline for API proxies. Here are the tools which I have used to setup CI/CD. JenkinsNodeJsapigeelintnewmanAPIGEE Management APIs Make sure that you have ...

Read More »

Dynamic Content Caching with AWS Lambda, S3 and AWS CloudFront

java-interview-questions-answers

Serving content quickly is essential for any website or application to have better customer experience. If you have hosted your website or application in AWS Cloud, then it’s very easy to serve the content quickly with lower latency irrespective of where your application is being accessed from. AWS offers CloudFront service for caching the content in edge locations local to ...

Read More »

How to Deploy Maven Artifacts to CloudRepo via Rultor

In my previous article, I described how to set up a private Maven repository in Amazon S3 and deploy there via Rultor. This is a great solution if you’re familiar with managing Amazon Web Services (AWS), S3, and AWS Identity and Access Management (IAM). However, if you’re not comfortable administering an AWS account and all the related permissions, you may ...

Read More »

Amazon Corretto 8

java-interview-questions-answers

UPDATE! I have updated the option of running Corretto in Docker to using the amazoncorretto Docker image available from Docker Hub. Amazon Corretto is a production-ready distribution of OpenJDK with long-term support including performance- and security updates provided by Amazon. Amazon provides installation packages and instructions for Linux, Windows, and macOS, as well as a Docker. The latest installation package ...

Read More »