-->
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.  [ 5 posts ] 
Author Message
 Post subject: Shopping-cart development....
PostPosted: Wed Mar 24, 2004 8:45 am 
Regular
Regular

Joined: Mon Jan 19, 2004 10:39 pm
Posts: 84
Location: Nottingham, England
Hi,
I am in the process of building a shopping cart which will enable users to add, delete and amend shopping items. I have been looking cookie based solutions or whether to write straight to a table. Obviously the solution would need to cater for system outage, i.e. a users computer/connection fails or the server goes down. I just wanted to know wether hibernate had a clever way of dealing with this kind of issue and generally what your thought were on this issue?

Peter


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 24, 2004 8:46 am 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
What is the part of Hibernate in this problem?

_________________
JAVA PERSISTENCE WITH HIBERNATE
http://jpwh.org
Get the book, training, and consulting for your Hibernate team.


Top
 Profile  
 
 Post subject: Well and truely stuck...
PostPosted: Wed Mar 24, 2004 8:50 am 
Regular
Regular

Joined: Mon Jan 19, 2004 10:39 pm
Posts: 84
Location: Nottingham, England
as Hibernate is my persistance layer, I just wanted to know how other hibernate users had come to tackle this issue, and not that hibernate was a problem at all... Any ideas?

Peter


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 24, 2004 8:53 am 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
I guess most implement a shopping cart and persist it with Hibernate. You usually have a transient shopping cart stored in the users HttpSession and make it persistent (or merge it with an already persistent) shopping cart when the user logs in. It's really trivial :)

_________________
JAVA PERSISTENCE WITH HIBERNATE
http://jpwh.org
Get the book, training, and consulting for your Hibernate team.


Top
 Profile  
 
 Post subject: That's
PostPosted: Wed Mar 24, 2004 8:56 am 
Regular
Regular

Joined: Mon Jan 19, 2004 10:39 pm
Posts: 84
Location: Nottingham, England
all I needed to know..cheers ;-)

Peter


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

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.