ATG Interview Questions (Assembly & Deployment)



Qs. What kind of deployments (or EARs) does ATG Support?
Ans. Development Mode and Standalone Mode.

Qs. What is the difference between Standalone EAR and Development mode EAR? 
Ans.
Development Mode EAR

  • This EAR is meant for development.
  • Application gets its configuration from ATG Installation folder (ATG_DIRECTORY/home/localconfig)
  • Any change in configuration (properties files) can be done in localconfig folder without rebuilding the ear (just restart required)
  • Logs are created in ATG_DIRECTORY/home/logs
Standalone EAR

  • The EAR is meant for production deployment
  • Application gets its configuration from EAR itself.
  • On production, an ATG-Data folder is created outside of installation. This folder contains ATG specific files and folders like logs, localconfig, pagebuild etc.
Asked By: Sapient, TAISTech, Accenture

Qs. What is "ATG-Data" folder? 
Ans. In production deployment of standalone EAR, ATG-Data folder is created to hold ATG specific files and folders like logs, localconfig etc.
This folder is created because, it is not feasible to write these files (like logs) inside the EAR.

Asked By: HCL, Wipro

Qs. Where is "ATG-Data" folder created?
Ans. By default, this folder is created in current working directory of Java Process.

Qs. Can you change the location of this folder? 
Ans. Yes, in the startup script, we can specify the atg.dynamo.data-dir as Java Argument to specify the location where ATG-Data is to be created.
java <arguments> -Datg.dynamo.data-dir=/var/data/ATG-Data/</arguments>

Asked By: Accenture, Sapient, HCL

1 comment:

  1. This comment has been removed by a blog administrator.

    ReplyDelete

Subscribe

Get All The Latest Updates Delivered Straight Into Your Inbox For Free!

Flickr