ADVANCED JAVA AND J2EE
SEMESTER – VI
Course Code-18CS644
CIE Marks-40
Number of Contact Hours/Week-3:0:0
SEE Marks-60
Total Number of Contact Hours-40
Exam Hours-03
CREDITS –3
Course Learning Objectives: This course (18CS644) will enable students to:
Identify the need for advanced Java concepts like Enumerations and Collections Construct client-server applications using Java socket API
Make use of JDBC to access database through Java Programs
Adapt servlets to build server side programs
Demonstrate the use of JavaBeans to develop component-based Java software
Module 1
Enumerations, Autoboxing and Annotations(metadata): Enumerations, Enumeration fundamentals, the values() and valueOf() Methods, java enumerations are class types, enumerations Inherits Enum, example, type wrappers, Autoboxing, Autoboxing and Methods, Autoboxing/Unboxing occurs in Expressions, Autoboxing/Unboxing, Boolean and character values, Autoboxing/Unboxing helps prevent errors, A word of Warning. Annotations, Annotation basics, specifying retention policy, Obtaining Annotations at run time by use of reflection, Annotated element Interface, Using Default values, Marker Annotations, Single Member annotations, Built-In annotations.Textbook 1: Lesson 12
RBT: L1, L2, L3
Full Notes Given Below
Module 2
The collections and Framework: Collections Overview, Recent Changes to Collections, The Collection Interfaces, The Collection Classes, Accessing a collection Via an Iterator, Storing User Defined Classes in Collections, The Random Access Interface, Working With Maps, Comparators, The Collection Algorithms, Why Generic Collections?, The legacy Classes and Interfaces, Parting Thoughts on Collections.Text Book 1: Ch.17
RBT: L1, L2, L3
Full Notes Given Below
Module 3
String Handling :The String Constructors, String Length, Special String Operations, String Literals, String Concatenation, String Concatenation with Other Data Types, String Conversion and toString( ) Character Extraction, charAt( ), getChars( ), getBytes( ) toCharArray(), String Comparison, equals( ) and equalsIgnoreCase( ), regionMatches( ) startsWith( ) and endsWith( ), equals( ) Versus == , compareTo( ) Searching Strings, Modifying a String, substring( ), concat( ), replace( ), trim( ), Data Conversion Using valueOf( ), Changing the Case of Characters Within a String, Additional String Methods, StringBuffer , StringBuffer Constructors, length( ) and capacity( ), ensureCapacity( ), setLength( ), charAt( ) and setCharAt( ), getChars( ),append( ), insert( ), reverse( ), delete( ) and deleteCharAt( ), replace( ), substring( ), Additional StringBuffer Methods, StringBuilderText Book 1: Ch 15
RBT: L1, L2, L3
Full Notes Given Below
Module 4
Background; The Life Cycle of a Servlet; Using Tomcat for Servlet Development; A simple Servlet; The Servlet API; The Javax.servlet Package; Reading Servlet Parameter; The Javax.servlet.http package; Handling HTTP Requests and Responses; Using Cookies; Session Tracking. Java Server Pages (JSP): JSP, JSP Tags, Tomcat, Request String, User Sessions, Cookies, Session ObjectsText Book 1: Ch 31 Text Book 2: Ch 11
RBT: L1, L2, L3
Full Notes Given Below
Module 5
The Concept of JDBC; JDBC Driver Types; JDBC Packages; A Brief Overview of the JDBC process; Database Connection; Associating the JDBC/ODBC Bridge with the Database; Statement Objects; ResultSet; Transaction Processing; Metadata, Data types; Exceptions.Text Book 2: Ch 06
RBT: L1, L2, L3
Important Links:
Course Outcomes: The student will be able to :
Interpret the need for advanced Java concepts like enumerations and collections in developing modular and efficient programs Build client-server applications and TCP/IP socket programs
Illustrate database access and details for managing information using the JDBC API
Describe how servlets fit into Java-based web application architecture
Develop reusable software components using Java Beans
Question Paper Pattern:
The question paper will have ten questions. Each full Question consisting of 20 marks
There will be 2 full questions (with a maximum of four sub questions) from each module.
Each full question will have sub questions covering all the topics under a module.
The students will have to answer 5 full questions, selecting one full question from each module.
Textbooks:
1. Herbert Schildt: JAVA the Complete Reference, 7th/9th Edition, Tata McGraw Hill, 2007.2. Jim Keogh: J2EE-TheCompleteReference, McGraw Hill, 2007.
0 Comments