Introduction to RESTful Web Services in Java

RESTful web services are a popular method for providing an API to your applications. They allow for efficient and scalable communication between different components, such as servers, databases, and clients. RESTful web services follow a set of design constraints, which make them flexible and adaptable to different use cases. In this tutorial, we’ll be focusing … Read more

Java Rest Services

I. Home Introduction to Java Rest services Overview of the topics covered on the website Latest blog posts on Java Rest services II. Java Rest Services A. Introduction to Java Rest Services – Definition of Java Rest Services – How Java Rest Services work – Benefits of using Java Rest Services B. Setting up a … Read more

The Power of REST Assured API Testing

REST Assured API testing is a Java library that simplifies the validation of REST APIs. This library enables developers to write tests for their REST APIs quickly and easily, providing a number of features that make it simple to validate the response from a REST API. In this article, we’ll explore the key features of … Read more

Jenkins CI/CD for GitHub using Deploy Keys

Continuous Integration and Continuous Deployment (CI/CD) are critical components of modern software development. Jenkins is a popular open-source tool that can be used to automate these processes, making software development faster, more reliable, and easier to manage. This article will explain how to set up Jenkins CI/CD for GitHub using Deploy Keys, a secure and … Read more

REST Assured API Testing

REST Assured API Testing is a Java library for testing REST APIs. It provides a simple and efficient way to write automated tests for RESTful web services. REST Assured API Testing is designed to make it easy to write tests for REST APIs, whether they are simple or complex. It supports a wide range of … Read more

Jenkins CI/CD for Github using Deploy Keys

When setting up a continuous integration and deployment (CI/CD) pipeline using Jenkins and GitHub deploy keys, you can use the Jenkins GitHub plugin to interact with the GitHub repository. Here are the general steps for setting up a basic Jenkins CI/CD pipeline using GitHub deploy keys: Set up a Jenkins server: This can be done … Read more

Amazon Keyspaces – its usage, limitations and differences with Apache Cassandra

Amazon Keyspaces is a fully managed database service offered by Amazon Web Services (AWS). It is based on Apache Cassandra, and it is designed to be scalable, highly available, and easy to use.Amazon Keyspaces allows you to store, retrieve, and manage large amounts of data in a distributed database. It is well-suited for applications that … Read more

Connect to Apache Cassandra using Java

To connect to Cassandra in Java, you will need to include the Cassandra driver in your project. Here is an example of how you can do this: Download the Cassandra Java driver from the Apache Cassandra website or from Maven Central. Add the driver to your project. If you are using Maven, you can include … Read more

Parameter 0 of constructor in org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration required a bean of type ‘javax.sql.DataSource’ that could not be found. – Bean method ‘dataSource’ not loaded because @ConditionalOnProperty (spring.datasource.jndi-name) did not find property ‘jndi-name’ – Bean method ‘dataSource’ not loaded because @ConditionalOnBean (types: org.springframework.boot.jta.XADataSourceWrapper; SearchStrategy: all) did not find any beans

This error message is indicating that your application is unable to find a bean of type ‘javax.sql.DataSource’ that is required by HibernateJpaAutoConfiguration. The error message suggests that there is a missing @ConditionalOnProperty annotation on the dataSource() method, which is causing the bean not to be loaded. The @ConditionalOnProperty annotation checks for the presence of a … Read more