To enable hot-deploy of JSPs in Wildfly, i.e. to automatically publish any changes to JSPs in ${WILDFLY_ROOT}/standalone/tmp/vfs/temp/tempxxxxxxx/content-xxxxxxx without requiring redeployment of war, set the development attribute of jsp-config within undertow subsystem to true as below: <subsystem xmlns="urn:jboss:domain:undertow:3.0"> <servlet-container name="default" default-encoding="UTF-8"> <jsp-config development="true" tag-pooling="false"/> <websockets/> </servlet-container>
Category: J2EE
Managed: Anything managed out-side of Java EE container (typically coded for Java SE). Managed objects can run outside of/or without java EE container. Non-managed: Anything managed by the Java EE container (such as EJB, etc.). Non-managed objects require a Java EE container to run.
Cassandra primary key (a unique identifier for a row) is made up of two parts - 1) one or more partitioning columns and 2) zero or more clustering columns. To search a table without any indexes, all partitioning columns must be provided to avoid error message: Cannot execute this query as it might involve data filtering … Continue reading Cassandra Primary Key = ((Partitioning Key), Clustering Key): A simple explanation
Pattern #3: Get rid of all NOT operators from sql where clauses. For example, consider a typical SQL query to find all employees who have NOT completed a mandatory information security training: select ee1.* from employee ee1 where NOT exists ( select ‘true’ from employee_training et1 where et1.employeeID = ee1.employeeID and … Continue reading Migrating SQL applications to Cassandra – Pattern #3
Pattern #2: Get rid of all EXISTS and IN from sql where clauses. For example, consider a typical SQL query to find all employees who have completed a mandatory information security training: select ee1.* from employee ee1 where exists ( select 'true' from employee_training et1 where et1.employeeID = ee1.employeeID and … Continue reading Migrating SQL applications to Cassandra – Pattern #2