Configure Log4j - Hibernate Sql Query, Spring


log4j.properties - MyWebApp/src - MyWebApp - webapplication Name

log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.Target=System.out
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n
log4j.rootLogger=info, stdout
log4j.additivity.org.hibernate.SQL=true
log4j.logger.org.springframework=INFO
log4j.logger.org.springframework.aop=DEBUG

Loggin Hierarcy:-

Debug
Info
Warn
Error
Fatal

Container Managed Security in Tomcat 6.0 By Datasource Realm

In Tomcat/conf/server.xml

Hibernate RelationShip

Both uni direction and bi direction
a.one-to-one
b.one-to-many
c.many-to many

Hibernate Concepts

1.Table RelationShip ( one-to-one, one-to-many,many-to-many ) Uni direction and bi direction
2.

JSF 2.0 + Richface 4.0 config


  1. com.sun.facelets.FaceletViewHandler is not required in faces.config.xml
  2. jsf-facelet.jar not required in library.
  3. richface ajax4jsf filer not required in web.xml