aspose file tools*
The moose likes XML and Related Technologies and the fly likes e-commerce website Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "e-commerce website" Watch "e-commerce website" New topic
Author

e-commerce website

Jenna Winfield
Greenhorn

Joined: Apr 24, 2004
Posts: 2
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

Joined: Apr 16, 2004
Posts: 305
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

Joined: Jan 23, 2002
Posts: 11962
    
    5
Hello "gimmie chocolate",
May I ask you to re-read our naming policy and edit your display name accordingly.
Thanks.


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Jenna Winfield
Greenhorn

Joined: Apr 24, 2004
Posts: 2
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

Joined: Jan 23, 2002
Posts: 11962
    
    5
Thanks, Jenna
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: e-commerce website
 
Similar Threads
Webserver Vs Application Server
Technologies needed for a small e-commerce website??
Server Differences
not able to get values into database
Loadrunner Questions