File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes ecom applications Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "ecom applications" Watch "ecom applications" New topic

ecom applications

ray bond
Ranch Hand

Joined: Oct 11, 2000
Posts: 111
hello , to all you servlet , jsp developers who developes online ecom , shopping web sites , I want to ask that how you organize sites , like when end user submit his order for item ,
do you retrive that data through servlets in text file on server or there are some othre practical methods to retrive this data ,
how often you check this data for order , like if it is in text file then you have to keep checking it ,
once user submit data , we can get that form data in servlet and display on order confirmation page , but how you get this data on the server itself , when user submit order form does database interaction happens immidietly or data is entered manyaaly , it would be very nice if you can give some example with code for getting form data from end user at server and guidance about this points ,
thank you
[This message has been edited by ray bond (edited November 30, 2000).]
Brett Knapik
Ranch Hand

Joined: Oct 15, 2000
Posts: 255
Jewels & Treasures (my moms company) are currently planning on using php for our e-commerce site. We plan on making the upgrade to servlets/jsp as soon as I develop it.
I wish there was a button on my monitor to turn up the intellegince.
Theres a button called 'brightness' but it doesn't work

"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."
Brett Knapik
Ranch Hand

Joined: Oct 15, 2000
Posts: 255
forgot to answer your question. The order file is in a sql database under heavy security and we access the orders from the online administration. We get e-mailed if a new order has come in. Depending on what you are using a text file or my sql database. sql you execute sql commands to add it to the table for text file there is a function that you can write to a file. 2 of your questions are unclear the first one and the last one about database and manually interaction (i think that what you were trying to say)
I wish there was a button on my monitor to turn up the intellegince.
Theres a button called 'brightness' but it doesn't work
Sarada Bhasker
Ranch Hand

Joined: Sep 11, 2000
Posts: 94
What is PHP?
Brian Nice
Ranch Hand

Joined: Nov 02, 2000
Posts: 195
Try looking at the Java Pet Store application provided by Sun. It has all that you are talking about, though it is a little daunting to go through because there are so many classes. Maybe the section on design patterns will help you out. Sorry I don't know the URL, but it's on Sun's site
Frank Carver

Joined: Jan 07, 1999
Posts: 6920
PHP is a dynamic website language and toolset very popular on Apache servers. See for more details.

Read about me at ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
It is sorta covered in the JavaRanch Style Guide.
subject: ecom applications
Similar Threads
confused between attributes and parameters
simple change to code that uses HTTPUrlConnection to make post request to a form
How to save value selected from dropdown list using PHP
HTTP POST maximum data size?
Submitting only selected textboxes in a JSP