Posts

Build REST CRUD API with Quarkus and MyBatis

Image
Hello everyone. today we will learn how to develop REST-style CRUD APIs with Quarkus, MyBatis, and H2 Database. You can download the source code from our Github repository. Quarkus  is a Java framework designed to run within containers. Fixating on expeditious start-up times and low memory utilization making it more felicitous to run within container orchestration platforms like Kubernetes. Quarkus  supports many industry-standard libraries such as Hibernate, Kubernetes, RESTEasy,  Eclipse MicroProfile, and more... MyBatis is an open-source persistence framework that simplifies the implementation of database access in Java applications. It provides support for custom SQL, stored procedures, and different types of mapping relations. Simply put, it's an alternative to JDBC and Hibernate. After completing this tutorial what we will build?   We will build REST API  CRUD features:  GET - Fetch all User       :     /api/v1/users GET - Get User by ID     :     /api/v1/users/{id}  POST -

Quarkus - How to send email via SMTP - Quickstart

Image
Hello everyone, today we will learn how to send email via SMTP in Quarkus. More Quarkus Related topics, QUARKUS + Hibernate CRUD example - Creating a CRUD REST API/Service Build REST CRUD APIs with Quarkus and MyBatis Create Quarkus Project With code.quarkus.io: Hello world example Quarkus - How to send email via SMTP - Quickstart Quarkus - Qute - Hello World Example Quarkus + Maven Hello World Example Configuring the HTTP Port on Quarkus Applications Quarkus - Interview questions and answers   Following technologies stack being used: JDK 11 Quarkus mailer 2.2.3.Final Quarkus  2.2.3.Final Maven   Project Structure Dependency management - Maven[pom.xml] <? 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</ modelVersi

Quarkus - Qute - Hello World Example

Image
Hello everyone, today we will learn how to develop a Quarkus web application, using Qute Template engine.   Following technologies stack being used: JDK 11 Qute 2.2.3.Final Quarkus  2.2.3.Final Maven More Quarkus Related topics, QUARKUS + Hibernate CRUD example - Creating a CRUD REST API/Service Build REST CRUD APIs with Quarkus and MyBatis Create Quarkus Project With code.quarkus.io: Hello world example Quarkus - How to send email via SMTP - Quickstart Quarkus - Qute - Hello World Example Quarkus + Maven Hello World Example Configuring the HTTP Port on Quarkus Applications Quarkus - Interview questions and answers Project Structure Dependency management - Maven[pom.xml] <? 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" > < modelVersi