Servlet | Droplet |
Servlet is a java class which extends HttpServlet | Droplet is java class which extends DynamoServlet (customized in atg) |
Servlet extends HttpServlet extends GenericServlet implements javax.servlet.Servlet | Droplet extends Dynamo Servlet extends HttpServletService extends ServletService implements javax.servlet.Servlet |
Servlet can be invoked from a jsp giving the servlet path and name <jsp:forward page="/MyServlet"/> or <form method="POST" action="/ProfileSyncService"> | Droplet can be embedded in jsp as <dsp:droplet name="sampleDroplet"> to fetch the information |
Not applicable. | One or more droplets can be present in a jsp. Nested droplets are also applicable. |
Servlet is used to submit data, it acts as a controller. It is not used to put data. | Droplet is used to render or put data in the db |
Monday, 23 July 2012
Difference between droplet and servlet
Friday, 20 July 2012
Specimen?
This is the specimen taken from a young girl's back shoulder. This was felt as a soft swelling not transluminant. It's finally a lipoma
Wednesday, 18 July 2012
ATG Servlet Pipeline Lifecycle
Every ATG request goes through a servlet pipeline and the lifecycle diagram is as follows.
Follows the logs of a sample request which goes through a servlet pipline

Follows the logs of a sample request which goes through a servlet pipline
Monday, 16 July 2012
Store ATG anonymous user profile in DB
By default, anonymous user profile is stored in repository and not persisted in DB. If you want to persist all the users’ behavior who is visiting your site, then you have to enable few properties in nucleus components to persist in DB.
Limitaiton of persisting anonymous users in DB: If we keep persisting all the users who are visiting your site in DB, then the database will become very heavy and performance issues may come up. In this case, Proper removal/clearing of data has to be scheduled.
When is an ATG User Profile created for a person visiting the web site?
Answer: When a person hits a website url, and when that request is processing, the profile gets created.
When a person visits the Web site, ATG platform automatically creates a profile for him or her and stores it in a profile repository set up by the application developers who are working on the Web site. The following are the basic information stored for an anonymous user,
a) Sequential Profile Id generated by ATG
b) Properties with <default=""/> tag set in userprofile.xml
Subscribe to:
Posts (Atom)