Component-item-type and Item-type Both these attributes are use to link table column to other repository item. The difference is Component-item-type – When you are using one-to-many mapping and you are referring to other repository items i.e another item descriptor. e.g Album and Song are two different item-descriptor. An album can have multiple songs so there…
Application Logging In ATG
For logging you can use logging capabilities of built-in components of ATG. ATG provides GenericService class in order to use logging in your component smoothly. But If your component extends a non-ATG base class, and you are therefore unable to use GenericService as a base, you can still take advantage of ATG logging by implementing…
How To Create Component In ATG – GenericService Class
For creating nucleus components your component class must implement number of interfaces to get the desired functionality but we can simplify our work by extending only one class. ATG provides a base class that provides smooth integration into the ATG Nucleus: atg.nucleus.GenericService Properties loggingDebug loggingError loggingInfo loggingWarning name nameContext Methods resolveName(): Finds a component by…
Types of Components In ATG
Most components in ATG can be classified into one of the following categories: Service: A component that provides functionality on which one or more systems depends. Form Handler: A component to validate and manage form input data. Servlet Bean: A droplet to handle page display logic. An example of a service component is a scheduled service. Your server-wide…
Oracle Import Export From Remote System Using IMPDP & EXPDP
Oracle IMPDP and EXPDP Oracle provides two very good tool for importing and exporting data dump very efficiently and in very simple manner using new data pump feature. There are two ways to import data using data pump. Using IMPDP directly without dump file. Using IMPDP with dump file. Things To Consider – Utility command…
Request Flow of Struts 1.x
There is following task is happening when you deploy any web-application which is developed in Struts 1.x, Step 1:- All Step of web-application deployment will be done first Process Steps of any web-application at deployment Step 2:- Because of configuring ActionServlet with <load-on-startup> tag, ActionServlet is initialized at container startup. Step 3:- Container invokes service(request,response)…
ORA-31679: Solved
ORA-31679: Solved ORA-31679: Table data object “Table_Name” has long columns, and longs can not be loaded/unloaded using a network link When ? ORA-31679 error occurs when we try to import the data using impdp over a network link. Why ? When the remote database contains table data object that has long columns, and longs can not…
PHP Mail Function Logging – mail.log
PHP 5.3.0 comes with many new features and one of important concept is Logging of Mail Function. What does it do ? Log all mail() calls including the full path of the script, line number, to address and headers. How does it work ? Go to your php.ini file. Find mail.log in that file. Enable…
ArrayList and LinkedList Difference
ArrayList ArrayList is backed Array datastructure and Alllow Duplicacy,we can insert multiple null value in it.Array initial capacity is 16. ArrayList make a contiguous memory allocation,for contiguous memory allocation arraylist always firstly create a space then insert a value in it.So arrayList require two step for insertion first create space then insert value. If we insert any value in ArrayList it take more…
Half Girlfriend
Chetan Bhagat again bang with his new novel “Half Girlfriend” The story is all about a Bihari Boy who is not good in english and a Girl who is very good in english. So with this beautiful love story this novel tries to cheer you up for how to your dreams. Buy this book at Flipkart…