• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

e-commerce website

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks, Jenna
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic