Home » Java » Enterprise Java » Page 20

Enterprise Java

Complete Guide To Selenium Locators In Protractor (Examples)

While testing the functionality for your website, especially web elements such as radio button, text boxes, drop-down, etc., you need to make sure that you are able to access these elements. Selenium locators serve this exact purpose, by using this command we can identify these web elements, DOM (Document Object Model), to perform Selenium test automation through our scripts. These ...

Read More »

Clean Unit Testing

It’s easy to write “unit test” tests that use JUnit and some mocking library. They may produce code coverage that keeps some stakeholders happy, even though the tests aren’t even unit tests and provide questionable value. It can also be very easy to write unit tests that are — in theory — units test but are more complex than the ...

Read More »

AWS Lambda to save data in DynamoDB

java-interview-questions-answers

In this tutorial, we will see how using AWS Lambda we can save data in Dynamo DB. Here are the steps which are required : –Create a table in the Dynamo DB with the name Employee– Create a AWS Lambda function which can save firstName and surName of an employee using a Employee POJO in the Dynamo DB– Create a ...

Read More »

AWS Lambda function with Java Pojo as Input Output Example

java-interview-questions-answers

In the previous tutorial, we saw  How to Create AWS Lambda function with Java and we passed String as input and also returned String as Output.I will recommend to go through that tutorial first, if you are creating lambda function for the first time. In this tutorial, we will see, how we can pass Java Plain old Java object(POJO) as input ...

Read More »

Docker Compose for Spring Boot application with PostgreSQL

In this blog post you will learn how to configure Spring Boot application with PostgreSQL for running with Docker Compose. This blog post covers: Spring Boot application Dockerfile configuration with clean separation between dependencies and resourcesDocker Compose configuration for running the application with PostgreSQL Prerequisites DockerJava 13Terminalhttpie (or curl) Application Generate the Maven based Spring Boot application with Spring Web, ...

Read More »

How to create AWS Lambda function with Java

java-interview-questions-answers

In this tutorial, we will see how we can create AWS Lambda function in Java and I tell you, it is quite easy to do so… Basically, there are three ways in which we can create AWS Lambda function : – By implementing RequestHandler interface– By implementing RequestStreamHandler interface– Custom implementation, which does not require us to implement any AWS ...

Read More »

Apache Camel 3.1 – Fast loading of XML routes

A feature that was added to Camel 3.1 is the ability to load XML routes much faster. This is part of the overall work we are doing on making Camel much smaller and faster. You may say ewww XML. But frankly there are many users of Camel that have built applications with XML for defining routes. In Camel 2.x then ...

Read More »

Apache Camel 3.2 – Reflection free configuration of Camel

At the Apache Camel project we are working towards the next upcoming Apache Camel 3.2.0 release, which is planned for next month. One of the ares we have worked hard on in Camel 3 is to make it smaller and faster. And one aspect of this is also configuration management. You can fully configure Camel in many ways and according ...

Read More »