Studio-Scala

Exactly what are Cascading Style Sheets?

Reading Time: < 1 minute Cascading style bedsheets (CSS) offer a means of handling web page models. They individual the video or graphic attributes of HTML CODE from their structural content. For instance , in an Oracle Application Exhibit theme, style rules described in CSS determine how area and report titles appear. You are able to enter CSS references in the Header part of a page design. The Header section Continue Reading

Hacker hands using laptop computer to code

How to Deploy application on GKE using Jenkins

Reading Time: 3 minutes Prerequisite Java install Jenkins server Service Account with the GKE permissions Any application Introduction In this blog, we will write a declarative Jenkins pipeline to deploy applications on GKE and configure the multibranch pipeline. I am using the spring boot pet clinic for demonstration. This project consists of a spring-boot application and a docker file. Declarative Pipeline Stages Checkout git This stage will clone the Continue Reading

Getting Started with OAuth2

Reading Time: 4 minutes Introduction OAuth 2 is an authorization framework that enables applications like GitHub, Facebook, etc to obtain the limited access to user accounts on an HTTP service. OAuth 2 works by delegating user authentication to the service it hosts the user account and authorizing third-party applications to access that user account. Principles of OAuth2.0 OAuth 2.0 is NOT an authentication protocol, it is an authorization protocol. It Continue Reading

Reactive Programming using Spring MVC and WebFlux

Reading Time: 3 minutes In this blog, we will learn about Reactive Programming using Spring WebMVC and WebFlux with examples. Reactive Programming It is a paradigm that used an asynchronous, non-blocking, event-driven approach to data processing. Reactive programming added modeling data and events to observe data streams and implemented data processing routines to react to the changes in those streams. Spring MVC Spring MVC is a Java framework that Continue Reading

Ways to Retrieve Data From PostgreSQL Hstore

Reading Time: 3 minutes Postgre without a doubt is one of the most popular databases in the market. The reason behind this is speed, security, and robustness. One of the reasons for its popularity is that it has many amazing features. In this blog, we are going to discuss one of its important features which is hstore. Here we will see how we can retrieve data from hstore column. Continue Reading

Different methods are used in string operation – Scala

Reading Time: 3 minutes Scala Strings are one of the most important features of scala. Basically, it is a sequence of characters that uses the linear approach to store data. In scala, the string is immutable in nature and hence we cannot change its original state. Scala language provides us various methods to play with strings we can use these methods on strings to get the desired output. If Continue Reading

All You Need To Know About SSL CERTIFICATE

Reading Time: 3 minutes SSL certificate is a digital certificate that validates a website’s identity and allows an encrypted connection. Which stands for Secure Sockets Layer. A security protocol that creates an encrypted link between a web browser and a web server. Companies and organizations need to add SSL certificates to their websites to protect online transactions and keep customer details private and secure. In short: SSL keeps internet Continue Reading

How to learn Scala ?

Reading Time: 2 minutes In this article we will going to cover some introductory part about Scala programming language. Introduction to Scala A contemporary multi-paradigm programming language called Scala was also created to describe common programming patterns in a clear, beautiful, and type-safe manner. Surprisingly It smoothly combines elements of functional and object-oriented languages. Scala as Object Oriented Programming Language Every value is an object in Scala, making it Continue Reading

Synchronous and Asynchronous Fibers in ZIO

Reading Time: 2 minutes In this blog post, we will discuss operations on fiber both synchronous and asynchronous with the help of an example. ZIO ZIO is a highly concurrent framework, powered by fibers, which are lightweight virtual threads that achieve massive scalability compared to threads, augmented with resource-safe cancellation, which powers many features in ZIO. However, this powerful concurrency model lets you do more with less, achieving highly Continue Reading

Some amazing Thread Methods which will make your task easy

Reading Time: 3 minutes Multithreading is one of the very important concepts in Scala programming. It allows us to create multiple threads in our program to perform various tasks. Now Scala Thread class provides us many methods which make our tasks easy. In this blog, we are going to discuss a few of these methods. Scala Thread Methods Scala threads provide us various methods to deal with threads. In Continue Reading

Empty values in Scala

Reading Time: 3 minutes There are different values in scala which we used as empty values. In this blog, we are going to discuss these empty values like what are these values, how to use them, etc. Null Type Null extends all the reference types even the classes and traits which are defined by us. We can assign Null to the reference type (List, Option, etc) but not to Continue Reading

What is LRU cache and how to implement it in scala?

Reading Time: 2 minutes In this blog, we are going to know about LRU Cache and how to implement it in Scala Language. What is LRU Cache? Least Recently Used Cache is an algorithm used for cache eviction. As the name is suggesting Least Recently Used item will be evicted here. Basically, it removes the least recently used page/frame when the capacity or size of the cache is full Continue Reading

How to write Rest-Full web services using Quarkus

Reading Time: 3 minutes What is Quarkus? Quarkus is created to enable Java developers to create applications for a modern, cloud-native world. It is a Kubernetes-native Java framework tailored for GraalVM and HotSpot, crafted from best-of-breed Java libraries and standards. How Quarkus works? Parse a bunch of config files Scan class paths and classes for annotation, getters, and metadata Build framework metamodel objects Prepare reflection and build proxies Start Continue Reading