JAVAPAN – Unlock Your Brilliance, Share Your Knowledge! 🚀 Post Your Articles For Free.
-
What are over 50 things to avoid if we are using Spring Data JPA for better performance ?
When working with Spring Data JPA, there are several things you should avoid to ensure efficient and effective usage. Here are 50 things to avoid when using Spring Data JPA: By considering these points and adhering to best practices, you can maximize the benefits of Spring Data JPA and avoid common pitfalls.
-
How to create a simple Eclipse Code Formatter for IntelliJ IDEA and Eclipse IDE?
What is Code Formatter? The Eclipse Code Formatter is a feature of the Eclipse Integrated Development Environment (IDE) that helps developers maintain consistent code formatting and style across their projects. It automates the process of formatting code according to predefined rules and conventions. The Eclipse Code Formatter allows developers to define a set of formatting…
-
How to read Oracle AQ using Camel Route and Save it to a Data Source ?
Oracle AQ (Advanced Queuing) is a feature of the Oracle Database that provides a messaging infrastructure for building distributed applications. It allows applications to communicate and exchange messages asynchronously in a reliable and transactional manner. Oracle AQ is based on the message queuing paradigm, where messages are sent from a sender application to a queue…
-
How to setup IBM MQ and Active Mq Connection (Including Alias Queue) the simplest way, using Spring Boot ?
Here is a simple and short example on how you can setup the Connection Factory for different types of Broker. Also it contains the code logic if you need to use the ActiveMq Backoff Startegy.// This simple connection factory will handle both the IBM MQ Queues as well as Active MQ queues along with Alias…
-
How to use OpenCSV bean to write to a File ?
OpenCSV is a popular open-source Java library that provides utilities for reading and writing CSV (Comma-Separated Values) files. It offers a simple and straightforward API for parsing CSV data and converting it into Java objects, as well as writing Java objects back to CSV format. Here are some key features and functionalities of OpenCSV: OpenCSV…
-
How to leverage OkHttpClient to process Request and return Response the easy way?
OkHttpClient is a widely used open-source HTTP client library for Java, developed by Square Inc. It provides a simple yet powerful API for making HTTP requests, handling responses, and managing network connections. OkHttpClient is commonly used in Java applications, including Android apps, for performing HTTP communication with servers or APIs. Here are some key features…
-
How to use Nimbus JOSE along with JWT in Spring framework ?
JSON Web Token (JWT) is an open standard that defines a compact and self-contained way for securely transmitting information between parties as a JSON object.JWT is easy to identify and is separated by dots .Example Format : iiiiiiiiiiiiii.jjjjjjjjjjjj.kkkkkkkHeader = iiiiiiiiiiiiPayload = jjjjjjjjjjjSignature = kkkkkkkBrief use of JSON Web Tokens : Authorization and Information Exchange.Java Library:…
-
OpenShift for Absolute Beginners
OpenShift is a cloud development Platform as a Service (PaaS) which was assembled around a core of docker container packaging and Kubernetes container along with cluster management. This is powered by Red Hat. It provides developers and IT organizations with an auto-scaling, cloud application platform for deploying new applications on secure, scalable resources with nominal…
-
How to setup OpenShift in your local Machine?
“We all love to read the documentation, Nah just kidding .‿No worries, I did go through the openshift documentation (which is not user friendly) and hopefully I have made things easier for you on how to setup OpenShift locally.I have attached Screenshots and commands and explained the process involved in it in very simpler terms…