From: | Tea Yu <teayu1(at)gmail(dot)com> |
---|---|
To: | Charles Curi <charles(dot)curi(at)gmail(dot)com> |
Cc: | pgsql-jdbc(at)postgresql(dot)org |
Subject: | Re: Shopping Cart |
Date: | 2006-02-01 07:41:29 |
Message-ID: | 43E06629.2000307@gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
You can compromise on Session for anonymous Shoppers and DB-backed
persistence for logged-in shoppers. An exception is when you have a web
server cluster and you find that they are busy replicating sessions all
the time, then you might also opt for DB-backed shopping carts in the
former.
Tea
> O Charles Curi έγραψε στις Jan 31, 2006 :
>
>
>> Hi people.
>> I need to implement a shopping cart in my Java web system.
>> A friend of mine adviced me using stored procedures and temporary tables
>> with PostgreSQL.
>> I wonder if anybody have an example in mood to help me.
>> I`d be grateful.
>>
>
> Session wide stored Attribues would definately do the job,
> and fits with the idea of temporary inmemory storage.
>
> When i implemented a web based email client on top of
> jboss/jetty/pgsql i used the above techinque for implementing
> attachments.
>
> However the persistence of the transaction's details might be subject
> to further thought.
>
>
>> Cheers.
>> Charles
From | Date | Subject | |
---|---|---|---|
Next Message | Achilleus Mantzios | 2006-02-01 08:27:48 | Re: Shopping Cart |
Previous Message | Kris Jurka | 2006-02-01 00:04:09 | Re: pt_BR: translation updates |