COMP 321 Week 1. Application Server Programming Introduction to server-based programming using an object-oriented approach You will learn and reflect.

Slides:



Advertisements
Similar presentations
CSS446 Spring 2014 Nan Wang. 2 Instructor Instructors: –Nan Wang Office: TEC 232 Phone: (601) Meeting time and location:
Advertisements

SW381: Web Applications Development Prerequisite: SW211 (Introduction to Software Engineering) Instructor: Dr. Mohammad Anwar Hossain Office: Room 2058.
Lecture 0: Course Overview
Problem Solving 6 GUIs and Event Handling ICS-201 Introduction to Computing II Semester 071.
Chapter 4 (Horstmann’s Book) Interface Types and Polymorphism: Graphics, Timer, Animation Hwajung Lee.
JAVA API (GUI) Subject:T0934 / Multimedia Programming Foundation Session:1 Tahun:2009 Versi:1/0.
Welcome to Physics 2025! ( General Physics Lab 2 - Spring 2013)
1 Frameworks. 2 Framework Set of cooperating classes/interfaces –Structure essential mechanisms of a problem domain –Programmer can extend framework classes,
General information CSE 230 : Introduction to Software Engineering
CMSC 132: Object-Oriented Programming II
The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL Adrian Ilie COMP 14 Introduction to Programming Adrian Ilie Summer Session II, 2005 MTWRF 9:45-11:15 am.
CMSC 132: Object-Oriented Programming II Nelson Padua-Perez William Pugh Department of Computer Science University of Maryland, College Park.
CSc 160 Overview of Fundamentals of Computer Programming II Spring (SO1) 2004.
COMP 14 Introduction to Programming Miguel A. Otaduy Summer Session I, 2004 MTWRF 9:45-11:15 am Sitterson Hall 014.
CSC 171 – FALL 2004 COMPUTER PROGRAMMING LECTURE 0 ADMINISTRATION.
COMP 110 Introduction to Programming Mr. Joshua Stough August 22, 2007 Monday/Wednesday/Friday 3:00-4:15 Gardner Hall 307.
CS 112 GUI 06 May 2008 Bilkent. Java GUI API Containers: ◦ contain other GUI components. E.g, Window, Panel, Applet, Frame Dialog. Components: ◦ Buttons,
COMP 14 – 02: Introduction to Programming Andrew Leaver-Fay August 31, 2005 Monday/Wednesday 3-4:15 pm Peabody 217 Friday 3-3:50pm Peabody 217.
Object-Oriented Enterprise Application Development Course Introduction.
Web Technologies – CS381 Bogdan L. Vrusias 22 January 2004.
UNIT-V The MVC architecture and Struts Framework.
© 2004 Goodrich, Tamassia CS2210 Data Structures and Algorithms Lecture 1: Course Overview Instructor: Olga Veksler.
Web based ENC0020 orientation Irene Gilliam Orientation agenda 1. INTRODUCTION AND COURSE INFORMATION LOCATION 2. HOW TO USE THE PACING (LOCATED IN ‘COURSE.
Advanced Java New York University School of Continuing and Professional Studies.
Welcome to CS 3260 Dennis A. Fairclough. Overview Course Canvas Web Site Course Materials Lab Assignments Homework Grading Exams Withdrawing from Class.
COMP Introduction to Programming Yi Hong May 13, 2015.
General Physics1 Welcome to Phys 130! Blackboard blackboard.siena.edu.
CSS 404 Internet Concepts. XP Objectives Developing a Web page and a Website Working with CSS (Cascading Style Sheets) Web Tables Web Forms Multimedia.
CPS120: Introduction to Computer Science Fall: 2002 Instructor: Paul J. Millis.
Course Introduction Software Engineering
CST 229 Introduction to Grammars Dr. Sherry Yang Room 213 (503)
Tutorial 7 Creating Forms. Objectives Session 7.1 – Create an HTML form – Insert fields for text – Add labels for form elements – Create radio buttons.
ICS 102 Computer Programming University of Hail College of Computer Science & Engineering Computer Science and Software Engineering Department.
General Physics Lecture 1 1 Welcome to Phys 130! Blackboard blackboard.siena.edu.
1 Object Oriented Design COP 3331 Spring 2011 MWF 11:50 AM – 12:40 PM CHE 103 Instructor:Dr. Rollins Turner Dept. of Computer Science and Engineering ENB.
1 Software Systems Development CEN Spring 2011 TR 12:30 PM – 1:45 PM ENB 116 Instructor:Dr. Rollins Turner Dept. of Computer Science and Engineering.
CSCI 51 Introduction to Computer Science Dr. Joshua Stough January 20, 2009.
Welcome to CS 115! Introduction to Programming. Class URL Write this down!
ICS102: Introduction To Computing King Fahd University of Petroleum & Minerals College of Computer Science & Engineering Information & Computer Science.
Data Warehousing/Mining 1 Data Warehousing/Mining Comp 150DW Course Overview Instructor: Dan Hebert.
Welcome to COMP 250 Introduction to Computer Science! Mathieu Blanchette.
Final Exam Review Session 14 LBSC 790 / INFM 718B Building the Human-Computer Interface.
CS 210 DATA STRUCTURES AND ALGORITHIMS Fall 2006.
Introduction Fall 2001 Foundations of Computer Systems Prerequisite:91.166* or * Section A Instructor: Dr. David Hutchinson Office:
ICS202 Data Structures King Fahd University of Petroleum & Minerals College of Computer Science & Engineering Information & Computer Science Department.
1 CAP 4063 Web Application Design Summer 2012 TR 9:30 – 11:40 PM CHE 102 Instructor:Dr. Rollins Turner Dept. of Computer Science and Engineering ENB 336.
CS1101: Programming Methodology
CMSC 2021 CMSC 202 Computer Science II for Majors Spring 2002 Sections Ms. Susan Mitchell.
CMSC 2021 CMSC 202 Computer Science II for Majors Spring 2001 Sections Ms. Susan Mitchell.
Chapter 27 Getting “Web-ified” (Web Applications) Clearly Visual Basic: Programming with Visual Basic nd Edition.
Course Info Instructor U.T. Nguyen Office: CSEB Office hours: Tuesday, 14:30-15:30 Thursday, 12:00-12:45 By.
Data Structures and Algorithms in Java AlaaEddin 2012.
Welcome to Accounting II Professor Kris Friestad Unit 1 Seminar.
CENG 213 Data Structures1 Nihan Kesim Çiçekli Department of Computer Engineering Middle East Technical University.
Java Programming, 3e Concepts and Techniques Chapter 1 Section 56 – An Introduction to Java.
Section 10.1 Define scripting
CS 274: Internet Programming
CENG 213 Data Structures Nihan Kesim Çiçekli
Computer Engineering Department Islamic University of Gaza
CSc 020: Programming Concepts and Methodology II
March 27 – Course introductions; Adts; Stacks and Queues
CENG 213 Data Structures Dr. Cevat Şener
Entering Final Grades Grade submissions are due within ten business days of your final class. Grades are entered into My Access, found by clicking the.
Introduction to Data Structures
CGS 3763 Operating Systems Concepts Spring 2013
Course Overview CS 4640 Programming Languages for Web Applications
Computer Engineering Department Islamic University of Gaza
Computer Engineering Department Islamic University of Gaza
Course Overview CS 4640 Programming Languages for Web Applications
Presentation transcript:

COMP 321 Week 1

Application Server Programming Introduction to server-based programming using an object-oriented approach You will learn and reflect on two- and three-tier software architectures, separation of responsibility, design patterns, and web frameworks Swing-based GUI clients, XHTML clients, XML, JDBC, Java Server Pages and Java Servlets used as the implementation mechanisms for Model 1 and Model 2 web architectures

Prerequisites: Database Management Systems (COMP/ITEC/MIS 281 or COMP/ITEC/MIS 380) Object-Oriented Data Structures & Algorithms II (COMP 311) Survey of Computer Languages (COMP 205) or Web Design & Implementation (COMP/DCOM/ ITEC 234)

Course Outcomes Design, code, test, and debug a rich-client GUI application Use a connector to persist objects in a relational database Apply object-oriented techniques to abstract database interactions Compare and contrast Model 1 and Model 2 web application architectures

Course Outcomes (cont’d) Implement object-oriented model, view, and controller components Design, code, test, and debug a simple Model 2 web application Recognize and apply the design patterns of Model-View-Controller, Chain of Responsibility, Front Controller, Command, Data Access Object, and Data Transfer Object in object-oriented designs

Textbooks Horstmann, C. (2010). Big Java. (4th ed.). Hoboken, NJ: John Wiley & Sons. ISBN: Basham, B., Sierra, K., & Bates, B. (2008). Head First Servlets and JSP. (2nd ed.). O'Reilly. ISBN:

Attendance Policy You should make every effort to attend the live sessions. If you cannot attend, you are required to watch the recording and submit a 1-page summary A student who has not participated for more than THREE weeks, at any time during the course will receive a failing grade (Z) for the class The student may file a drop form within the appropriate time frame through the office of the Registrar to avoid a failing grade

Weekly Activities Check course announcements and bulletin board postings Read the associated sections from the text books and key points Complete the weekly learning activities Work on any scheduled lab assignments

Weekly Activities Exam Lab Discussion Learning activities Readings

Points Breakdown Pct (%) TypeCountPointsTotal Homeworks Midterm Exams Final Exam

Submission & Return Policy Late assignments can receive a maximum of 75% of total points Solutions will be reviewed in class the week after the due date Once the solution is reviewed, late assignments can no longer be submitted

GUI Components Components (buttons, labels, text fields) Containers (also a Component) Layout Managers Events Event Listeners

Components Occupy screen space and provide interaction between the user and your program Examples include push button, label, text field, check boxes, etc. Check out Java 6 API for a full list of components:

Container Classes WindowFrame Dialog (usually modal) Panel (cannot be displayed by itself) Applet (subclass of Panel)

Ellipses, Lines, Text // Draw an ellipse // Draw an ellipse Ellipse2D.Double ellipse = new Ellipse2D.Double(5, 10, 50, 20); Ellipse2D.Double ellipse = new Ellipse2D.Double(5, 10, 50, 20); g2.draw(ellipse); g2.draw(ellipse); // Draw a line // Draw a line Line2D.Double line = new Line2D.Double(20, 35, 100, 105); Line2D.Double line = new Line2D.Double(20, 35, 100, 105); g2.draw(line); g2.draw(line); // Another way to draw a line // Another way to draw a line Point2D.Double from = new Point2D.Double(30, 35); Point2D.Double from = new Point2D.Double(30, 35); Point2D.Double to = new Point2D.Double(110, 105); Point2D.Double to = new Point2D.Double(110, 105); line = new Line2D.Double(from, to); line = new Line2D.Double(from, to); g2.draw(line); g2.draw(line); // Draw a String // Draw a String g2.drawString("Welcome to COMP321!", 10, 200); g2.drawString("Welcome to COMP321!", 10, 200);

Color, How to Fill Shapes // Using color // Using color Color magenta = new Color(255, 0, 255); Color magenta = new Color(255, 0, 255); g2.setColor(magenta); g2.setColor(magenta); g2.draw(ellipse); g2.draw(ellipse); // Filling a shape with color // Filling a shape with color g2.setColor(Color.GREEN); g2.setColor(Color.GREEN); g2.fill(ellipse); g2.fill(ellipse);