I'd recommand to use eclipselink.
I found it more suitable to use than hibernate in ajax applications.
No more object/session attach/detach headache on read operations.
three components:
- a connection status indicator
- a popup calendar (with an inputtext in wich u can type the date directly)
- a submit button to execute the query with the selected date
The user type a date directly into the inputtext field (instead of using the date chooser popup)
when he click on the submit button, the 'onblur' method of the date-inputtext field send a partial submit which switch on the connection status indicator.
While that request is processed by the server the submit button send a request too (that may take long time to complete).
While the second request is still processed by the server, the first one terminate and switch off the connection status indicator.
BUG: the connection status should not be switched off until the second request is terminated.
This (bug) is applicable to any input with partial submit
This is very disturbing from an end user point of view who think his search is already terminated while it is not in fact.