|
|
||
| 1. Client-Server programming |
|
|
|
||
|
|
||
| 2. Classic 3 tier model |
|
|
|
||
|
|
||
| 3. Client-side options |
|
|
|
||
|
|
||
| 5. Server-side options |
|
|
|
||
|
|
||
| 6. Standard Servers and ports |
|
|
|
||
|
|
||
| 7. Connecting to a server |
|
|
|
||
|
|
||
| 8. The SMTP protocol 'by hand' |
|
|
|
||
|
|
||
| 9. Example: emailer |
|
|
|
|
||
|
|
||
| 10. 'Thin Client' solutions |
|
|
|
||
|
|
||
| 11. Advantages of server-side work |
|
|
|
||
|
|
||
| 12. The HTML side of the equation |
|
|
|
||
|
|
||
| 13. HTML input elements |
|
|
|
||
|
|
||
| 14. HTTP Submision |
|
|
|
||
|
|
||
| 15. A sample GET request |
|
|
|
||
|
|
||
| 16. GET and POST requests |
|
|
|
||
|
|
||
| 17. URL Encoding |
|
|
|
||
|
|
||
| 18. CGI - The Common Gateway Interface |
|
|
|
||
|
|
||
| 19. CGI advantages |
|
|
|
||
|
|
||
| 20. CGI disadvantages |
|
|
|
||
|
|
||
| 21. Enter servlets |
|
|
|
||
|
|
||
| 22. The request object |
|
|
|
||
|
|
||
| 23. The response object |
|
|
|
||
|
|
||
| 24. The servlet lifecycle |
|
|
|
||
|
|
||
| 25. init() |
|
|
|
||
|
|
||
| 26. service() |
|
|
|
||
|
|
||
| 27. doGet() |
|
|
|
||
|
|
||
| 28. doPost() |
|
|
|
||
|
|
||
| 29. destroy() |
|
|
|
||
|
|
||
| 30. Example: Password protection |
|
|
|
|
||
|
|
||
| 31. servlet advantages |
|
|
|
||
|
|
||
| 32. servlet disadvantages |
|
|
|
||
|
|
||
| 33. Hello world servlet |
|
|
|
|
||
|
|
||
| 34. Hello user servlet |
|
|
|
|
||
|
|
||
| 35. Password servlet |
|
|
|
|
||
|
|
||
| 36. Database servlet |
|
|
|
|
||
|
|
||
| 37. Java Server Pages |
|
|
|
||
|
|
||
| 38. Java Beans |
|
|
|
||
|
|
||
| 39. JSP Demos |
|
|
|
|
||
HELO ds9.cs.iupui.edu
250 klingon.cs.iupui.edu Hello ds9 [134.68.140.211], pleased to meet you
MAIL from: aharris@cs.iupui.edu
250 aharris@cs.iupui.edu... Sender ok
RCPT to: aharris@cs.iupui.edu
250 aharris@cs.iupui.edu... Recipient ok
DATA
354 Enter mail, end with "." on a line by itself
subject: THis is a bogus piece of mail
.
250 OAA04502 Message accepted for delivery
quit