Q1 : What is a component in ATG?
A : In ATG a component is simply is a configuration file (a simple text file with .properties extension), which uses a java class.
Q2 : What is the advantage of Nucleus in ATG?
A : The advantage of Nucleus in ATG are,
- It renders a simple way to write new components
- In nucleus, applications don’t need to contain code to create instances of components. It is created and administered through configuration files
- By organizing configuration files into layers Nucleus provides a convenient way to modify and extend component properties
- Nucleus provides a large number of out-of-the-box generalized service components
- Nucleus makes it easy for application developers to set the scope of their components
Q3 : What is ATG Dynamo? What is ATG Framework?
A : ATG Dynamo or Dynamo Application Server(DAS) is a J2EE application server from Art Technology Group. ATG framework is a Web Application framework for building web applications. ATG dynamo implements the ATG framework. The application framework can also be run on all major J2EE application servers (JBoss, WebLogic, WebSphere etc…).
Q4 : What if the ATG applications are deployed on a cluster of servers?
A : If the ATG applications are deployed on a cluster of servers then it is better to go for either Distributed caching or Locked caching.
Q5 : What is ATG tag library?
A : Atg tag library is a variant of JSP standard tag library. However, ATG provides its own set of tag libraries e.g. DSP, dispel, core
Q6 : What are Custom Dsp Tags?
A : In general, the Custom tags will be 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. Especially, the (DSP) tag library, allows you to 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.
Q7 : Mention in order to use custom ATG servlet beans with the ATG Control Center what is required?
A : In order to use custom ATG servlet beans with the ATG Control Center you need to apply the following requirements:
- You must make a BeanInfo file that defines the servlet bean’s parameters
- The class must extend atg.servlet.DynamoServlet
Q8 : Explain Logging Features Of Atg?
A : Any component whose base class implements “ApplicationLogging” Interface can use atg logging infrastructure. Logging can be done per-component, per-module/per-application basis. Error, Warning, Info & Debug messages are the various logging mechanisms. First three are logged by default, whereas the Debug messages are just for debugging purpose and should be removed when the code goes into production. Logging is managed using the “GLOBAL.properties” file, which specifies the log levels of various modules.
Q9 : Explain how can you embed the output of a Java servlet (an ATG servlet bean) in a JSP?
A : In order to embed the output of a Java servlet (an ATG servlet bean) in a JSP you need to add dsp: droplet tag with a bean attribute.
Q10 : How to create a Component?
A : We can create it in 2 ways:
I) using ACC
II)by creating java+properties file in our module/Eclipse
Q11 : What are the two types of cache that ATG repository maintains?
A : The two types of cache that ATG repository maintains
- Item Cache
- Query Cache
Q12 : What is the main difference between JSP and DSP tag libraries?
A : The main difference between JSP and DSP tag libraries are
- Dsp is an ATG specific tag libraries that involve in executing only DAF framework resources. Also, Dsp imports all objects of type class.
- JSP involves in all the functionalities for web application development. Also, Jsp imports only the primitive data types.
Q13 : When or in which scenario I will go for Itemlookupdroplet?
A : To get the complete item by providing id as an input parameter to that droplet.
Q14 : What are all TOOTBotb Form Handlers you used in your Application?
A : Mainly I used in my application level:
- CartModifierFormHandler
- PaymentGroupFormHandler
- ShippingGroupFormHandler
- CommitOrderFormHandler
- GenericFormHandler
- ProfileFormHandler
Q15 : What are the scope of Dynamo Components?
A : The scope of Dynamo Components are
- session
- request
- Global
Q16 : What are ATG Form Handlers?
A : ATG Formhandler is the intermediate class that comes in between a JSP form value and its bean class. They are there to evaluate the validity of form data before it is submitted, write data to and read data from a database or repository, and direct the user to different pages, depending on the results of the form submission
Q17 : What is the default Scope of a Component?
A : The default scope of a component is Global.
Q18 : What are all the Input Parameters for Foreach Droplet?
A : array,elementName,indexName.
Q19 : What is the difference between FormHandler, droplet, and servlet?
A : The difference between FormHandler, droplet, and servlet,
- FormHandlers are used when there are forms. They help to perform validation for the forms
- Droplet is from ATG, and it is used to put or render data in the database
- Servlet is used to submit data, it acts as a controller. It is not used to put data
Q20 : What is ATG?
A : ATG is a framework for creating web applications. It is based on J2EE standards.
Q21 : How do the terms Atg Dynamo and Atg Framework Interact?
A : The ATG framework is used by Dynamo ATG.
Q22 : What is a droplet in ATG?
A : Basically, a droplet is an ATG’s custom servlet which has some atg-specific customization. It can be correlated with the HttpServlet in J2EE, but here we use DynamoServlet class which implements javax.servlet.Servlet interface in ATG.
Droplets are mainly used to abstract out the business logic in server-side code.
Q23 : What are the types of Pipeline in ATG?
A : The types of request handling pipelines used by Dynamo
- DAS Servlet pipeline – It is used to handle JHTML request
- DAF Servlet Pipeline – It is used to handle the JSP request
Q24 : Name 7 Common Elements A User May See During Checkout Through Atg Dynamo?
A : Add to shopping cart, Login, Billing address, Paymentemailil confirmation, Confirm button, Shipped eMail address
Q25 : What is the core of ATG?
A : The core of the ATG platform is
DAF or Dynamo Application Framework, which implements a component development model based on JavaServer Pages (JSPs) and JavaBeans.