Skip to content
VUBuddy

CS506 Highlighted Handouts by Masters

Web Design and Development PDF 7 MBUpdated 23 Oct 2026
Highlighted handout CS506 Highlighted Handouts by Masters PDF 7 MB
vubuddy.com
Type
Highlighted handout
Course
CS506 Web Design and Development
Size
PDF 7 MB
Updated
23 Oct 2026
Free download 0 of 3 used today
Download free · 7 MB

You get 3 free files a day on the website. Add the Chrome extension for 30 a day.

Unlimited downloads in the Android app Get it free on Google Play

Preview text

Text from pages 2, 3, 4 of 485. Download the file for all 485 pages.

Lecture 3: Learning Basics ................................................................................................................................. 19

Lecture 4: Object Oriented Programming ......................................................................................................... 28

Lecture 5: Inheritance ....................................................................................................................................... 38

Lecture 6: Collections ........................................................................................................................................ 45

Lecture 7: Intro to Exceptions ........................................................................................................................... 54

Lecture 8: Streams ............................................................................................................................................ 68

Lecture 9: Abstract Classes and Interfaces ....................................................................................................... 82

Lecture 10: Graphical User Interfaces ............................................................................................................... 88

Lecture 11: Event Handling ............................................................................................................................. 103

Lecture 12: More Examples of Handling Events ............................................................................................. 113

Lecture 13: Adapter Classes ............................................................................................................................ 118

Lecture 14: Java Database Connectivity .......................................................................................................... 129

Lecture 15: More On JDBC ................................................................................................................................. 137

Lecture 16: Result Set ...................................................................................................................................... 143

Lecture 17: Meta Data ...................................................................................................................................... 156

Lecture 18: Java Graphics ................................................................................................................................ 165

Lecture 19: How to Animate? ......................................................................................................................... 174

Lecture 20: Applets ......................................................................................................................................... 181

Lecture 21: Socket Programming ....................................................................................................................... 193

Lecture 22: ....................................................................................................................................................... 202

Lecture 23: Multithreading ............................................................................................................................. 209

Lecture 24: More on Multithreading .............................................................................................................. 220

Lecture 25: Web Application Development .................................................................................................... 231 Lecture 26: Java Servlets ................................................................................................................................. 245

Lecture 27: Creating a Simple Web Application in Tomcat ............................................................................. 258

Lecture 28: Servlets Lifecycle .......................................................................................................................... 267

Lecture 29: More on Servlets .......................................................................................................................... 278

Lecture 30: Dispatching Requests ................................................................................................................... 287

Lecture 31: Session Tracking ........................................................................................................................... 297

Lecture 32: Session Tracking 2 ........................................................................................................................ 308

Lecture 33: Address Book Case Study Using Servlets ..................................................................................... 322

Lecture 34: Java Server Pages ........................................................................................................................... 334

Lecture 35: JavaServer Pages .......................................................................................................................... 341

Lecture 36 ........................................................................................................................................................ 349

Lecture 37: JSP Action Elements and Scope .................................................................................................... 361

Lecture 38: JSP Custom Tags ........................................................................................................................... 375

Lecture 39: MVC + Case Study ........................................................................................................................ 389

Lecture 40: Model 2 Architecture MVC .......................................................................................................... 404

Lecture 41: Layers and Tiers ............................................................................................................................ 427

Lecture 42: Expression Language .................................................................................................................... 443

Lecture 43: JavaServer Pages Standard Tag Library (JSTL) .............................................................................. 461

Lecture 44: Client Side Validation & JavaServer Faces (JSF) ........................................................................... 472

Lecture 45: JavaServer Faces .......................................................................................................................... 481 This handout is a traditional introduction to any language features. You might not be able to comprehend some of the features fully at this stage but don’t worry, you’ll get to know about these as we move on with the course.

1.1 Design Goals of Java

The massive growth of the Internet and the World-Wide Web leads us to a completely new way of looking at development of software that can run on different platforms like Windows, Linux and Solaris etc.

1.1.1 Right Language, Right Time

  • Java came on the scene in 1995 to immediate popularity.
  • Before that, C and C++ dominated the software development o compiled, no robust memory model, no garbage collector causes memory leakages, not great support of built in libraries
  • Java brings together a great set of "programmer efficient" features o Putting more work on the CPU to make things easier for the programmer.

1.1.2 Java - Buzzwords (Vocabulary)

  • From the original Sun Java whitepaper: " Java is a simple, object-oriented, distributed, interpreted, robust, secure, architecture-neutral, portable, high-performance, multi- threaded, and dynamic language."
  • Here are some original java buzzwords.

1.1.3 Java -- Language + Libraries

  • Java has two parts. o The core language -- variables, arrays, objects The Java Virtual Machine (JVM) runs the core language The core language is simple enough to run on small devices phones, smart cards, PDAs. o The libraries Java includes a large collection of standard library classes to provide "off the shelf" code. (Useful built-in classes that comes with the language to perform basic tasks) Example of these classes is String, ArrayList, HashMap, StringTokenizer (to break string into substrings), Date ... Java programmers are more productive in part because they have access to a large set of standard, well documented library classes.
All CS506 files →
CS506 Web Design and Development All CS506 handouts, past papers, quizzes and MCQs in one place. Open course page

Get more out of VUBuddy, for free

Android app Free on Google Play
  • Unlimited downloads
  • The explanation behind every MCQ answer
  • Study offline on slow data
Get the Android app
Chrome extension Free on the Chrome Web Store
  • 30 downloads a day instead of 3
  • Sign in and buy Pro Semester here
Add to Chrome

One Pro Semester membership works in both the extension and the app.