Java 7 New Feature Writing same logic in every catch block is very tedious job and it also not good for readability of the Java program. In Java SE 7 and later, a single catch block can handle more than one type of exception. This feature can reduce code duplication and lessen the temptation to…
ATG Interview Questions and Answers For Exprienced
Read : ATG Interview Questions For 1-2 Years Experience What Is Servlet Pipeline In ATG ? How to write a Custom Servlet – Steps to write a new inject able servlet in pipeline. What is Commerce Pipeline – Steps to write a new processor. Payment Pipeline In ATG. Steps to add a new SM, SG,…
_dynSessConf – Use Of Session Confirmation Number In ATG
Session Confirmation Number In ATG When using REST services, you want to prevent the processing of malicious site requests. Oracle ATG Web Commerce platform uses a request parameter _dynSessConf, which contains a session confirmation number, to verify that a request is legitimate. How do we get it ? The first actor that must be invoked…
checkFormRedirect In ATG
checkFormRedirect() In ATG is : – method of GenericFormhandler class use to redirect to the SuccessURL if no form errors are found and to ErrorURL if form errors are found. also use to forward the request rather than redirect (based on userForwards parameter) internally use redirectOrForward method os same class. return true or false Use…
Repository API In ATG
Repository API In ATG is : set of interfaces that are used for generic data access. use to manipulate repository items within Java code, including retrieving, creating, updating, deleting, and querying for items. provides generic data access calls that mask the underlying data store from the developer.(any database can be use as it convert the data…
Derived Property In ATG
Derived Property In ATG is a transient property (not associated with a column in a table) that: Derives its value from another property Can search through a series of properties to find a non-null value Specifies the derivation mechanism in the XML Repository Definition File by using a <derivation> tag Derived properties provide a way…
Creating Dynamic Success URL In FormHandler In ATG
Success URL In FormHandler in ATG Success URL in ATG is the URL used in formhandlers when we want to redirect the user after successful submission of form whether it is creating, updating or deleting a row. e.g . . <dsp:input type=”hidden” bean=”TestFormHandler.createSuccessURL” value=”succesurl.jsp” /> . . The above code will redirect the user to…
ArrayList Class In Java
ArrayList Class In Java:- ArrayList uses array to store the elements. It extends AbstractList and implements List, RandomAccess(Marker Interface), Cloneable, Serializable. Three Constructors are available in ArrayList:- ArrayList() – Constructs an empty list with an initial capacity of 10. ArrayList(Collection<? extends E> c) – Constructs a list containing the elements of the specified collection, in the order they are returned…
ATG Interview Questions
ATG Interview Questions For 1-2 Years Experience Explain Architecture of ATG. What is Nucleus ? What is Repository in ATG ? Which Formhandlers you have used in ATG ? How Droplet Work ? How will you define one to many relationship in repository. How you use MAP in one to many relation. Difference between item-type…
HashMap Load Factor and Initial Capacity
Initial Capacity and Load Factor in HashMap are two parameters that affect its performance. Initial Capacity In HashMap The capacity is the number of buckets in the hash table, and the initial capacity is simply the capacity at the time the hash table is created. Default initial capacity is 16. Load factor In HashMap The…