ad

MSc-I Semester-II (Computer Science) CC-202: Advanced Java MSc (Choice Based Credit System) Tobeimplementedfromtheacademicyear20192020External Marks-80 Internal Marks -20 Theory-04 hrs. /week ___________________________________________________________________________

Course Objectives: 1)The student will be able to develop distributed business applications, develop web pages using advanced server-side programming through servlets and Java server pages. 2)Demonstrate approaches for performance and effective coding 3)Develop Java client/server applications. 4)Develop distributed applications using RMI 5)Develop component-based Java software using JavaBeans 6)Develop server side programs in the form of servlet 7)Understand the multi-tier architecture of web-based enterprise applications using Enterprise JavaBeans (EJB) ,use Struts frameworks, which gives the opportunity to reuse the codes for quick development and map Java classes and object associations to relational database tables with Hibernate mapping files ___________________________________________________________________________

Unit -1 (15 Hrs) Overview of Java programming, Java Servlets: Servlet basics, servlet life cycle , Generic and HTTP servlets, The Servlet API, javax.servlet and javax.servlet.http package, session tracking using session and cookies, web deployment descriptor, web.xml. Remote Method Invocation–Introduction, architecture, defining remote objects, creating stubs and skeleton, object serialization, dynamically loaded classes, RMI activation, registering remote objects, marshaled objects.

Unit-II (15 Hrs) Java Database Connectivity.JDBCoverview,Architecture, Types of JDBC Drivers, DriverManager class, database connection statements,Resultset, transaction, Metadata and Aggregate functions , callable statements, Connection to various back ends. Java Server Pages (JSP): Introduction to JSP tags and directive, Request String, User Sessions, Cookies,Session objects.

Unit-III (15 Hrs)Java Beans: Basics of designing JavaBeans, Java Bean design patterns, creating and using properties, using events to communicate with other components.Enterprise Java Bean: Preparing a Class to be a JavaBean, Creating a JavaBean, JavaBean Properties,Types of beans, Stateful Session bean, Stateless Session bean, Entity bean

 Unit –IV (15 Hrs)Struts Framework: An introduction to Struts, building a simple struts application. Action Servlet, Model, view and Controller layers, validator, declarative exception handling, Introduction to struts tag libraries and struts configuration files. Spring and Hibernate: Spring API libraries, Designing spring applications. Spring persistence using JPA. Spring web flow, Using spring MVC to build web pages. Integrating and configuring hibernate. Building a simple application. References:- 1.Java 2 Complete Reference - (Tata McGraw Hill) 2.Java server pages 3.Java 2EE – Ivan Bayross (PHI) 4.Java 2 Black Book –(DreamTech) 5.Orfali, "The essential Distributed Object Survival Guide". 6.Valesky, "Enterprise Java Beans", Addison Wesley. 7.A Complete Reference Struts (Second Edition) - JamesHomes. Tata McGraw-Hill Edition. 8. Struts 2 - Black Book. (Second Edition). Kogent Solutions Inc. dreamtech press.