Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how ecommerse go

 
prasad Chandrasekaran Iyer
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Frank
can you please explain the basic prototype of Ecommerse application
like how servelet works and how the data will be ported from webpage to server. what all the technology come in this process.
like where servelet sits., where asp sits.. etc
 
Frank Carver
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Wow. That's such a large request.
"e-commerce" is simply any form of business done using electronic means. Typically that might be buying and selling using email and the web, but it can also include any other electronic system or protocol.
I assume that you are limiting your question to consumer purchases made using the web (like amazon.com etc.) In this case any reasonable servlet book will explain this for you. As an instant summary, try this:
A customer accesses a web site which sends out web pages, graphics etc as usual. The customer looks up some product details by accessing pages which are automatically generated from a product database as required (by a servlet, for example). At some point the customer fills in his/her details into a web form or an applet. These form details are then sent back to the web server using the POST protocol, which is handled by a servlet which process the purchase (debiting a credit card and reducing stock inventory for example) and returns a confirmation page to the customer.
For more complex examples including shopping carts and one-click purchasing, you will need to look into the concept of sessions, and think about how user data can be stored in a database and accessed using a key stored in a browser cookie.
This description may be full of buzzwords, but if you look them up you may get a better idea of what e-commerce is about. It's just too wide an area to cover in a single response.
If you have any more specific questions, please ask them here, and we should be able to answer in more detail.
 
Joe Paolangeli
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You may also want to read the J2EE Blueprint document that contains information on building enterprise applications. There is also a chapter where the author describes a sample pet store e-commerce application. You can download the documentation and sample application at the following link:
http://java.sun.com/j2ee/download.html
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic