Greetings everyone,

I am currently trying to make up my mind on the view technology for an
inventory and order management application I'm writing for my dotcom. In the
past I've been writing things using Spring (MVC) and Hibernate. Now however
I am faced with building an application with so much independent bits of
state on the screen at the same time for the user to see and manipulate that
I'm getting the impression I really need to move over to a component-based
view model. Wicket seems to fit the bill in general.

I've been reading through the Wicket-phonebook application, and it gives a
resonably good impression of the general architecture one needs to be using.
However, there is one pretty crucial feature I just absolutely have to make
work right, and instead of learning the hard way, I guess I'd just rather
ask for best integration practices...

The typical situation is like this: the user has got a paged list of
inventory items to manage. There is another side to the whole system -- the
storefront facing the customer with shopping cart, etc. Purchases can alter
the database between requests, so we need to know when there has been stale
data for some line in order to avoid overbooking items for sale and other
undesirable events.

Doing conversations spanning requests is somewhat straightforward in a
Spring MVC setting as the request lifecycle is easy to understand, but I'm
quite at a loss as to how I'm going to go about this with Wicket.
Essentially we need to go into some Spring transaction method at some point
in some part of a component's lifecycle, detect the transaction failure,
notify the user and then try again. I don't think I've really seen this
discussed anywhere up to a length that would have given me an idea how I am
to get started...

Ideas appreciated :-)

Eero
-- 
View this message in context: 
http://www.nabble.com/Evaluating-Wicket-for-Spring-long-transactions%2BHibernate-case-tf3988967.html#a11326391
Sent from the Wicket - User mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to