Uncategorized

Thymeleaf Templating Engine for Web Application Views

Thymeleaf is a templating Engine, which will processes views which are in the form of HTML5/XHTML etc. These view templates will be parsed, cached, cloned and processes for each request. As it cached the templates, it will reduce lot of I/O operation time while displaying pages. Note: Thymeleaf template engine will construct in memory DOM… Continue reading Thymeleaf Templating Engine for Web Application Views

Uncategorized

Datasource Configuration In Jboss 7

Follow the below steps to add datasource in jboss 7 1. edit standalone.xml to add datasource in subsystem Note: standalone.xml location jboss-as-7.1.1.Final/standalone/configuration 2. Add the MySql Driver in the same place 3. Create following folder structure in jboss module directory. jboss-as-7.1.1.Final/modules/com/mysql/jdbc/main 4. create module.xml file with following entry 5. add mysql connector jars. finally main… Continue reading Datasource Configuration In Jboss 7

Uncategorized

Jboss Deployment Time Out Increase

Some of the web applications will take longer time to deploy than expected. By default JBoss has only 60 seconds deployment time out. To Increase the JBoss time, set the following configuration value in standalone.xml in jboss 7. Deployment time out will be in milliseconds. <subsystem xmlns=”urn:jboss:domain:deployment-scanner:1.1″> <deployment-scanner path=”deployments” relative-to=”jboss.server.base.dir” scan-interval=”5000″ deployment-timeout=”3000″/> </subsystem>