This is the page for the Antelope Sample application.
Antelope aims to demonstrate how to use Zebra with Turbine 2.4 and Hibernate
The original authors of zebra believe this to be an example of good practice - obviously you are free to make up your mind
The sample is designed to highligh the simplicity of building flows and forms. We have not cut any corners or left out bits we would normally use.
To get started using this application please see Getting Started
The meercat session manager provides a Hibernate session for the length of a HTTP Session. This is good because you can have lazy loading and maintain uncommited state between pages. It is bad - as if the user has 2 windows you can have 2 threads accessing hibernate at once. To solve this the Ocelot filter ensure that a session does not have 2 requests taking place at once. However this prevents users having 2 browser windows.
The solution to this would be to modify Meercat/Ocelot to work with browser windows as well as per session by adding an extra parameter onto the URL. At some point this will be added to antelope.
An alternative statergy is to use short running hibernate sessions - e.g. via the hibernate Avalon service.