If you're looking for ATG Interview Questions for Experienced or Freshers, you are in right place. There are a lot of opportunities from many reputed companies in the world. According to research, ATG has a market share of about 0.1%.
So, You still have the opportunity to move ahead in your career in ATG Analytics. Mindmajix offers Advanced ATG Interview Questions 2021 that helps you in cracking your interview & acquire a dream career as an ATG Analyst.
|If you want to enrich your career and become a professional in ATG Certification, then visit Mindmajix - a global online training platform: "Oracle ATG Training" This course will help you to achieve excellence in this domain.|
A repository is a data access layer that defines a generic representation of a data store. It simplifies the storage and retrieval of data. The manipulations of data are done through the Repository API. Application developers access data only using interfaces such as Repository andRepositoryItem.
Developers can create, modify, query, and remove repository items. A repository item is more or less like a Java bean. The ATG platform includes a set of models for repositories.
a) The SQL repository is implemented through the atg.adapter.gsa package. The main ATG component in the SQL repository is an instance of the atg.adapter.gsa.GSARepository class, which implements the interfaces atg.repository.MutableRepository and atg.repository.content.ContentRepository and which extends the class atg.repository.RepositoryImpl.
b) Let's keep aside the hardcore theory for now and move to more practical aspects of repositories.
c) A repository is a collection of repository items. In general, a repository item corresponds to the smallest uniquely identifiable entity in the underlying data store. Each repository item is made of properties and these properties store the data and thus make a repository item. These properties of a repository item are defined inside the repository’s ITEM DESCRIPTORs. Properties of repository items may be single-valued or multi-valued.
d) It's still confusing…??? be patient, towards the end there is something informative that will help you enhance your understanding.
Let's keep it simple with the help of an SQL Repository, for example, each database table has its own repository item descriptor. Sometimes a JOIN of multiple tables into a single item descriptor.
Points to Note:
ATG repositories support Java collections and hence we can store a List, Map, or Arrays.
ATG repositories allow one-one, one – many, and many-many relationships.
Here is what I have promised: how to set up a repository..??
We have a database table (eg: tb_tango).
Now create a property file that specifies the repository mapping xml file, class file, data Source, etc. Let's name it “sampleFile.properties“. The mapping xml(repositoryMapping.xml) file specifies the repository item descriptors. And the final step
is registering the repository with dynamo
* The “dataSourceFile” is yet another property file where the JDBC connections and database driver, server name, user, password, etc are specified.
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…).
There are three different types of scopes for ATG components namely
Global is the default scope
The nucleus is ATG`s open Object Application Framework. ATG 7 is said to be a component-centric development platform. The ATG 7 Web applications are nothing but individual JavaBean components assembled. These JavaBean components are configured and linked together by properties files within the Nucleus.
In the Nucleus, each service is packaged as a JavaBean or set of JavaBeans. These JavaBeans are configured individually and mounted into a namespace. The beans then interconnect with the beans representing other services. The nucleus is responsible for interpreting the component configurations and the management of the component namespace.
Dynamo uses the Nucleus framework to organize components into a hierarchical structure (similar to a directory structure). Each Nucleus service has a unique Nucleus name. For example, the default javax.sql.DataSource component is located at /atg/dynamo/service/jdbc/JTDataSource
The nucleus is the core of the entire ATG system. It creates and configures Nucleus components (also called beans and JavaBeans) and organizes them into a hierarchical namespace, essentially giving them a place to live so they can be referenced by other components. By reading the .properties files associated with each component, Its Nucleus figures out which components are to be used in an application initialize them to their default values, and how decides about how they connect. This model makes it easier for the developers to build ATG applications by configuring and using the pre-built components instead of writing a lot of Java code from scratch.
Atg Pipeline is a variant of Servlet Pipeline, In an ATG pipeline the sequence of Programs is executed in a queue.
Below is the ATG servlet pipeline
It starts with the DynamoHandler which adds the Dynamo-specific request and response objects to the request’s context. Actually, the list of servlets you will see depends on which modules you have running. This is the DAS configuration DPS and other modules can and do add more servlets to the pipeline.
Atg tag library is a variant of jsp standard tag library. However, atg provides its own set of tag libraries e.g. dsp,dspel, core
ATG DPS refers to the ATG Dynamo personalization system. It is driven by User Profile Data and business rules designed to deliver the right content to the right user.
There are three key elements of the ATG DPS Personalization System.
When a person visits a website driven by ATG Dynamo Personalization Server(ATG DPS) website for the first time, The person is allowed to create its own User Profile.
Once created, DPS stores that User`s Profile in its database repository. This profile contains a list of properties that describe the person`s characteristics, such as the name they entered in a registration form or the date of their last login. ATG DPS uses this profile information stored in its database repository to provide targeted content to each other.
Targeting is the process of displaying
In the DPS rule-based system, business managers create rule sets called content targeters that control how content is displayed on the website.
DPS includes a Targeted Email service for composing and delivering personalized email using the same profile groups and targeting rules you use to deliver content on your website. Also if you have Dynamo Scenario Server installed, you can use scenarios to deliver targeted email. You can use targeted email to perform the below activities.
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
At the top of the ATG form handler class hierarchy there exists the DropletFormHandlerinterface. Then come, three different classes provided by Dynamo which extend this interface. They are as below:
EmptyFormHandler is the simplest to implement. It implements the DropletFormHandler interface and defines blank body implementations of the methods in this interface.
GenericFormHandler extends EmptyFormHandler. It defines the simple implementations of the DropletFormHandler interface’s methods and the basic error handling logic. If errors occur in processing a form that uses GenericFormHandler, the errors are saved and exposed as properties of the form handler component.
TransactionalFormHandler extends GenericFormHandler, It treats the form processing operation as a transaction. Though the methods invoked by this form handler are processed discretely, but their results are saved simultaneously. The before and after methods do transaction management. This establishes the transaction before any of your properties are set or handler methods are called.
Getters & Setters
primary and auxiliary
CartModifierFormHandler , ShoppingCartFormHandler
Express Checkout, Guest Checkout
Express- Logged in user has information stored
Guest- will enter all information (shipping, billing, review steps), and information is not saved
Business Control Center- UI for Business Users (to upload content to Catalogs, create promotions, etc)
I general, the Custom tags will be written by the developer.
Dsp is all ready to use. you can use it 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.
Dsp imports all objects of type class also, whereas jsp imports only primitive types.
JSP includes are dynamic whereas dsp include are for data which is smaller than 64 kb.
ATG created the DSP tag library as a mechanism for accessing all data types, including those that exist in ATG’s Nucleus framework. Other functions provided by these tags manage transactions and determine how data can be rendered within a JSP.
It’s best to use tags from the DSP tag library only for tasks that involve the Dynamo Application Framework (DAF) resources. Dsp tag support for the passing of object parameters between pages. In particular, use dsp:include rather than jsp:include, and use dsp:param rather than jsp:param.
ShoppingCartFormHandler & CartModifierFormHandler
Is a Java bean
Scenario anticipates and tracks the actions of the people who visit your Web site and responds appropriately by, for example, tailoring the content of the site, offering price promotions, or sending targeted e-mail messages
Performance problems come in many shapes and sizes, but they all mean that the processing of some task is not happening at the expected, and previously observed speed. Performance issues include CPU utilization problems, slow response times, high levels of DB activities, SQL queries that run a long time, Slow CA deployments, just to name a few.
WebSphere Application Server
Enables one repository item to derive property values from another repository item or another property in the same repository item.
For each item descriptor, an SQL repository maintains two caches:
Item caches hold the values of repository items, indexed by repository IDs. Item caching can be explicitly enabled for each item descriptor.
Query caches hold the repository IDs of items that match given queries. When a query returns repository items whose item descriptor enables query caching, the result set is cached as follows:
Caching modes are set at the item descriptor level, through the tag’s cache-mode attribute. The default caching mode is simple caching. To set a different caching mode on an item descriptor, set cache-mode to one of the following values:
|Explore ATG Sample Resumes Download & Edit, Get Noticed by Top Employers!|
HandleX methods contain the actual function to be performed. It's a method. Like in ProfileFormHandler- handleLogin
Price Lists allow you to target a specific set of prices to a specific group of customers. Price lists are managed through a single interface in the ACC. For example, price lists can be used to implement business-to-business pricing where each customer can have their own unique pricing for products based on contracts, RFQ, and pre-negotiated prices.
Ravindra Savaram is a Content Lead at Mindmajix.com. His passion lies in writing articles on the most popular IT platforms including Machine learning, DevOps, Data Science, Artificial Intelligence, RPA, Deep Learning, and so on. You can stay up to date on all these technologies by following him on LinkedIn and Twitter.