Posts

Showing posts with the label Java Framework

Build REST CRUD APIs with Micronaut and Data Hibernate JPA

Image
Hello everyone, today we will learn how to build RESTful CRUD APIs using Micronaut and Data Hibernate JPA with the help of one simple example. Related topics, Building an Application with Micronaut Build REST CRUD APIs with Micronaut and Hibernate Micronaut is a modern, JVM-predicated, full-stack Java framework designed for building modular, facilely testable JVM applications with support for Java, Kotlin and the Groovy language. Micronaut  provides : Dependency Injection and Inversion of Control (IoC) Aspect-Oriented Programming (AOP) Sensible Defaults and Auto-ConfigurationMessage-Driven Applications HTTP Routing Client-Side Load Balancing Command-Line Applications HTTP ServersDistributed Configuration Service Discovery Fast startup time Reduced memory footprint Minimal use of reflection Minimal use of proxies No runtime bytecode generation Easy Unit Testing Technologies used: Java 11 Micronaut 3.1.1 Micronaut Data Hibernate JPA 3.1.1 H2DB Micronaut-Hikari-Cp 3.1.1 Maven 3.6.3 Final

Building an Application with Micronaut

Image
Hello everyone, today we will learn how to create a Micronaut based project via Micronaut Launch. Micronaut is a modern, JVM-predicated, full-stack Java framework designed for building modular, facilely testable JVM applications with support for Java, Kotlin and the Groovy language. Micronaut  provides : Dependency Injection and Inversion of Control (IoC) Aspect-Oriented Programming (AOP) Sensible Defaults and Auto-ConfigurationMessage-Driven Applications HTTP Routing Client-Side Load Balancing Command-Line Applications HTTP ServersDistributed Configuration Service Discovery Fast startup time Reduced memory footprint Minimal use of reflection Minimal use of proxies No runtime bytecode generation Easy Unit Testing What We Will build today? We will build a simple web hello world application with Micronaut. Technologies used: Java 11 Micronaut 3.1.1 Maven 3.6.3 IntelliJ IDEA Starting with  Micronaut Launch Navigate to https://micronaut.io/launch/  This service pulls in all the dependencie

Generate QR Code in Quarkus Application

Image
Hello everyone, today we will learn how to generate the QR Code in the Quarkus application using zxing . Technology Used: JDK 11 Quarkus 2.2.3.Final zxing library 3.3.0 Maven 3.8.1 Project Directory: Dependency management: <? xml version ="1.0" ?> < project xsi :schemaLocation ="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns ="http://maven.apache.org/POM/4.0.0" xmlns: xsi ="http://www.w3.org/2001/XMLSchema-instance" > < modelVersion >4.0.0</ modelVersion > < groupId >org.knf.dev.demo</ groupId > < artifactId >quarku-qr-code</ artifactId > < version >1.0.0-SNAPSHOT</ version > < properties > < compiler-plugin.version >3.8.1</ compiler-plugin.version > < maven.compiler.parameters >true</ maven.compiler.parameters > < maven.compiler.source >11</ maven.compiler.source > &l

Build Reactive CRUD APIs With Quarkus, MongoDB, and Panache

Image
Hello everyone. Today we will learn how to develop Reactive CRUD APIs with MongoDB, Quarkus, and  MongoDB  Panache .  You can download the source code from our Github repository. After completing this tutorial what we will build? We will build Reactive REST API  CRUD features:  GET - Fetch all User : /api/v1/users GET - Get User by ID : /api/v1/users/{id}  POST - Create User : /api/v1/users  PUT - Edit User Details : /api/v1/users/ DELETE - Delete User : /api/v1/users/{id} Technologies used: Quarkus 2.2.3.Final RESTEasy Reactive 2.2.3.Final Mongodb Mongodb Panache 2.2.3.Final Maven Java 11 More Quarkus Related topics, Build Rest CRUD API with Quarkus and MongoDB client QUARKUS + Hibernate CRUD example - Creating a CRUD REST API/Service Build REST CRUD APIs with Quarkus and MyBatis Kotlin + Quarkus + Hibernate - Build REST CRUD API example Create Quarkus Project With code.quarkus.io: Hello world example Quarkus - How to send email via SMTP - Quickstart Quarkus - Qute - Hello World Examp