Blog Archive for caroljmcdonald during August 2009
JPA Performance, Don't Ignore the Database
Database Schema
Good Database schema design is important for performance. One of the most basic optimizations is to design your tables to take as little space on the disk as possible , this makes disk reads faster and uses less memory for query processing.
Data Types
You should use the smallest data types...
jpaconcurrency
JPA Caching
JPA Level 1 caching
JPA has 2 levels of caching. The first level of caching is the persistence context.
The JPA Entity Manager maintains a set of Managed Entities in the Persistence Context.
The Entity Manager guarantees that within a single Persistence Context,
for any particular database row, there will be only one object
instance. However the same entity...
This Pet Catalog app explains a web application that
uses JSF 2.0, Java EE 6, GlassFish and MySQL. I took this
example GlassFish
and MySQL, Part 2: Building a CRUD Web Application With Data Persistence and modified it to use some of the new features of JSF 2.0 and Java EE
6.
Download
the sample code
Explanation of the usage of JSF 2.0 and Java EE 6 in a sample Store
Catalog...



