Serialization
•Its concept provided by Java Prog. Lang. to persist the data into file.
•Serialization means change the status of an objects in bit or byte.
•While Serialization use public static final serialVersionUID to match the exact sender or receiver.
Advantages
•Serialization make an object serializable it will transfer through network.
•Using FileInputStream and FileOutputStream as well as ObjectInputStream and ObjectOutputStream we make an object serializable.
•It contains bits or bytes...
Monday, 10 December 2018
Soap Vs Rest
SOAP
– “Simple Object Access Protocol”
is an
XML-based messaging protocol for exchanging information among computers.
SOAP provides data transport for Web services, uses WSDl
rules "web services description language".
REST
– “Representational State Transfer”
is an architectural style not a protocol, you can
use HTTP or FTP ot any other medium for data transfer.
In REST data can be transferred in XMl Json binary
or any other format.
SOAP
REST
...
Friday, 7 December 2018
Service Choreography vs Service Orchestration

Service Choreography:
Choreography can be simply defined where several services are distributed where no centralized point and all services work with comman aim without any micro management.
Ex :Event Driven Process
Lets look at above diagram where all services are interconnected and they communicate for particular goal.
Service Orchestration:
In Orchestration there will be centralized service monitoring like micro...
Thursday, 6 December 2018
REST-Annotations @Provider & @Context
@Provider:
@Provider is used to register the provider classes with the
JAX-RS Runtime.
Different provider interfaces/classes where we can use
@Provider Annotation:
There are some list of provider interfaces/classes are there
which are going to registed using @Provider annotation which are given below
1. ParamConverterProvider-Contract for a provider of
ParamConverter instances
2. MessageBodyReader-Contract for a provider that supports
the conversion of a stream to a Java type
3. MessageBodyWriter-Contract...
Microservices: Best Practices
Building Microservices then below are the best practices to build a service in simple and clear way.
Top 1 :Try to Achieve Fully Restful API
Writing an API then follow RMM (The Richardson Maturity
Model)
RMM is used for checking API is fully Restful or Not.
Fully Restful API ↑
-Level 3:When you use HATEOS
-Level 2:Use of right HTTP methods(Get,Put,Post,Delete)
-Level 1:Resource URI-Profile Request to internal URI
-Level 0:Swamp of POX (No HTTP Contents only XML)
Top...
Monday, 3 December 2018
RabbitMQ- Introduction & Installation
Introduction
In the world of Micro'Services', These independent services will talk or communicate each other
for communication among these services we need broker to forward the sent message.
RabbitMQ do exactly same that is forwards the received message.
Lets observe the above diagram where API-X sends message to API-Y via messaging queue or broker this will forward the same.
Installation
Step 1: Download and install Erlang...
Spring Boot
Spring Boot!!!!! WHAT & WHY?
Spring boot helps developer to concentrate more on Business
logic than configurations.
Spring boot is best assistant to developer reducing efforts
to develop application without required to write same boilerplate configuration
again and again.
If you have developed application in traditional way you
would understand the pain of building project adding dependencies.
How...