Learn to create Microservices, based on Spring cloud, registering on HashiCorp Consul registry server and how other microservices (discovery clients) use it to register and discover services to call their APIs.
EC2 stands for Elastic Compute Cloud and this is the backbone of AWS Infrastructure as a Service (IaaS) offering. In this tutorial, we will learn to create an EC2 instance from AWS console and also check how to connect EC2 from SSH client e.g. PuTTY installed in local machine. Table of Contents What is AWS […]
Learn to leverage the one of the Spring cloud Netflix stack component called Hystrix to implement circuit breaker while invoking underlying microservice. It is generally required to enable fault tolerance in the application where some underlying service is down/throwing error permanently, we need to fall back to different path of program execution automatically. This is […]
Learn to create JAX-RS 2.0 REST APIs using Spring Boot and Jersey framework, and add role based security using JAX-RS annotations e.g. @PermitAll, @RolesAllowed or @DenyAll. Table of Contents Project Structure Create REST APIs Secure REST APIs with JAX-RS Annotations Write security filter using JAX-RS ContainerRequestFilter Demo Project Structure The project structure of application created […]
Now a days REST and Microservices have got a lot of momentum. At the same time, actual REST specification does not suggest any standard way to document the REST APIs that we are going to expose [like WSDL for SOAP]. As a result, everybody is documenting their APIs in their own way, resulting a gap […]
Learn about Amazon S3 (Simple Storage Service), creating a bucket in AWS S3 and then hosting static website or static contents in the storage area. Table of Contents What is AWS S3 Static Website Hosting with AWS S3 What is AWS S3 The Amazon S3 is a easy-to-use object store and one of the oldest […]
Learn to configure and create JAX-RS 2.0 REST APIs using Spring Boot and Jersey framework. This example application uses Jersey’s ServletContainer to deploy the REST APIs.
Learn to deploy and host spring boot applications into Pivotal Cloud Foundry Web Services Platform (PWS) and access REST endpoint from local workstation.
Learn to create microservice, based on Spring cloud, which act as Netflix Eureka registry server and how other microservices (Eureka clients) use it to register and discover services.
Learn to configure Spring boot application with embedded ActiveMQ for sending and receiving JMS messages with help of JMSTemplate.
Config server is where all configurable parameters of microservices are written are maintained. It is more like externalizing properties / resource file out of project codebase to an external service altogether, so that any changes to that property does not necessitate the deployment of service which is using the property. All such property changes will be reflected without redeploying the microservice.
Learn to install python package in sublime editor for features like autocomplete and run build within sublime editor itself.
Static keyword in java can be applied on variables, methods, blocks, import and inner classes. Learn the effect of using static keyword in detail.
Learn to create maven custom archetypes which helps in creating a specific type of project structure which is not available in any standard maven archetype.
Command pattern is a behavioral design pattern which is useful to abstract business logic into discrete actions i.e. commands. It motivates loose coupling.
Java constructors are special methods (without return type) which allow you to fully initialize the object state before it can be used by other classes inside application. Constructors in java are invoked using new keyword.
Inheritance in java (IS-A relationship) is referred to the ability where child objects inherit or acquire all the properties and behaviors from parent object. In object oriented programming, inheritance is used to promote the code re-usability.
In this Lucene 6 tutorial, we will learn to use RAMDirectory to run quick examples of POCs because it is not intended to work with huge indexes.
In Lucene, WildcardQuery can be used to execute wildcard based searches on lucene indexes. Learn to use WildcardQuery with example.
Lucene UnifiedHighlighter the highest performing highlighter, especially for large documents. Tutorial to highlight search terms in indexed documents/files.