Home » Archive

Articles in the ATG & Java Category

ATG & Java »

[8 Aug 2010 | No Comment | Posted By:Sam]

The code below explains how to get the value of a particular node from an XML. Dont forget to take a look into the imports in the class as the XMLToDOMParser and ApacheXMLToolsFactory are two very important packages you can’t forget for this code to work. “xPath” gives the node we have to find. The string variable “xPath” is defined in a particular way. The path in the eg: file(testParsingXML.java) will lead you to the node named “category“. Here is another example to know how to write the xPath:=  /root/son[@name=\"firstchild\"]/grandson[@name=\"gs1\"]
This …

Read the full Post »

ATG & Java »

[30 Jul 2010 | No Comment | Posted By:Lloyd]

A decompiler does the reverse of a compiler, a lowel byte code into a high level language.Java decompiler will help you decompile a byte code file so that you can see the java code.
Steps in installing JADClipse(An eclipse plugin for decompiling)
1. Create a folder parallel to the eclipse installation named “JAD”, place the “jad.exe” file inside the folder.
2. Run the “jad.exe”.
3. Copy the jar file to the plugins folder in eclipse.(“jadclipse_3.2.2.jar”)
4. Restart your eclipse.
5.Go to window –>preferences–>Java–>jadeclipse. (Check the Picture below)

Read the full Post »

ATG & Java »

[29 Jun 2010 | No Comment | Posted By:Lloyd]

There are many ATG Out Of The Box(OOTB) droplets to cater the various needs in developing an application.Droplet’s main use in a jsp page is to dispay the contents dynamically. The OOTBox components are used in JSP with the help of DSP tags. DSP is a tag library provided by ATG, it acts as layer above the JSP tags. The DSP tag library lets you access all data types in ATG’s Nucleus framework. Other functions provided by these tags are managing transactions and rendering data in a Java Server Page. …

Read the full Post »

ATG & Java »

[7 Jun 2010 | No Comment | Posted By:Sam]

production setup is normally an alien environment to normal developers. On top of the e-commerce site setup locally, a few patch ups needs to be done to work in the production environment or rather there are large differences. Before going into the details of a production scenario a few important things needs to be brought into your attention; Content Administration (CA), Search Indexer, and electronic Store front. CA is Content or data related thing, the ATG CA lets the product data and other data flow into our website. The …

Read the full Post »

ATG & Java, Tech Corner »

[19 May 2010 | No Comment | Posted By:Sam]

How to write a droplet??
How to execute a SELECT query in ATG repository??
A droplet is an ATG concept which is implemented with the help of java. We can say a droplet is complete when the java class and a properties file of the java class are combined. The scope of a droplet is always global. The droplet class extends DynamoServlet. It is same as that of a servlet class in java and it contains a service( ) method also. The two parameters of the service method are of type DynamoHttpServletRequest …

Read the full Post »