Tuesday 13 August 2013

ant script

It is a tool by the Apache people

1) how do you deal? or how do you generate WAR files
Ans:
depends: it is a command, before executing'WAR' file , it will be executes.

NSIS: script to conver

How do you deliver your project?
Ans:
 NSIS script we can develop .exe file


Log4j

It is a tool for debugging. It is used to text

1) what is Log4j?
2)where do you use?
3)how do you configure?

Introduction

singleton design pattern:

we are forcefully restrict an object to do not create more than one instance.

real time example:
 1. connection object: in the connection pool mechanism are the depends.
 2. Actionservlets: structs frame work in the singleton
3. SessionFactory in the hibernate
4.Mailing phases: in the projects, not singleton.


DTO (Data Transfer Object) design pattern

1. where do you use collection in your project?
ans:
 service layer, DAO layer(data Access Object)
DAO: updating, trigger, communicate with the database.
service layer on server locater: is design pattern, is used to third party validation.