Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

e-commerce website

 
Jenna Winfield
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to design a simple 3-tier e-commerce website using xml. I have no idea how to go about this, if anyone has any ideas could you please let me know it would be much apreciated
 
Jeffrey Hunter
Ranch Hand
Posts: 305
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is going to be the mid-tier (JSP, JavaBean, Servlet)? You can define the inventory (product descriptions, customer info, etc.) with XML, use JSP or normal HTML as your presentation tier, and the database which will keep a history of transactions, inventory, etc. in MySQL or Oracle, as the third tier. One way or the other, the mid-tier will need to communicate with the third-tier, as well as the first tier. I usually use JavaBeans or Servlets for this communication.
Also, you know you will need a third-party (i.e. PayPal) to handle the actual transactions. This is usually pretty easy and can be handled by the mid-tier.
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello "gimmie chocolate",
May I ask you to re-read our naming policy and edit your display name accordingly.
Thanks.
 
Jenna Winfield
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oops, sorry didnt read the naming policy.
Thanks Jeffrey you were a big help. As its not a real site I'm not going to bother with Paypal and all that. Mite not be as bad as I first thought...
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, Jenna
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic