Here is en example where iterating over an array is much faster than iterating over a list directly. This we can apply if we have to iterate a list over multiple time in a single thread. Advertisements
Jboss EAP 6.1 is not by default detect or deploy latest changes to JSP pages at runtime. We need to place following settings in order to enable auto deployment or hot deployment of JSP pages. Add following settings in standalone/configurations/standalone.xml file or In your server specific config file.
Integrating thymeleaf with Spring framework Note: This is intended for advanced programmers who already knows the spring,Maven, thymeleaf basics. Thymeleaf will provide view templates for spring web applications like JSP’s. 1. Thymeleaf dependencies configuration Add following dependencies in pom.xml 3. write the template pages to for displaying in web site.
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
To start the jstatd daemon, follow these steps: Note : Close all the java based applications before starting jstatd. Create a permissions policy (for example, jstatd.all.policy) that contains the following contents: Start the jstatd daemon, and specify the policy file and the port that you want to use. The daemon is found in the Java… Continue reading jmx jstatd remote debug configuration in JVM
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