HTTP Upgrade along SOCK JS

Apache Kafka PUSH Paradigm in Action with STOMP Client

STOMP Client, SOCK JS, and WebSocket architecture

Scope

This article is written to help beginners and intermediate gain insights about WebSocket bi-directional and full-duplex communication to API(Application Program Interface) and UI(User Interface) with code sample.
The following concepts are explained:
a. WebSocket, HTTP Upgrade
b. Sock JS, JavaScript library
c. STOMP Client(Simple Text-Oriented Messaging Protocol)
d. Kafka asynchronous PUSH paradigm

Prerequisite

a. kafka_2.13–2.8.0
b. Offset Explorer 2.0 (Kafka tool)
c. Spring boot

What is WebSocket ? and the advantages we see over HTTP ?

HTTP is synchronous and is based on PULL paradigm. In a PULL paradigm the client has to initiate a request and poll the server for receiving new data, which is half-duplex and unidirectional. …


Spring Cloud Netflix and Microservices

Enable Cross Origin Resource Sharing to Scale and Manage with Client Side Load Balancer

Angular + CORS + Spring Cloud Architecture + Microservices

Scope

This article is written to help beginners and intermediate learners to understand how an Angular application(Single Page Application) running in a separate server communicates with Microservices deployed in another server. It explains how CORS (Cross-Origin Resource Sharing) can be enabled at Client end to make Angular application communicate with Spring Boot stack by taking advantage of Spring Cloud Netflix components for routing, client side load balancing, service discovery, and invoking microservices.
The above animated diagram shows the architecture and sequence of actions which this article will explain in detail with the help of code written specifically for this article. …


Publish-Subscribe Messaging system patterns: TOPIC Persistence

Integrate Kafka with Spring Boot + Kafka Template + Message Driven POJO Kafka Listener

Apache Kafka, Multi-Broker Architecture

Scope

This article is written to help beginners and intermediate to understand and learn about Apache Kafka messaging pattern. It explains from a hands-on project specifically created for this article to cover the following terminologies:
a. Kafka Cluster, Broker, Topic, Partition
b. Leader, Follower, ISR(in-sync-replica), Zookeeper
c. Producers, Message Keys, Consumers, Consumer groups
d. Implement Single Node-Multiple Brokers in cluster architecture with Spring boot stack
e. Create TOPIC

Prerequisite

a. kafka_2.13–2.8.0
b. Spring boot

Terminology, a glance


Implement OIDC Platform + OAuth 2.0 + WSO2 API Manager

OKTA as Key Manager in WSO2 API Manager

Guide to OIDC Platform + OAuth 2.0 + Gateway Integration to Microservices

Scope

a. This article explains Federated Identity provider integration with WSO2 API Manager and access to protected microservices through API Gateway using OIDC 2.0 + OAuth 2.0.
b. Access token validation initiated from WSO2 API Gateway through OKTA Key Manager configuration in WSO2 API Manager.
c. Virtual services, Resources, Endpoints, Life cycle.
d. Id token, Access token, X-JWT-Assertion propagation to protected microservices developed using Spring boot / Spring framework.
e. Proof of Concept developed, and tested.

Prerequisite

a. OKTA, as Identity provider. A developer account would suffice.
b. WSO2 API Manager v3.2.0, as API Gateway. Free product download available.
c. Microservices development using Spring…


Learn Kerberos v5 with Spring Security: IAM

Seamless SPNEGO HTTP Authentication

3 components in Kerberos
3 components in Kerberos network authentication protocol

Queues: Point to Point Messaging

Message Oriented Middleware(MOM) and Asynchronous communication

Message oriented middleware(MOM) IBM MQ v9.2

Hosted Hypervisor: Type 2 + MicroK8s + Docker Hub

Kubernetes Rolling Updates & Declarative Deployment

Windows 10 Home + Virtual Box VM’s + Ubuntu + Spring Boot + Docker + Kubernetes

Scope

This article explains how to use declarative deployment to create Kubernetes pods and services. It performs rolling updates by pulling updated images from Docker Hub.

This exercise is done in Windows 10 Home edition, the Host operating system. As Home edition does not provide Hyper-V, the Type 1 hypervisor, it requires Oracle Virtual Box as hosted Type 2 hypervisor, to be installed to spin virtual machines with Ubuntu Operating system as Guest in VM.

To try out this exercise, the reader is required to have ANY of the following:
Option 1. Unix/Linux flavor OS, to install Docker, and Kubernetes. (Non-Windows)
(or)
Option 2


Connect IBM WebSphere Service Registry and Repository (WSRR) with IBM Process Server

Service Oriented Architecture — SOA

IBM WSRR and IBM Process server

Note to Readers

This article was initially published in IBM developerWorks publication during the year June 2013 as shown below. As the links to this article has been moved, I wanted to republish it in MEDIUM to help Beginners and Intermediate who might be interested in this subject.


Design User centric and System centric components

Use IBM MobileFirst Platform Foundation through Secure Sockets Layer with IBM BPM Advanced

Note to Readers

This article was initially published in IBM developerWorks publication during the year June 2015 as shown below. As the links to this article has been moved, I wanted to republish it in MEDIUM to help Beginners and Intermediate who might be interested in this subject.


Use OKTA to design Service provider initiated Single Sign-on Flow: IAM

SAML 2.0 Platform + OKTA as Identity provider

Service provider initiated SSO Flow

Scope

This article explains SAML2.0 SSO with multiple service providers built using Spring Security and registering them with OKTA which acts as Identity provider.

What is SAML SSO ?

SAML single sign-on goal is to minimize the number of times a user has to login at various web sites. It facilitates the user to manually login at one site (called the Identity provider(IdP) and then automatically logging in, without having to provide credentials, at one or more other sites (called the Service providers (SP)).
A trust relationship must exist between the identity provider and service providers. …

Ganesh Nagalingam

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store