0% found this document useful (0 votes)
72 views

22517-Advanced Java Programming 100519

Uploaded by

Shinde Sarika
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
72 views

22517-Advanced Java Programming 100519

Uploaded by

Shinde Sarika
Copyright
© © All Rights Reserved
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 10
Advanced Java Programming Course Cove: 22517 Program Name : Computer Engineering Program Group Program Code: CO/CM/IF/CW Semester : Fifth Course Title : Advanced Java Programming Course Code 222517 1. RATIONALE, Java technology is widely used for web applications development. Based on the object oriented concepts and core Java concepts, this course will equip the students with the required knowledge and skill of object oriented programming approach needed for the development of robust, powerful web applications. Through this course students will get hands-on experience on GUI Technologies viz. AWT and Swings, event handling mechanisms and network programming, The course also gives coverage to various web applications aspects like Database Interaction, server side components and servlets. 2, COMPETENCY “The aim of this course is to help the student to attain the following industry identified competency through various teaching leaning experiences: + Develop web and stand-alone applications using advanced concepts of Java. 3. COURSE OUTCOMES (COs) ‘The theory, practical experiences and relevant soft skills associated with this course are to be taught and implemented, so that the student demonstrates the following industry oriented COs associated with the above mentioned competency: a). Develop programs using GUI Framework (AWT and Swing). b) Handle events of AWT and Swings components, ©) Develop programs to handle events in Java Programming 4) Develop Java programs using networking concepts. e) Develop programs using database, 1) Develop programs using Servlets. 4. TEACHING AND EXAMINATION SCHEME Teaehing Examination Scheme _ | Practical tin] ery Toial Min | Max | Min 31 [2 io | so | 20 (4): Under the theory PA; Out of 30 marks, 10 marks of theory PA are for micro-project assessment (0 facilitate imegration of COs and the remaining 20 marks is the average of 2 esis to be taken during the semester for the assessment of the UOs required for the altainment of the COs Legends: L-Lecture; T ~ Tutorial/Teacher Guided Theory Practice: P -Practical: C ~ Credit, ESE -End Semester Examination; PA - Progressive Assessment. 5. COURSE MAP(with sample COs, PrOs, UOs, ADOs and topies) This course map illustrates an overview of the flow and linkages of the top Advanced Java Programming Course Code: 22517 course, in all domains of learning in terms of the industry/employer identified competency depicted at the centre of this map. Ws Cm te + SOON age ieee “Ata canis * usisiwieie listen 4s Boia aE’ (ee : ae i Mee S ( tee Cee i¢ es 7 Poncel inmate men aiame< sian GS Siiesaeane 2) em ae, ee {caer Tie vane a y opeinerin Ci i atte CO-Goine oy 7 Pro Petal My CABO AMEARE f YY 5 fotve opie Outcome Outcomes {omainOuconee 9S Figure 1 - Course Map 6. SUGGESTED PRACTICALS/ EXERCISES ‘The practicals in this section are PrOs (i.e. sub-components of the COs) to be developed and assessed in the student for the attainment of the competency. sr. | . , No. Practical Outcomes (PrOs) | Write a program to demonstrate the use of components like Label, 1, | Textfield, TextArea, Button, Checkbox, RadioButton (CheckboxGroup), 2 | Write a program to design a form using the components List and |_| Choice. Write a program to demonstrate the use of Border layout showing four 3. | buttons at four sides of an applet with captions “left”, “right”, “top” and “botton 1g__ | Write a program to design a simple calculator to demonstrate the use of MSBTE ~ Final Copy Dt. 29.03.2019 Page 2 of 9 Advanced Java Progr Course Cok 20517 5 ie | Approx. oe Practical Outcomes (PrOs) Unit) ire. No. No. . Required Use GridBag layout to write a program to create a NUM pad on 5. 1 02 keyboard Use of Cardlayout to write a program to create a two-level card deck 6. 1 02 that allows the user to select an operating system. Write a program using AWT to create a menubar where menubar contains menu items such as File, Edit, View and create a submenu I 02* under the File menu: New and Open, | g,_ | Write a program using swing to display a SerollPane and JeomboBox | 4, | gy an Japplet with the items ~ English, Marathi, Hindi, Sanskrit. 9, | Write a program to ereate a Jee and recognize mouse clicks on itinan | 47 | gpe | Japplet 10, | Write a program to create a JTable on JApplet Window. wl 02 11, | Write a program to launch a progress bar on button click. mw | oo 12, | Write a program to accept keyboard input to show the pressed/released | 7 02* status of each key on Applet Window. 13, | Write a program to demonstrate use of some special keys (for example: |, | 02* F1, pgdown etc.) on Applet Window using KeyEvent class. 14, | Write a program to demonstrate MouseEvents on Applet Window. im) 02 |", < | Write a program to demonstrate MouseMotionEvents on Applet mn 02 |! | window. —_ | Write a program to perform basic arithmetic operations on two 02 16, | numbers using TextField and Button to handle ActionEvent in an m1 |__| applet. - - - 17, | Write a program to select checkbox item by using IemEvent class in |) 02" |__| an applet. —_ 1g, | Write a program that ereates the user name and password sereen using |), | 02" TexiEEvent class in an applet. _ | 19, | Write a program to handle window operations like minimize, maximize,| yy, | 02* - | close etc. to handle Window Events. = 20. | Write a program to demonstrate the use of Adapter class, mm) 02 >| ‘Write a program to retrieve hostname and IP Address in InetAddress Vv 02% Is. 99, | Write a program to use URLConnection class and display wl] oF | **: | Gd) Protocol (I) HostName (II) PortNumber (IV) File Name. Write a program (Procedure for Server Program) that demonstrates 93, | TCPAP based communication between Client and Server. Client senda | jy | gye message to Server and Server replies back the acknowledgement of __| received message to Client Write a program (Procedure for Client Program) that demonstrates aq, | TEPAP based communication between Client and Server, Client senda | yy | gy *4- | message to Server and Server replies back the acknowledgement of __| received message to Client. a Write a program (Procedure for Server Program) that demonstrates 9g, | UDP based communication between Client and Server. Client send a *- | message to Server and Server replies back the acknowledgement of received message to Client. 2g, | Write a program (Procedure for Client Program) that demonstrates 2° | UDP based communication between Client and Server. Client send a MSBTE ~ Final Copy Dt. 29.03.2019 Page 3 of 9 Advanced Jaa Peogrn Course Code: 22517 _ | Approx. = Practical Outcomes (PrOs) Unit Hrs. 0. No. : po _ Required Tmessage to Server and Server replies back the acknowledgement of received message to Client. 27. | Write a program to establish successful connection to database. | _W | 02" Write a program to send data to Table (for ex. “Student” table in 28. | database using prepared statement and retrieve data from same Table | V | 02* “Student” and display on screen.(Part-I) Write a program to send data to Table (for ex. “Student” table ) in 29. | database using prepared statement and retrieve data from same Table | V | 02* “Student” and display on screen.(Part-II) 30, | Write a Servet ( Procedure for Client side) to display the username | yy | 02" * | and password accepted from the client. _ pet 31, | Write a Servlet ( Procedure for Server side) to display the username | yy | 02* * | and password accepted from the client. as 32. | Write a Servlet for demonstrating the concept of Session and Cookies. | VI 2 Total 64 Note iA suggestive list of PrOs is given in the above table. More such PrOs can be added to attain the COs and competency. A judicial mix of minimum 24 or more practical need to be performed, out of which, the practicals marked as “*’ are compulsory, so that the student reaches the ‘Application Level’ of Bloom's Taxonomy’ as generally required by the industry. ii, It is advisable to conduct 50% of the practicals using ASCII text editor and compilation on command prompt so as to enhance fundamental understanding of basic concepts and syntax. The IDEs must be Introduced at later stage. iti, The ‘Process’ and ‘Product’ related skills associated with each PrO are to be assessed according 10 a suggested sample given below: x Performance Indicators Weightage in % 1 | Logie Building and Coding 50 2 | Testing and Debugging of the Program 30 3__| Correctness of Program Output. 10 “| 4 | Submission of practical assignment in time 10 Total 100 The above PrOs also comprise of the Following social skills/attitudes which are Affective Domain Outcomes (ADOs) that are best developed through the laboratory/field based experiences: a. Follow safety practices, b, Practice good housekeeping. c. Work asa leader/a team member d. Follow ethical practices. The ADOs are not specific to any one PrO, but are embedded in many PrOs. Hence, the acquisition of the ADOs takes place gradually in the student when s/he undertakes a series of practical experiences over a period of time. Moreover, the level of achievement, according to Krathwohl’s ‘Affective Domain Taxonomy” should gradually incr below: + “Valuing Level” in 1"! year MSBTE — Final Copy Dt.29.03.2019 Page 4 of 9 Advanced Java Programming 7. ‘Organising Level’ in 2"! year and ‘Characterising Level’ in 3 year. Course Code: 22517 MAJOR EQUIPMENT/ INSTRUMENTS REQUIRED ‘The major equipment with broad specification mentioned here will usher in uniformity in conduct of experiments, as well as aid to procure equipment by authorities concerned, Equipment Name with Broad Specifications BrONo 1 [Computer with IDKTS or above , any IDE for Java Programming such as | All Eclipse, Jereator, NetBeans. i 2 | Databases like MySQL, Oracle, MS-Aecess or any other 2728, 29 3 | Apache Tomeat web server version 7 or higher. 30,31, 32 8, _ UNDERPINNING THEORY COMPONENTS The following topics are to be taught and assessed in order to develop the sample UOs given below for achieving the COs to attain the identified competency, More UOs could be added. Unit Outcomes (UOs) (in cognitive domain) Topics and Sub-topies Abstract, Windowing Toolkit (AWT) Unie Swings MSBTE— lia. Develop Graphical user interface (GUI) programs using AWT components for the given problem, . Create Frame window with the specified AWT components. Arrange the GUI components using specified layout manager. |. Develop a program using menu and Dialog Boxes for the given problem, Pa. Differentiate between AWT and Swing on the given aspect. Develop Graphical user interface (GUD) programs using swing components for the given problem. c. Use the given type of but Java based GUI. Develop Graphical user interface (GUI) programs using advanced swing components for the given problem, b. 1 Copy De. 29.03.2019 Page 5 of 9 ‘Component, container, window, frame, panel Creating windowed programs and applets. AWT controls and layout managers: use of AWT controls: labels, buttons, checkbox, checkbox group, scroll bars, text field, text area. Use of layout managers: flowL ayout, borderLayout, gridLayout, cardLayout, gridbagLayout, menubars, menus, dialog boxes, file dialog. Introduction to swing: Swing features, Difference between AWT and Swing. Swing Components: JApplet, Icons and Labels, Text Fields, Combo Boxes. Buttons: The JButton, Check Boxes, Radio Buttons. Advanced Swing Components: Tabbed Panes, Scroll Panes, Trees, ‘Tables, Progress bar, tool tips. MVC Architecture. Advanced Java Programing | Unit Unit-M 3a Event Handling . | ce Sd. Unit IV Aa Networking Basies Hb. fic. he. Unit-V_ 5a, Interacting with Database 5b. 5c, 5d Unit-VI ba, Servlets bbb. Unit Outcomes (UOs) _{in cognitive domain) Use delegation event model to develop event driven program for the given problem. . Use relevant AWT/ swing component(s) to handle the given event. Use Adapter classes in Java program to solve the given problem. Use inner classes in java program to solve the given problem, Use InetAddtess class to know the IP address of the given host name. Use URLConneetion classes to read and write data to the specified resource referred by the given URL. Develop program for Client/ Server communication through ‘TCPAP Server sockets for the given problem. Write program to illustrate the Client/Server communication using datagram protocol for the given problem. Choose JDBC or ODBC depending on the given application requirement. Explain function of the given tier of JDBC architecture for two tier/three tier models. Use relevant type of JDBC Driver for the specified environment Elaborate steps with example to establish connectivity with the specified database, Explain function of the given method of Servlet life eyele, Use relevant Generic servlet to develop given web based application: 31 3.2 Event classes: 33 Course Code: 22517 ‘Topics and Sub-topies The delegation Event Model: Event sources, Event listeners The Action Event class, the Item Event class, the Key Event class, the Mouse Event class, the Text Event class, the Window Event class, Adapter classes. 3.4. Inner classes. 35 at 42 43 44 43 4.6 4.7 51 Event listener interfaces: ‘ActionListener Interface, ItemL istener Interface, KeyListener Interface, MouseListener Interface, MouseMotion Interface, TextListener Interface, WindowsListener Interface. Socket Overview: ClienUServer , Reserved Sockets , Proxy Servers , Internet Addressing, Java and the Net: The Networking Classes and interfaces. InetAddress : Factory Methods , Instance Methods. ‘TCP/IP Client Sockets : Whois URL: Format, The URI Class. URLConnection : TCP/IP Server Sockets Datagrams : Datagram Packet , Datagram Server and Client . Introduction to JDBC, ODBC 5.2 JDBC Architecture: Two tier and 33 5.4 Driver three tier models Types of JDBC Drivers Interfaces and Driver Manager class: Connection InterfacenStatement Interface, | Prepared Statement Interface, | ResultSet Interface 5.5 The essential JDBC Program 1 | 6.1 The Life Cycle of a Servlet 6.2 Creating simple Servlel | API, javax.serviet P. Interface, ServletConfi | ServletContext Intertag6/ MSBTE — Final Copy Dt. 29.03.2019 Page 6 of 9 ‘Advanced Java Programming Course Code: 22517 Unit Unit Outeomes (UOs) Topics and Sub-topies (in cognitive domain) fe. Use relevant HTTP servlet to ServletRequest Interface, develop specified web based ServletResponse Interface, application GenerieServiet Class fa. Develop servlet for cookies and | 6.3 The javax.servlet.http session tracking to implement Package:HupServletRequest the given problem. Interface , HtpServletResponse Interface, HtipSession Interface , Cookie Class, HttpServlet Class, HutpSessionEvent Class , HitpSessionBindingk:vent Class. 6.4 Handling HTTP Requests and Responses Handling HTTP GET RequestsHandling HTTP POST Requests, 6.5 Cookies and Session Tracking. 6.6 Introduction to JSP. Note: To attain the COs and competency, above listed UOs need to be undertaken to achieve the ‘Application Level’ of Bloom's ‘Cognitive Domain Taxonomy’. 9. SUGGESTED SPECIFICATION TABLE FORQUESTION PAPER DESIGN Unit “Teaching | Distribution of Theory Marks Na Unit Title Hous | U A | Total | Moers | Level | Level | Level |_ Marks Abstract Windowing 1 |oeteneaarry 10 o2 | o4 | 06 12 it_| Swings 08 2 | 2 | 0 08 U_| Event Handling 12 o2_|_o4 | 08 4 TV_| Networking 10 o_| 04 | 06 12 V_| Interacting with Database [__12 | 04 [06 12 Vi_| Servlets 12 a2 | 04 | 06 12 Total 64 12 22 36 70 Legends: R=Remember, U=Understand, A~Apply and above (Bloom's Revised taxonomy) Note: This specification table provides general guidelines to assist students for their learning and to teachers to teach and assess students with respect to attainment of LOs. The actual distribution of marks at different taxonomy levels (of R, U and A) in the question paper may vary,from above table. 10, SUGGESTED STUDENT ACTIVITIES Other than the classroom and laboratory learning, following are the suggested student-related co-curricular activities which can be undertaken to accelerate the attainment of the various outcomes in this course: Students should conduct following activities in group and prepare reports of about 5 pages for each activity, also collectirecord physical evidences for their (student’s) portfolio which will be useful for their placement interviews: a) Prepare journals based on practical performed in laboratory. b) Follow coding standards. _ ©) Develop variety of programs to improve the logical skills. SOLE. 4) Develop Application oriented real world programs, MSBTE ~ Final Copy Dt. 29.03.2019 Page 7 of 9 Advanced Java Programming Course Coae: 225 ©) Prepare power point presentation depicting different advanced concepts in Java. i. SUGGESTED SPECIAL INSTRUCTIONAL STRATEGIES (if any) These are sample strategies, which the teacher can use to accelerate the attainment of the various outcomes in this course: a) Massive open online courses (MOOCs) may be used to teach various topics/sub topics. b) ‘L7in item No. 4 does not mean only the traditional lecture method, but different types of teaching methods and media that are to be employed to develop the outcomes. ©) About 15-20% of the topies/sub-topics which is relatively simpler or descriptive in nature is 10 be given to the students for self-directed learning and assess the development of the COs through classroom presentations (see implementation guideline for detail 4) With respect to item No.10, teachers need to ensure to create opportunities and provisions for co-curricular activities ©) Use different Audio Visual media for Concept understanding. £) Guide student(s) in undertaking micro-projects. g) Demonstrate students thoroughly before they start doing the prac h) Observe continuously and monitor the performance of students in Lab. 12. SUGGESTED MICRO-PROJECTS Only one micro-project is planned to be undertaken by a student that needs to be assigned to himvher in the beginning of the semester. In the first four semesters, the micro-project are group-based, However, in the fifth and sixth semesters, it should be preferably be individually undertaken to build up the skill and confidence in every student to become problem solver so that s/he contributes to the projects of the industry. In special situations where groups have to be formed for micto-projects, the number of students in the group should not exceed three. The micro-project could be industry application based, intemet-based, workshop- based, laboratory-based or field-based. Fach micro-project should encompass two or more COs which are in fact, an integration of PrOs, UOs and ADOs. Each student will have to maintain dated work diary consisting of individual contribution in the project work and give a sminar presentation of it before submission. The total duration of the micro-project should not be less than 16 (sixteen) student engagement hours during the course. The student ought to submit micro-project by the end of the semester to develop the industry oriented COs. ‘A suggestive list of micro-projects is given here. Similar micro-projects could be added by the concerned faculty: a) Energy Billing System: Expected to develop bill amount module based on usage of energy consumption b) Medical Store stock Management System: Expected to develop an Inventory module. c) Library book issue Management System. d) Restaurant Management System: Expected to develop a module to place an order and generate bill e) Online Bus Reservation System: Expected to develop 1 icket booking module. Follow the below given guidelines for micro projects: i, Must implement concepts of AWT or SWING and Event Handling, ji, Use JDBC concepts. i Use Servlet. 2019 Page 8 of 9 ‘Advanced ava Programming Course Code: 22517, 13. SUGGESTED LEARNING RESOURCES fa Title of Book Author Publication ‘Complete Reference . Megraw Hill Education, New Delhi "Java Schildt, Herbert ISBN:9789339212094 Java 2 Programming Dreamtech Press, New Delhi 2.| Black Book Holzner, Steven et al. | ISBN 10: 817722655X / ISBN 13: ee ee 9788177226553, Java Server ; Dreamtech Press, New Delhi 3.| Programming Tutorial Sogent Learning ISBN :978-81-7722-937-0 JAVA EE6 Black Book s . Devraj Publications, Mumbai 4,| Advance JAVA, Dr. Rajendra Kawale | RN reer onsss Le. 14, SOFTWARE/LEARNING WEBSITES )_hitps://www.tutorialspoint.com/java )_hittp://nptel.ac.in/courses/106105084/30 €)_ https://www,javatpoint.com/servlet-tutorial (),_https://www.tutorialspoint.com/servlets ©) https://www javatpoint.com/free-java-projects 1) “http://1000projects.org/java-projects.html MSBTE ~ Final Copy Dt. 29.03.2019 Page 9 of 9

You might also like