Docker CE, Starting A Nginx Web server

Images vs Container An Images Is The Application We wan To Run A Container is an instance of that image running as a Process Running Nginx on Docker Running nginx on foreground docker container run –publish 80:80 nginx Docker engine will look image nginx, and pull from

Read More

How to using tuple Data Type Cassandra

Tuple data type is a fixed-length sets of typed positional fields. Use a tuple as an alternative to user-defined type(UDT). A Tuple can accommodate many fields(32768). When we create a table, for tuple datatype use angle brackets and a comma delimeter for the commponent types. Unlike other

Read More

Cassandra Data Manipulation (Insert, Update, Delete) using `cqlsh`

In previous section we learn creating user, keyspaces and managed table. Now we will learning how to insert, update, and deleting data in cassandra using cassandra.Operation DML ( Data Manipulation Language) similar to RDMS (Relational Database Management System). Using Keyword INSERT INTO for inserting data, keyword UPDATE

Read More

Create, Alter and Drop Table Cassandra

Create, Alter and Drop Table Cassandra Table in Cassandra is a collection of ordered (by name) columns fetched by row. A row consists of columns and have a primary key. The first part of the key is a column name. Subsequent parts of a compound key are

Read More

Keyspace Cassandra

A keyspace is a container that holds the column families, user defined types. In Cassandra, Keyspace is similar to schema RDBMS Database. Keyspace holds column families, indexes, user defined types, data center awareness, strategy used in keyspace, replication factor, etc. Syntax [crayon-647ebf03c7a76275015054/] map is a JSON value

Read More

How To Manage Users NoSql Cassandra using `cqlsh`

In this tutorial we learn how to manage user in database cassandra. Setting the cassandra database using username and password authentication. Learn how to login using default username and password cassandra, create user with or without password, create user superuser and nosuperuser, modifying user and dropping user.

Read More

Spring Boot Using Hikari Connection Pool

# Spring Boot Using Hikari Connection Pool Connection Pool In software engineering, a connection pool is a cache of database connections maintained so that the connections can be reused when future requests to the database are required. Connection pools are used to enhance the performance of executing

Read More

Dynamic Call Store Procedure and Function Database

spring-boot-call-store-procedure Dynamic calling store procedure and store function in database Dynamic calling store procedure and function 1. Via Callable Statement 2. Via SimpleJdbcCall spring-boot-starter-jdbc See Code Snippets Store Procedure [crayon-647ebf03c8071923056059/]   Function [crayon-647ebf03c8075252684437/]   Implementation Using SimpleJdbcCall [crayon-647ebf03c8077845538202/]   3.1 Calling the store procedure [crayon-647ebf03c8078321847042/] 3.2 Calling

Read More

Rest Documentation with Swagger And Spring boot

Simple Spring-boot Swagger Documentation Learning Swagger documentation for rest. To Add Swagger to your application add the depedencies   [crayon-647ebf03c8249585435869/]   create SwaggerConfiguration class [crayon-647ebf03c824d298000943/]     Add annotation swagger @ApiOperation on the Method endpoint. Example [crayon-647ebf03c824f873543478/] @ApiModel and @ApiModelProperty this is used for tell consumer application

Read More

Implementation Dynamic Specification Using RSQL-Parser Example

Introducing Changes Is Enemy, But We Must Prepared . – I have been code with spring boot and thymeleaf, When the *User Interface * add a new search criteria the backend code (my repository, service and controller) must changed too. Honestly I don’t like that. to much

Read More