Architecture · ATG · ATG External Cache · Cache · RESTFul

ATG Cache Using JBOSS Data Grid/Infinispan

ATG Cache Using JBOSS Data Grid/Infinispan   As performance is really important in retail Or web commerce applications, the caching plays an important role in improve the performance. ATG Commerce servers are loaded with lot of components and functionality. And top of that, repository caching will increase enormous memory consumption on ATG JVM’s. Hence, externalizing… Continue reading ATG Cache Using JBOSS Data Grid/Infinispan

Java · RESTFul · Spring · spring boot · Swagger

Swagger docs for Spring Boot

Spring boot is becoming famous and famous due to microservice architecture and advantage of spring framework support in it.As REST services are playing a huge role in microservice architecture, swagger introduces a better way to publish these REST services so that they can be tested, published as living documents. Here is a simple spring boot… Continue reading Swagger docs for Spring Boot

ATG · Java · RESTFul · Servlet · Swagger

Swagger Documentation for ATG

A point of view – not a solution The mechanism described in https://prabhukvn.com/2016/02/24/swagger-documentation-for-servlet/ works with any java web application as long as all the project class files reside in WEB-INF/classes. But this is not the case with ATG. ATG will read all class files from atglib, hence Approach 1: Rewrite the Package scanner class so… Continue reading Swagger Documentation for ATG

Java · RESTFul · Servlet · Swagger

Swagger Documentation for Servlet

                         Swagger is tool to document RESTFul services with some simple annotations. This mechanism can be applied even to servlets.            Read more about the swagger at Swagger. This document talks about writing swagger documentation for simple servlet. Step1. Create a simple maven web-app and add following  dependencies in pom.xml <dependency>            <groupId>com.wordnik</groupId>            <artifactId>swagger-annotations</artifactId>            <version>1.3.11</version>        </dependency>       … Continue reading Swagger Documentation for Servlet

Java · RESTFul · Swagger

Swagger Documentation for RESTFul Services

Swagger has come with an easy way to Document and Test RESTFul services with an ease. Swagger has come up with a bunch of Annotations which will be simply used to document and test web services. Here, I described how to document rest services with Swagger in simple steps. For mode details on swagger, please… Continue reading Swagger Documentation for RESTFul Services