Category: Java Articles

Dynamic Search Filter Using Querydsl [Spring Boot]

In this tutorial we will be creating a dynamic search filter. For any field it will generate sql query dynamically from the provided search parameter. We will generate a Dynamic JPA query for Branch entity class from the search parameter provided. Branch.class @Getter@Setter@Entity@Table(name = "BRANCH")public class Branch implements Serializable { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) @Basic(optional

Restful API J2EE using Jackson JAX-RS

What is Restful API? REpresentational State Transfer (REST), or RESTful, web services provide interoperability between computer systems on the Internet. REST-compliant web services allow the requesting systems to access and manipulate textual representations of web resources by using a uniform and predefined set of stateless operations. Other kinds of web services, such as WSDL and

Build your first simple Enterprise Java Application

Simple enterprise java application with each and every detail. I’ve used Netbeans 8.2, GlassFish 4.1 Server and SQLyog Database for building simple enterprise java application. First download and install SQLyog database and configure it. Then create database named “data“. You’ll do something like this After that download Glassfish Server and add it to the Netbeans. You can add

AES Encryption Decryption

The Advanced Encryption Standard, or AES, is a symmetric block cipher chosen by the U.S. government to protect classified information and is implemented in software and hardware throughout the world to encrypt sensitive data. In present day cryptography, AES is widely adopted and supported in both hardware and software. Till date, no practical cryptanalytic attacks against

J2EE Caching configuration using Ehcache

Ehcache Ehcache is an open source, standards-based cache that boosts performance, offloads your database, and simplifies scalability. It’s the most widely-used Java-based cache because it’s robust, proven, full-featured, and integrates with other popular libraries and frameworks. Ehcache scales from in-process caching, all the way to mixed in-process/out-of-process deployments with terabyte-sized caches. As I write this