Developing E-Commerce Sites: An Integrated Approach [With Extensive Java, Java Script and SQL] 0201657643, 9780201657647

-- The complete, example-driven tutorial and reference covering all of today's leading technologies and solutions f

216 86 5MB

English Pages 640 Year 2000

Report DMCA / Copyright

DOWNLOAD PDF FILE

Table of contents :
Cover......Page 1
Contents......Page 10
Rationale......Page 18
Highlights of the Book......Page 19
Acknowledgments......Page 20
Feedback......Page 21
Part: I......Page 22
Chapter 1 The Basics of Internet Technology......Page 24
Web Sites and Browsers......Page 25
Web Pages and HTML......Page 26
URLs......Page 28
FORMS and CGI......Page 29
Javascript......Page 31
Cookies......Page 33
Java and Servlets......Page 34
JDBC......Page 35
Inventory Management Systems......Page 36
Profile Management Systems......Page 37
Ordering Management Systems......Page 38
Getting on the Internet......Page 40
Disclaimer......Page 42
Part: II......Page 44
Introduction......Page 46
First HTML File......Page 47
Some Formatting Tags......Page 48
Links......Page 50
Lists......Page 52
Tables......Page 53
Frames......Page 54
Forms......Page 58
Conclusion......Page 62
Introduction......Page 64
Object Oriented Programming......Page 65
First Java Program......Page 66
Applets and Applications......Page 68
Instances......Page 69
Method Overloading......Page 71
Inheritance......Page 72
Interfaces......Page 75
Packages......Page 77
Exceptions......Page 79
File I/O......Page 81
Threads......Page 82
Some Useful Classes and Methods......Page 86
Object Serialization......Page 89
Remote Method Invocation (RMI)......Page 92
Reading a URL......Page 98
Internationalization......Page 99
Applets......Page 102
Threads in Applets......Page 105
Java Mail API......Page 109
Some Useful Tools......Page 111
Some Practical Examples......Page 112
Some Handy Classes and Methods in Some Useful Packages......Page 124
HTML FORMs......Page 128
POST and GET METHODs......Page 129
Anatomy of a Request and a Response......Page 130
Drawbacks of CGI......Page 131
Efficiency with Servlets......Page 132
JServ—Servlet Engine......Page 133
A Basic Servlet......Page 135
FORM Variables......Page 137
Cookies......Page 139
Sessions......Page 144
Some Practical Examples......Page 147
Example: Session-Based Shopping Cart......Page 162
Some Useful Interfaces/Classes and Some of Their Methods......Page 170
Introduction......Page 174
Statements......Page 175
Functions......Page 176
Objects in Javascript......Page 177
Events and Event Handling......Page 179
Arrays......Page 180
FORMs......Page 181
Select Lists......Page 182
Submit and Radio Buttons......Page 183
Checkboxes......Page 185
Frames......Page 186
Cookies......Page 188
A Practical Example......Page 191
Some Useful Methods, Properties, and Event Handlers of Some Useful Objects......Page 203
Reference......Page 205
Chapter 6 SQL and JDBC......Page 206
Schemas......Page 207
Table Creation......Page 208
Column Constraints......Page 209
Keys......Page 210
Data Insertion and Modification......Page 211
Data Retrieval......Page 213
Operators......Page 214
Retrieving Records from Multiple Tables......Page 215
Sequences......Page 216
Stored Procedures......Page 217
Connecting to the Database......Page 219
Connection Object......Page 220
Retrieving Data......Page 221
PreparedStatement......Page 224
Insert into a LONG Column......Page 227
CallableStatement......Page 229
Transactions in JDBC......Page 231
Some Practical Examples......Page 234
Some Useful Classes and Interfaces in the Java.sql Package......Page 243
Introduction......Page 246
Data Interchange with an XML Document......Page 248
Document Type Definitions (DTDs)......Page 250
Client-Side Usage......Page 251
Server-Side Usage......Page 253
Some Practical Examples......Page 255
References......Page 268
PART: III......Page 270
Chapter 8 Credit Card Verification......Page 272
Card Authorization URLs......Page 273
Third-Party APIs......Page 276
Security......Page 278
Some Hints on Making the Applications Secure......Page 284
Performance......Page 286
PART: IV......Page 290
Inventory Management System......Page 292
Profile Management System......Page 297
Ordering Management System......Page 299
Conclusion......Page 302
Inventory Management System......Page 304
Ordering System......Page 311
Profile Management System......Page 320
Shipping Management System......Page 325
Reporting System......Page 327
Description of the Utilities......Page 332
Connection-Pooling Utility......Page 333
Authenticator......Page 337
Email-Sending Utility......Page 339
HTML Template Utility......Page 340
High-Level Description......Page 344
Detailed Description......Page 348
HTML Files in Document Root......Page 361
Other HTML Files and Templates......Page 363
High-Level Description......Page 366
Detailed Description......Page 369
Document Root HTML Files......Page 378
Other HTML Files and Templates......Page 380
High-Level Description......Page 382
Detailed Description......Page 387
Document Root HTML Files......Page 399
Other HTML Files and Templates......Page 406
PART: V......Page 408
High-Level Description......Page 410
Detailed Description......Page 412
Other HTML Files and Templates......Page 416
High-Level Description......Page 418
Detailed Description......Page 421
Other HTML Files and Templates......Page 427
Installation......Page 430
Troubleshooting......Page 431
Configuration......Page 432
Installation......Page 433
Configuration......Page 435
Utilities......Page 437
Troubleshooting......Page 438
Utilities......Page 439
JavaMail......Page 440
Installation......Page 442
Inventory Management System......Page 448
Ordering Management System......Page 493
Profile Management System......Page 536
Shipping Management System......Page 578
Reporting System......Page 594
Utilities......Page 620
SQL For Creating Tables and Sequences......Page 625
B......Page 628
D......Page 629
F......Page 630
H......Page 631
J......Page 632
O......Page 633
P......Page 634
S......Page 635
T......Page 637
X......Page 638

Developing E-Commerce Sites: An Integrated Approach [With Extensive Java, Java Script and SQL]
 0201657643, 9780201657647

  • 0 0 0
  • Like this paper and download? You can publish your own PDF file online for free in a few minutes! Sign Up
File loading please wait...
Recommend Papers