Home

DPS904 Course Outline

Course Code: DPS904
Course Name: Java Database Connectivity
Offered Date: Fall - 2017 | Other versions
Print Outline
Course Description:
The student will be introduced to connectivity issues that business deals with in today's environment, in creating a GUI front end to a back-end database. In this course students will connect to Oracle database from various back-end environments and will manipulate the data by SQL or database objects. Issues of connectivity across a wide variety of platforms and also through the internet, will be discussed, practiced and implemented.
Credit Status: 1 credit (3 units)
Professional Option for BSD -­ Bachelor of Technology (Software Development)
Prerequisite: BTP400 and BTD310
Mode of Instruction: Three hours interactive lecture per week, and one hour activity-based earning per week (four hours total)
Learning Outcomes:
  • build multi-threaded JSP and Servlet application.
  • decide between various architectural models for developing JSP and Servlet applications.
  • explain the difference between Two-Tier and Three-Tier models as it relates to JDBC
  • understand the details of how and when the Servlet is loaded, methods to receive information and can generate HTML.
  • develop JavaBeans for use with JSP.
  • understand SQLJ and Java Stored Procedures of ORACLE database with internal connection and decide/apply one of those technologies to retrieve data in fasest manner in the J2EE web applications.
  • understand how Servlets can be used for database connectivity.
  • understand Java Web applications and their components: Servlets and JSPs, External classes , JavaBeans , Tag libraries, Configuration files
  • understand Java Web applications and their components:
  • recognize different driver implementations by different
  • analyze the multi-tier architecture of web-based enterprise applications containing JDBC, Servlets and JavaServer Pages (JSP) and design robust J2EE web application by using all these technologies.
  • handle SQL exceptions, perform database updates and handle transactions
  • use the JDBC API to access databases from a Java application or applet
  • understand SQLJ and Java Stored Procedures of ORACLE database with internal connection and decide/apply one of those technologies to retrieve data in fasest manner in the J2EE web applications.
  • utilize various interfaces such as Connection, Statement, ResultSet
  • design and develop J2EE web applications by using Oracle XML Developer's Kit for building dynamic XML pages from the output of SQL queries.
Topic Outline:
  • Accessing the Database with JDBC - 10%
    • Steps for using JDBC to execute a SQL statement. Connecting to different databases.
    • Registering the driver
    • Getting a database connection
    • Executing a SQL statement
    • Handling exceptions
  • Advanced JDBC features - 5%
    • Managing JDBC transactions.
    • Java in the Database, the Oracle JVM and java stored procedures.
    • Transactions by SQLJ.
  • Architecting J2EE Applications - 5%
    • Overall review of J2EE Applications
    • J2EE design patterns
    • MVC Architecture
    • The Model
    • The View
    • The Controller
    • Tomcat Structure and running first simple Tomcat Application
  • Creating the web tier: Servlets - 10%
    • Servlet Lifecycle
    • Handling Input using forms
    • Exception handling
    • Debugging a servlet
    • Creating a servlet in JDeveloper
    • Servlet Mapping
    • Deploying a servlet
  • Access the database with Servlets - 10%
    • Review of JDBC
    • Servlet Connection Types
    • Registering a driver
    • Connection pooling
  • Utilizing additional Servlet techniques - 15%
    • Sending and Retrieving HTTP headers
    • Creating cookies on the client
    • Preserving State in Servlets
    • Servlet filters
    • Event Listeners
    • ServletContext events
    • HttpSession events
  • Maintaining state within J2EE Applications - 10%
    • Sessions in Servlets
    • URL Rewriting
    • HttpSession
    • HttpSessionBindingListener interface
    • Session objects
    • Sessions and events
    • Multi-threading aspects
  • Creating the web tier: JavaServer Pages - 10%
    • JSP Lifecycle
    • Directives
    • Scriptlets
    • Expressions
    • Implicit objects
    • JSP and JavaBeans
    • Creating and reusing a bean
    • JSP XML Documents
  • Modularizing JavaServer Pages Development with Tags - 15%
    • Creating custom tags
    • Creating custom tag libraries
    • The JSP Standard Tag Library (JSTL)
    • Expression Language in JSTL
    • Introduction to Java Server Faces (JSF)
  • Introduction to Oracle and XML - 10%
    • XML essentials.
    • The basic structure in DOM and SAX .
    • Transform XML to XHTML.
    • Extracting data from database
Prescribed Text(s):
  • JavaServer Pages Developer's Handbook by Todd, Szolkowski; ISBN 0-672-32438-5 published by Sams
Reference Material:
  • JDBC API Tutorial and Reference, Second Edition, Java Series ISBN: 0-201-43328-1
  • Core Servlets and JavaServer Pages by Marty Hall (Prentice Hall), ISBN: 0-13-009229-0
  • Java Programming with Oracle JDBC by Donald Bales published by O'Reilly; ISBN: 0-596-00088-X
Supply:
  • None
Promotion Policy:
  • Satisfactorily complete all assignments
  • Pass the final exam
  • Complete ALL assignments and labs
  • Note that 60% is the minimum passing grade.
  • Pass the weighted average of the tests
Grading Policy
A+ 90%  to  100%
A 80%  to  89%
B+ 75%  to  79%
B 70%  to  74%
C+ 65%  to  69%
C 60%  to  64%
D+ 55%  to  59%
D 50%  to  54%
F 0%    to  49% (Not a Pass)
OR
EXC Excellent
SAT Satisfactory
UNSAT Unsatisfactory

For further information, see a copy of the Academic Policy, available online (http://www.senecacollege.ca/academic-policy) or at Seneca's Registrar's Offices.


Evaluation:

Assignments (Minimum 3) 30%
Lab Assignments 10%
Mid-term test 20%
Final Exam 40%
Approved By:
Mary-Lynn Manton
Cheating and Plagiarism:
Each student should be aware of the College's policy regarding Cheating and Plagiarism. Seneca's Academic Policy will be strictly enforced.

To support academic honesty at Seneca College, all work submitted by students may be reviewed for authenticity and originality, utilizing software tools and third party services. Please visit the Academic Honesty site on http://library.senecacollege.ca for further information regarding cheating and plagiarism policies and procedures.
Discrimination and Harassment:
All students and employees have the right to study and work in an environment that is free from discrimination and/or harassment. Language or activities that defeat this objective violate the College Policy on Discrimination/Harassment and shall not be tolerated. Information and assistance are available from the Student Conduct Office at student.conduct@senecacollege.ca.
Accomodation for Students with Disabilities
The College will provide reasonable accommodation to students with disabilities in order to promote academic success. If you require accommodation, contact the Counselling and Disabilities Services Office at ext. 22900 to initiate the process for documenting, assessing and implementing your individual accommodation needs.