1. What are the two methods in a component
Ans: getters & setters
2. Have you worked with repositories
Ans: if you answer yes be ready to answer questions on cache, implementing a repository from scratch, and others. (please see my post on repositories)
3. Name 2 types of tables
Ans: primary and auxillary
4. Have you worked on shopping carts
Ans: CartModifierFormHandler , ShoppingCartFormHandler
5. Name 2 types of checkout
Ans: Express Checkout, Guest Checkout
6. Difference between Express Checkout and Checkout
Ans: Express- Logged in user information has stored
Guest- will enter all information (shipping, billing, review steps) and information is not saved
7. What is BCC
Ans: Business Control Center- UI for Business Users (to upload content to Catalogs, create promotions etc)
8. What are custom dsp tags
Ans: Custom tags is written by the developer.
Dsp is all ready to use. you can use to render content dynamically by linking Nucleus components directly to your JSPs. Essentially, the DSP tag libraries let you connect your JSP content to the Java code at work behind the scenes so you can separate your application logic from your presentation layer.
ATG 7 provides you with three tag libraries: JSTL, DSP/DSPEL, and Core. You can find these tag libraries in /DAS/taglib.
9. Difference between droplet, FormHandler and servlet:
Ans: Servlet is a java class. Droplet is from ATG
Droplet is used to render or put data in the db
Servlet is used to submit data, it acts as a controller. It is not used to put data.
Servlet also renders the portion of JSP page.
FormHandlers are used when there are forms. They help to perform validation for the forms.
10. Difference between dsp and dspel tags
Ans: The DSP tag library tags support runtime expressions, such as references to scripting variables. These tags use a id attribute to name the scripting variables they create.
The DSPEL tag library tags support JSTL Expression Language (EL) elements that are also evaluated at runtime. These tags often produce a result object named by the var attribute.
For custom tags we need to write the properties file and a class file to define the functions. We need to include a tag file with extension .tld. (tag library definition) and in the droplet include the path of the tag uri <% tag uri…..%>
For example we can write a custom tag to calculate the shipping rate with promotion and save it and then extend wherever required.
ATG Guide is for people who wants to learn ATG framework. ATG Guide tutorial takes a long way with you forever for your success career on ATG Framework.
Sunday, 1 April 2012
ATG Interview Questions 1
Subscribe to:
Post Comments (Atom)
It is just like spoon feeding.Lovely share!Made my work very easy!
ReplyDeleteQuestions