-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Session mgmt with mixed sql and lifecycle objects
PostPosted: Sun Jun 20, 2004 12:35 pm 
Regular
Regular

Joined: Mon Sep 29, 2003 9:39 am
Posts: 67
I have a coarse-grained object, Review, that is configured by the user in a series of steps:
1. Create a Review by defining it's scope (product lines etc) and identity (author, date, etc).
2. Upload XML data files.
3. Set some comparison parameters.
4. Apply a series of rules to each item under review (Bulk).
5. Page through the items which failed to meet the rules, and approve
or reject.
6. Generate some reports, summary statistics, effects of change etc.
7. Publish results.

Each step is implemented as a 'wizard' step. The process boils down to defining a fairly large working set, applying some automation to narrow
the scope of the set, and ultimately scrutinizing and resolving the remaining small set of items by hand.

Each step has some checks that must pass before the user can continue,
and moving backwards invalidates subsequent steps (re-applying the rules erases the hand-tuned changes in the next step).

Because the rules are applied to a large set, either SQL or eviction is used
to process the items efficiently. Because the subset of failed items may be large, paging is used to navigate the lazy collection.

The question is how to synchronize the bulk changes with the conventional hibernate collections, and what is a suitable session strategy? One-per desktop application instance, or one per step?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.