Top 24 ATG interview Questions

1) Explain what is ATG?

ATG is a framework for creating web applications. It is based on J2EE standards.

2) Mention what is the core of ATG?

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.

3) Explain what is a droplet in ATG?

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.

4) Explain what is a component in ATG?

In ATG a component is simply is a configuration file (a simple text file with .properties extension), which uses a java class.

5) Explain what is a Nucleus in ATG?

In ATG, Nucleus is referred to the ATG container for components.  It provides an hierarchical name space to component. Each component has a unique full name so that pages and other components can reference it.

2000px-Art_Technology_Group_logo.svg

6) Explain what is ATG component scope?

Scope is nothing but a nucleus variable, which tells the nucleus till when a component will exist.

7) By using what sign in the configuration files does nucleus properties are processed?


The nucleus properties are processed by using the $ sign in the configuration files.

8) Explain how you can create a JSPs in ATG or JSP page is processed in ATG?

You can create a JSPs in ATG or JSP page is processed in ATG  by following steps,


  • User access the browser, type a URL and send a request for a JSP to ATG application
  • ATG application receives the request for the JSP file you requested
  • Once the JSP is found it is compiled into JAVA code
  • When all the content is fetched by the Java code, the end result is converted into plain HTML
  • This HTML page is sent back to the browser

This is how the JSP page is processed in ATG application.

9) Mention what are the types of Pipeline in ATG?

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

10) Mention what is the default Scope of a Component?

The default scope of a component is Global.

11) Mention what are the two methods in a component?

The two methods in a component are

  • getters & setters

12) Mention what is the difference between FormHandler, droplet and servlet?

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

13) Mention the Advantages of DAF?

  • It is used to deal huge data
  • It can write any object of type 1 call in to the db.
  • Dynamo messaging using patch bay and jms
  • Dependency injection

14) Explain what are the performance issues with ATG?

The performance issues with ATG include

  • High levels of database activity
  • CPU utilization problems
  • long running SQL queries
  • Slow response times

15) Mention what are the two types of cache that ATG repository maintains?

The two types of cache that ATG repository maintains

  • Item Cache
  • Query Cache

16) Explain what is ATG DPS? What are its elements?

ATG DPS is referred to ATG Dynamo personalization system. The key elements of ATG are

  • User Profile Management
  • Content Targetting
  • Targeted E-mail

17) Mention what are the scope of Dynamo Components?

The scope of Dynamo Components are

  • session
  • request
  • Global

The default scope is Global

18) Mention what is the main difference between JSP and DSP tag libraries?

The main difference between JSP and DSP tag libraries are

  • Dsp is a ATG specific tag libraries that involves 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.

19) Explain what if the ATG applications are deployed on a cluster of servers?

If the ATG applications are deployed on a cluster of servers then it is better to go for either Distributed caching or Locked caching.

20) Mention what is the difference between dsp and dspel tags?

  • DSP tags : DSP tag library tags support runtime expressions. These tags use an id attribute to name the scripting variables they create.
  • DSPEL tag : DSPEL tag library tags support JSTL Expression Language (EL) elements that are also evaluated at runtime.

21) Mention what is the standard atg.repository.QueryBuilder interface defines?

The standard atg.repository.QueryBuilder interface defines available query operations that repositories should support.

22) Mention what is the advantage of Nucleus in ATG?

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

23) Explain how can you embed the output of a Java servlet (an ATG servlet bean) in a JSP?

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.

24) Mention in order to use custom ATG servlet beans with the ATG Control Center what is required?

In order to use custom ATG servlet beans with the ATG Control Center you need to apply following requirements:

  • You must make a BeanInfo file that defines the servlet bean’s parameters
  • The class must extend atg.servlet.DynamoServlet

FacebookTwitter
blog comments powered by Disqus