Pages

Thursday, June 24, 2010

Logging the Request [Access Log]

If we want to log all the requests [time, what was accessed, the Response status e.t.c], we need to add a valve to the context.xml file like <Valve    className="org.apache.catalina.valves.FastCommonAccessLogValve"    directory="${catalina.home}/logs/"    prefix="access_log"    fileDateFormat="yyyy-MM-dd.HH"    suffix=".log"   ...
Read More

Wednesday, June 23, 2010

Accessing A DataSource In Jboss EWS

Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4 ...
Read More

Friday, June 11, 2010

Working With a Web Application in Maven

Working With a Web Application in Maven. In This article , we will be seeing how we can create a sample web application in maven and deploy that in tomcat server .So we will start creating a web application in maven by executing the command , mvn archetype:generate -DgroupId=com.SampleWeb.WebApplication -DartifactId=WebApplication -Dpackage=com.SampleWeb.WebApplication...
Read More

Monday, June 7, 2010

Maven Property References

  In a daily application, properties play key roles in providing data at required time. In maven also we have a facility to set properties and access them at required places. We can access system, operating system specific properties also. Maven properties are like place holders, they can be accessed anywhere in the POM file and can be accessed using ${x}, where x is a property to be accessed. So in this article we will...
Read More