252018Nov

Swagger Documentation With Jersey

First question, What is Swagger? According to Wiki, Swagger is an open-source software framework backed by a large ecosystem of tools that helps developers design, build, document, and consume RESTful Web services. Why we need Swagger With Swagger, you can maintain your REST services effectively. It is good for both business users and UI developers…

Read More
222017Jan

Cache Adapter In ATG

Cache adapter in ATG works in a similar way like EHCache does. We just have to call get(id) method of cache component. Here the passing parameter in get method will work as a key. For implementing cache adapter in ATG we need following components. XXXCache $class=atg.service.cache.Cache cacheAdapter=/com/xxx/cache/XXXCacheAdapter XXXCacheAdapter $class=com.xxx.cache.XXXCacheAdapter XXXCacheAdapter.java (Just provide implementation of getCacheElement. Override others…

Read More
122016Mar

Bean Filtering In ATG REST MVC

Bean Filtering In ATG REST MVC is use to filter the response using beanFilteringConfiguration.xml of /atg/dynamo/service/filter/bean/BeanFilterService component. Filter the Response – What does it mean? Here filtering is used in context of sending only required properties in REST MVC response whether JSON or XML response. How Bean Filtering Works? ATG provides beanFilteringConfiguration.xml for manipulating the…

Read More
62016Mar

ATG Session Management – Sharing Parent WAR Session ID

In Java every web application has its own session information and this session information is applicable only with in that web application only. The application server like JBoss, Weblogic etc. are responsible for managing session for the web application. So What’s the big deal in ATG Session Management if session is managed by App Server??…

Read More
132016Feb

Default Shipping Group & Payment Group ATG

When an Order is first created, it has an empty ShippingGroup, which serves as the default Shipping Group for the Order and also an empty Payment Group which serves as the default Payment Group for the Order. The type of default groups that are created is determined by the defaultShippingGroupType & defaultPaymentGroupType property of the…

Read More
132015Dec

Oracle Commerce Store Accelerator (CSA) – REST MVC Exposed

With the Commerce 11.2 release, Oracle introduces a new reference accelerator called the Commerce Store Accelerator (CSA). One of the primary goals of CSA is to provide a best practice framework for using the REST APIs, Experience Manager, and Assembler to build Oracle Commerce applications. The application is a services-based single-page application and is responsive…

Read More
92015Dec

ATG 11.2 What’s New

The new features and capabilities are in alignment with three main themes Customer Engagement – delivering relevant, personal and consistent experiences across all customer touchpoints Business Engagement – simplifying and unifying business user tools to manage, create and optimize customer experiences IT Engagement – building for tomorrow with a flexible and extensible architecture Check new…

Read More
172015May

Sending Complex Object To ATG REST MVC

Sending complex object to ATG REST MVC is a big bummer for developer when try to send complex data structure like atg-rest-class-type and atg-rest-values in the input payload. As these keyword are necessary so that REST architecture understands it correctly and map to corresponding objects. Here I am gonna give you a simple example how…

Read More
122015Apr

Send Multiple Cookies As Part Of Response In Jersey Rest API

Jersey Jersey RESTful Web Services framework is open source, production quality, framework for developing RESTful Web Services in Java that provides support for JAX-RS APIs and serves as a JAX-RS (JSR 311 & JSR 339) Reference Implementation. Sending Multiple Cookies While using REST API sometimes there is requirement to to maintain the cookies or session…

Read More
212015Feb

Solved : Woocommerce Paypal Support For INR

Gateway Disabled: PayPal does not support your store currency. When we change the currency to INR as store currency in Woocommerce settings then it will result in an error on woocommerce paypal page like this. Reason The reason is quite simple because Paypal does not support Indian Currency and you can check in list of…

Read More