Win a copy of Spark in Action this week in the Open Source Projects forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

e-commerce website

 
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
 
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.
 
author
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
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, Jenna
 
    Bookmark Topic Watch Topic
  • New Topic