Apache Zookeeper Explained: Tutorial, Use Cases and Zookeeper Java API Examples

zookeeper explained Globinch java

Explaining Apache Zookeeper Apache Zookeeper is a highly consistent, scalable and reliable cluster co-ordination service. ZooKeeper itself is a distributed service that is ideal for Configuration management, Naming service, providing distributed synchronization, leader election and group services. It is a open source service that reliably coordinates distributed processes. Your distributed clustered applications can make use of Zookeeper to store,manage and...

Read More »

REST API Versioning: URI and Media Type-Header Versioning Strategies

rest-api-versioning

What are the best strategies to implement REST API versioning? URI and Media Type-Header Versioning Strategies and Examples When considering REST API Versioning strategy , there are few different options available such as REST api URI versioning or Media Type Header versioning. As our Restful web services application grows and the need for API upgrades or feature enhancement becomes necessary,...

Read More »

HATEOAS and Hypermedia Aware Services And Clients :REST

restful api-HATEOAS

In this article we discuss HATEOAS (Hypermedia as the Engine of Application State) Rest constraint and some HATEOAS example and HATEOAS Json representations of embedded hypermedia.Jersey currently supports HATEOAS and Spring Rest-hateoas also provides rich support to buiild Hypermedia-Driven RESTful Web Services. Table of Contents What is HATEOAS? HATEOAS Tutorial and HATEOAS Example HATEOAS Example: Get Account HATEOAS Example:A n...

Read More »

How To Fix: PKIX Path Building Failed (Validation) : sun.security.validator.ValidatorException

java pkix path building validation

How To Fix Error : sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target You could get the error “PKIX path building failed” validation error when working on a client that works with an SSL enabled server running in https protocol. This article focuses on detecting the root cause of the error and on...

Read More »

Strategy Design Pattern and Single Responsibility and Open-Closed Principles

Strategy design pattern is widely implemented to achieve interchangeable algorithmic behavior at runtime. As we know strategy pattern uses aggregation or composition instead of inheritance. It is a behavioral design pattern. The behaviors are defined in separate interfaces and the encapsulating classes that implement this interface. Generally most of the SOLID principles can be identified from classes, and modules which...

Read More »

Factory Design Patterns and Open-Closed Principle (OCP), the ‘O’ in SOLID

Factory Design patterns are Creational patterns and deals with how the objects are created. There are three design patterns, namely, Simple Factory, Factory Method and Abstract Factory design patterns. All these patterns hide the object creation process from the client and supply the objects without specifying the exact class of object that will be created. These patterns are widely used...

Read More »

JAX-WS Exceptions and Faults: Annotation, Exception and Fault Handling Examples

JAX-WS exception fault handling example

JAX-WS exception and SOAP fault handling sometimes confuses a Java programmer. This article explains the handling of JAX-WS exceptions and SOAP Fault with examples. Here, we also check some of the common Exceptions such as “IllegalAnnotationExceptions. java.lang.StackTraceElement does not have a no-arg default constructor.“. This article also discusses the JAX-WS mapping of WSDL faults to Java exceptions, Java exceptions to...

Read More »

Google+ Plus Follow on Twitter Like On Facebook Linked Follow

Popular post

JAX-WS Web Services and Clients Java JAX-WS Tutorial: Develop Web Services and Clients (Consumers) Using JAX-WS
jax-ws usernametoken example JAX-WS and Secure Java Web Services using UsernameToken : WS-Security with Metro and WSIT
JAX-WS exception fault handling example JAX-WS Exceptions and Faults: Annotation, Exception and Fault Handling Examples
SOAP Binding: Difference between Document and RPC Style Web Services
How to Fix : java.security.cert.CertificateException: No name matching localhost found

Subscribe to Enterprise Java newsletter
Subscribe
Get Enterprise Java Newsletter

Enter your email and stay on top of things,