Is it java(JSP, Javabean, Servlets), j2ee(EJB-3tier) or something else & which best database is suited? If plan in advance than time is saved.
Awaiting reply at the earliest.
Thanking in advance.
It depends on what kind of shopping cart you want.
In other words, you need to decide it's life duration.
If it dies at the end of the session, it should be implemented as a JavaBean stored into the HttpSession.
If it longs across sessions(like the Amazon's one), it'll be a entity bean or something like that.