Home » Java » Enterprise Java » Page 3

Enterprise Java

Apache Camel 3.7 – Compiled Simple Language (Part 6)

I have previously blogged about the optimizations we are doing in the Apache Camel core. The first 3 blogs (part1, part2, part3) were a while back leading up to the 3.4 LTS release. We have done more work (part4, part5) and this (part 6) that will be included in the next Camel 3.7 LTS release (to be released this month).  This time we ...

Read More »

Spring MVC REST

spring-interview-questions-answers

Representational state transfer (REST) is an architectural style that describes best practices to expose web services over HTTP, emphasizing performance, scalability, simplicity, modifiability, visibility, portability, and reliability. REST exposes resources through URIs using nouns (not verbs), supporting a limited set of operations (GET, PUT, POST, DELETE). Clients can request particular representations (HTML, XML, JSON, etc) that can link to other ...

Read More »

Spring Boot for war

spring-interview-questions-answers

Spring Boot supports the following embedded servlet containers: Tomcat Jetty Undertow You can use Maven, Gradle, or Ant/Ivy as build tools to generate the jar file. However, you may need to use your own server as WebLogic, Wildfly, JBoss, etc. In that case, you would need to generate a WAR file of your Spring Boot project. To do that you ...

Read More »

Appium vs Selenium – Architecture, Functionality, Applications, and Everything in Between

It’s perhaps difficult to remember life before smartphones. Today, mobile phones have transformed dramatically to become the information and communication hub fundamental to modern life: from paying for your next meal to tracking your sleep habits. This explosion of the mobile industry puts testing professionals under pressure to keep up with speed without sacrificing their mobile apps’ quality. When opting ...

Read More »

Migrating to Jakarta EE 9

java-interview-questions-answers

Jakarta EE 9 is out, and with it the namespace change from javax.* to jakarta.*. When we talk about the namespace change, we mostly talk about changing the import statements in your code when migrating to Jakarta EE 9. But there is more to it. I have created a slightly more advanced “Hello, World” application in order to highlight a ...

Read More »

AWS SDK 2 for Java and storing a Json in DynamoDB

java-interview-questions-answers

AWS DynamoDB is described as a NoSQL key-value and a document database. In my work I mostly use the key-value behavior of the database but rarely use the document database features, however  the document database part is growing on me and this post highlights some ways of using the document database feature of DynamoDB along with introducing a small utility ...

Read More »

Parameterized Tests in JUnit 5

A parameterized test allows you to run a test against a varying set of data. If you find yourself calling the same test but with different inputs, over and over again, a parameterized test would help make your code cleaner. To create one in JUnit 5 you need to: Annotate the test method with @ParameterizedTest Annotate the test method with ...

Read More »

All Your Tests Belong to You: Maintaining Mixed JUnit 4/JUnit 5 and Testng/JUnit 5 Test Suites

If you are seasoned Java developer who practices test-driven development (hopefully, everyone does it), it is very likely JUnit 4 has been your one-stop-shop testing toolbox. Personally, I truly loved it and still love: simple, minimal, non-intrusive and intuitive. Along with terrific libraries like Assertj and Hamcrest it makes writing test cases a pleasure. But time passes by, Java has ...

Read More »