This is just a quick snippet that shows how you can print all property values for a given ItemDescriptor. In this case, I wanted to print the properties for a given product id in the ProductCatalog repository. try { GSARepository…
Month: January 2013
Example of creating an order in ATG
I spent a lot of time understanding the plumbing of the Pipeline, OrderManager, etc. As I have indicated in the past, simple startup examples of ATG development are hard to find. The out of the box form handlers work far…
Simple byte code injection example with Javassist
This is a simple example that will time how long a method takes to execute, without changing the source code. First, we need to download the javassist software from http://www.javassist.org Please the javassist.jar file in your classpath. Also, set your…