0% found this document useful (0 votes)
43 views9 pages

Java Programming Course Outcomes

The document outlines the Advanced Java Programming course for Computer Engineering students, focusing on web application development using Java technologies. It covers competencies such as GUI programming, event handling, networking, and database interaction, with practical outcomes and suggested practical exercises. The course also includes a teaching and examination scheme, major equipment requirements, and a detailed course map linking outcomes to industry competencies.

Uploaded by

samindarchougle
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
43 views9 pages

Java Programming Course Outcomes

The document outlines the Advanced Java Programming course for Computer Engineering students, focusing on web application development using Java technologies. It covers competencies such as GUI programming, event handling, networking, and database interaction, with practical outcomes and suggested practical exercises. The course also includes a teaching and examination scheme, major equipment requirements, and a detailed course map linking outcomes to industry competencies.

Uploaded by

samindarchougle
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Course Code: 2217

Program Name : Computer Engineering Prugram Group


Program Code : CO/CM/IF/CW
Semester : Fifth
Course Title : Advanced Java Programming
Course Code 22517

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 stiidentswill get hands-on experielice
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 InteractlOn, server slde components and servlets.

2. COMPETENCY
The aim of this course is to help the student to attain the following industry identified
cornpetcncy through vat ions teaching learning experiences:
• Develop web and stand-aloneapplications usinqadvanced concepts of Java.

3. COURSE OUTCOMES (COs)


The theory, practical experiences and relevant soft slcills associated with this course are to be
taught and implemented, so that the student demonStlates the following intlustry orientc•‹l
COs associated with the above mentioned competency:
a) Develop piograms using GUI Framework (AWT and Swilag).
b) Handle events of AWT and Swings components.
c) Develop programs to handle events in Java Programming.
ci) Develop JaVa programs uslng networking concepts.
e) Develop programs using database.
f) Develop programs using Servlets.

4. TEACHING AND EXAMINATION SCHEME

Tea c hin g Exa in inatio n Sclie in e


Scheme
Cl-etl it Tlieory Pro ctic:it
( L+T+P)p
L F ESE PA Total USE PA 0 otal
H i s. M ax M in Max Min M ax M in M ax M in h‘1a x Clin [Link] II i it
90
70*# 28 30* 00 100 40 25 #1.0 25 1.0 50 20
M in

5. COURSE MAP(with sample COs, PrOs, UOs, ADOs and topics)


This cotii‘se map illustrates an overview of the how and linkages of the topics rn v
of outcoiiics (details in subsequent sections) to be attained by the sliiclent by chic

0
MSBTE Updated On 13.05.2019 Page 1 of 8
Course Code: 2251.7

course, in all domains of learning in terms of the industry/employer ldentified competency


depicted at the centre of this map.

Figure 1 - Course Map

6. SUGGESTED PRACTICALs/ cxEncISzs


The practicals in this section are PrOs(i.e. sub-components of the COs) to be developed
andassessed in the student for the attainment o1 the competency.

Sr. UnitApprox.
[Link].
No. Practical Outcomes (P rOs)
Re uired
102*
Write a program to demonstrate the rise of MW 1 components like
[Link]. TextArea, Button, Checkbox, RaciioButton etc.
2. Write a program to design a form using the coniponclits List and
1 02*
Choice.
3. Wi ite a programs to design simple calculator with the use of
' 02*
GridLayout
Wi ite a program to create a two—level ciii’d Tech t1i‹it allows the usei to
select coiTlponent of Panel using CardLayotit
5. Write a program using AWT to create a menribai’ where rnenubal
contains mens items such as file, E it ie a c s bi ei

M SBT E — U ptlatcd On 13.05.2019 Piige 2 of' 8


Course Code: 22517

Sr. Approx.
No. Unit
Practical Outcomes (PrOs) Hrs.
No.
Reurged
under the File menu: New and Open.
6. Write a program using swing to display a ScrollPane and 02*
II
JcomboBoxin UJ let with the ltems English, Marathl,
7. Hindi, Sanskrit. 02*
II
8, Write a program to create a Jtree.
II 02
9. Write a plogram to create a 02
II
10. JTable. 02"
III
Write a program to launch a JProgressBar
11. 02*
Write a program to demonstrate status of hey on Applet window such III
12. as KeyPressed, KeyReleased, KeyUp, KeyDown 02*
Wiite a program to demonstrate various mouse events using II
13. MouseListener and MouseMotionListener intei’face 02
Write a program to demonstrate the use of JTextFleld and III
14. JPasswordField uslng Llstener Interface 02*
V

15. Write a program to demonstrate the use of WindowAdapter class. 02"


Write a program to demonstrate the use of lnetAddress class and its In
factory methods.
Write a program to demonstrate the use of URL and URLConnection
class and its methods
16. Write a program to implement chat Server using ServerSocket and IV 02
Socket class.
17. Write a prog1’am to demonstrate use of DataGraiuSocket and IV 02
DataGram Pac1‹et
18. Write a program to inselt and retrieve the data from database using V 02*
JDBC
l9. Write a program to demonstrate the use of PreparedStatement and V 02
ResultSet intei’face
20. Write a program to update and delete a record from a database table, 02
2!
. Write a program to demonstrate the use of HttpServlet as a VI 02
pararrleterized Servlet
22 Write a Servlet program to send username and password using CITM In VI 02*
.
forms and authCl4tlCate the user
23. Write a rogram to create Session using HttpSessioii class VI 02
24. Write a program to implement Session tracking using Cookies. 1 02
MSBTE UpJatcd On T 3.05.20t 9 Pa ge 3 of 8
Ad v unced .Java Progriin4rn ing
Course Code: 225.17

Sr. Performance Indicators Weightage in %


No.,
1LoglC Building and Codlng 50
2 Testing and Debugging of the Program. 30
3 Correctness of ProgramOutput. 10
4 Siibmission of practical asslgnirent in time, 10
Total 100
The above PrOs also comprise of the following soC1a1 skills/attitudes which are Affective
Domain Outcomes (ADOs) that are best developed through the laboratory/field based
experiences:
a. Follow safety practices.
b. PraCtlce good housekeeping.
c. Work as a leader/a team member.
d. Follow ethical practices.

The ADOs are not specific to any one PrO, but ai’e embedded in many Pi‘Os. Hence, the
acquisition of the ADOs takes place gradually in the student when s/he undertakes a seiies of
practical experiences over a period of time. Moreover, the level of achievement of the ADOs
according to Kratliwolil’s ‘Affective Domain Taxonomy’ should gradually increase as planned
below:
• Valuing Level’ 1n 1 st year
• Organising Level’ in 2'“’ year and
• CharacteriSllig Level’ in 3" l year.

7. MAJOR EQUIPMENT/ INSTRUMENTSREQUIRED


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.

s. PrONo.
No. Equipment Name with Droad Specifications
1 Computer with JDK1 .5 or above ,any IDE for Java Programming such as All
Eclipse, Jcreator, NetBeans.
2 Databases like MyS QL, Ol’acle, MS-Access or any other 18,19,20
3 Apache Tomcat web server vcrsion 7 orliigher. 21-24

8. UNDERPINNING THEO1tY COMI°ONENTS


The following topics are to be tonight and assessed in order to develop the sample UOs given
below for achieving the COs to attain tlic icJcntified competency. More UOs could be added.

Unit
Unit Outcomes (UOs) Topics rind Sub-topics
(in cognitive domain)
Unit — I I a. Develop Gra}a1iical user Component, container, window,
Abstract interface (GUI) programs using frame, panel.
Windowing AWT componenls for the given 1 .2 Creating windowed programs and
Toolkit(A problem. applets.
WT) 1 b. Create Framc window with the 1 .3 AWT controls and layout
specified AWG“ components. managers:use of AWT controls:
1c. Ai range the GU1 components labels, buttons,checkbox, checkbox
using specified layout managel’. group, scroll bars, text Held. 6 *<
1 Develop a progralJâ USIHg menu
d. and Dialog i3oxes for hoc given 1 .4 Use of layout managers: flowLayoiit, border Lay‹›
problem. _

MSBTE — Updated On 13.05.201 Puge 4 of 8


Course Come: 22517

Unit Outcomes (UOs)


Unit Topics and Sub-topics
(in cogn i e do in)
gridLayout, cardLayout,
gridbagLayout, menubars, menus,
dialog boxes, file dialog.
Unit-II 2a. Differentiate between AWT and 2.1 Introduction to sw1ng:Swing
Swinp•s Swing on the given aspect. features, Difference between AWT
2b. Develop Graphical usei and Swing.
interface (GUI) pl‘Og1’ams using 2.2 Swing Components: JApplet,Icons
swing components foi the given and Labels, Text Fields, Combo
problem. Boxes.
2c Use the given type of button in 2.3 Buttons: The JButton, Check Boxes,
. Java based GUI. Radio Buttons.
2d. Develop Graphical user 2.4 Advanced Swing Components:
lnterface (GUI) 1’O 1‘ams using Tabbed Panes, Scroll Panes, Trees,
advanced swing components for Tables, Progress bar, tool tips.
the given problem. 2.5 MVC Aichitecture.

Unit— III la. Use delegation event model to 3.1 The delegation Event Model:Event
Event develop event driven program sources, Event
listeners
Handling for the given problem. Event classes: The Action
3b. Use relevant AWT/ swing Eventclass, the Item Event class, the
component(s) to handle the Kcy Event class, theMouse Event
given event. class, the Text Event class, the
3c. Use Adapter classes in Java Window Event class.
program to solve the given 33 Adapter classes.
problem. Inner classes.
3d. Use inner classes in java Event I istener
program to solve the given iliterfaces:ActionListener Interface,
problem. ItemListener Interface, KeyListener
Interface, MouseListenerInterface,
MotiseMotion Interface,
TextListener Interface,
WindowsListeNer Interface.
Unit— IV Use InetAddress class to know 4.1 Soc1‹et Overview:Client/Server ,
the IP address of the given host Reserved Sockets , Proxy Servers ,
4a. Networking name. I nlernet Add1’essing.
Basics UseURLConnection classes to 4.2 .lava and the Net:The Networking
4b. read and write data to the Classes and interfaces.
specified resource refei‘red by 4.3 IHetAddi’ess : Factory Methods ,
the glven URL. Instance Methods.
Develop program 4.4 TCP/IP Client Sockets : Wliois
1c. forClient/Server 4.5 URL: Fonrat, The URI Class.
coininiinicationtlii’ough TCP/IP 4.6 URLConnection : TC1"/IP Server
Server sockets for the given Socl‹ets
problem. .4. Datagialrs : DatagraniPacket ,
Write program to i11risti’ate 7 Datagi‘ana Servei and Client
id. tlieClient/Server communication
using datagram pi otocol for the
given problem.
Unit —V Choose .JDBC or ODI3C 5.1 Introduction to JDll(“ )l}
Interacting depending on the given .IDBC Architecture:
with application iequireisient. 11r’ee tiei rnociels r”
M S BT E U pd nted On 13.05.2019 Pa •qe 5 of S
Course Code: 225 17

TopiCS a epics
‘Unit Outcomes (UOs)
Unit (in cog iti doi ain)
Database b. Explain function of the given 5.3 Types of JDBC Drivers
tier of JDBC architecture for 5.4 Driver Interfaces and Driver
two tier/three tier models. Manager class:Connection
5c. Use relevant type of JDBC InterfacenStatementInterface,
Driver fO1’ tliespecified Prepared Statement Interface,
environment. ResultSet Interface
5d. Elaborate steps with exaiTlpleto 5.5 The essential JDBC Plograin
establish connectivity wlth the
s ecifieddatabase.
Unit —VI a. Explain fuliction of the given 6.1 The Life Cycle of a Servlet
Servlets method of Servlet life cycle. 6.2 Creating simp1eServ1et:The Servlet
b. Use relevant Generic servlet API, [Link] Package, Servlet
to develop given web based Interface, ServletConfig Interface ,
application. ServletContext Interface,
6c. Use relevant LITTP servlet ServletRequest Interface,
to develop specified web ServletResponse Interface,
based application. GenericServlet Class
d. Develop servlet for cookies and 6.3 The
session tracking to [Link]:HttpServl
lmplenient the given etRequest Interface ,
problem. HttpServletResponse
Interface,HttpSession Inteiface ,
Cookle Class, £IttpServlet Class,
HttpSessionEvent Class ,
LIttpSessionBindingEvent Class.
6.4 Handling HTTP Requests and
Responses Handling HTTP GET
RequestsHandling HTTP POST
Requests.
6.5 Coo1‹ies anSession Tracking.

9. SUGG ESTF.D SPECI FICATION TABLE FORQUESTION PAPER DESIGN

Distribution of Theory Marks


Unit Teaching
Unit Title RUA Total Mnrks
No. Hours
LevelLevelLevel
IAbstract Windowing Tooll‹it(AWG )
Swings IIIEvent Handling
IVNetworking Basics 08 02 02 0610
08 02 02 0812
06 02 04 0410
vInteracting with Database VISei‘v1ets 08 02 04 0612
Total 10 04 04 06 14
48 14 0 36

MSBT E — IJ pduted On I 3.05.201 9 Page 6 of 8


Course Code: 22517

Note.’ This speci pcation tciblc• provi‹1e.v gc•neral guideline.s’ lo as.›’isl student›' for their learning
and lo lc•cicher› lo tCCfCh cinJ osse•. s ›ltidc•nt,›’ vvitll rc•›']9ect to ciltainment of LOs. The
aclitctl clistribiition ofincii’ks at ‹lifferc•nl lcixonomy levels (of R, U cmd A) in the cjiie›’lion pctper
mciy vciry front cibove tcible.

10. SUGGESTED STUDENT ACTIVITIES


Othel than the classroom and laboratory 1eai’ning, following are the suggested student-related
co-curriculum activities which can be undeltaken to accelerate the attainment of the various
outcomes in this course: StudelitS Should conduct following activities in group and prepare
reports of about 5 pages for each activity, also collect/record physical evidences for their
(student’s) portfollO which will be iiseful for their placement interviews:
a) Prepare journals based on practical perfO1’nied ill 1aboi’atory.
b) Follow coding standards.
c) Develop variety of programs to improve the logical skills.
d) Develop Application oriented real world programs.
e) Prepare power point presentation depicting differentadvanced concepts 1n Java.

11. 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) MaSslVe open online courses (MOOCs) may be used to teach various topics/sub
topics.
b) ’L’ in item No. 4 does not mean only the traditional lecture method, but different types
of teaching methods alid media that are to be employed to develop the outcomes.
c) About 15-20% of the to 1ics/stib-topics which is relatively simpler or descriptive in
nature is to be given to 11ie students for self-‹lirectetl feiiriiixg and assess the
development of the COs tlii’oiig1i classroom presentations (see implementation
guideline lo‘ details).
d) With respect to item No.10, teachers need to ensuie to create opportunities and
provisions for co-currictilor activitic•s.
e) Use different Audio Visual media lo’ Concept tiliderstanding.
Gtllde student(s) in undertaking micro-projects.
g) Demonstrate students thoroughly betore they start doing the practice.
h) Observe continuously and iaionitor the performance of students in Lab.

12. SUGGESTED MICRO-PROJ ECTS


Only one micro-projc•ct is planned to be undertaken by a student that needs to be assigned to
him/her in the beginning of the seircstei. In Use fLst four semesters, the micro-project are
group-based. However, in the fifth and sixth selresters, it should be preferably be ii1‹livi ltmlly
undertalcen to build up the s1‹ill and confidence in every student to become pi’obleiu solver so
that s/he contributes to the projects of the industry. In special sltuations where groups have to
be formed for micro-projects, the number of stuclents in the group should not exceecl three.
The micro-project could be industry application based, internet-based, worlishop-
based, laboratory-based or field-based. leach iaaicro-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 inclividtial contribution in the project woi’k and give a
seminar presentation of 1t before submission. The total duration of the micro-project should
not be less than 7.6 (sixteen) sttiJent c•ngagenient ho urs during the course. The student ought
to submit micro-project by the end of the scmester to develop the industry oriented COs.
A suggestive list of micro-projects is given here. Silcilar micro-projects ,
added by the concerned faculty: .•;. "

enei‘gy consumption. •_ (

MSBTE U pda ted On 13.05.201 9 P•i ge 7 of 8


Advanced .lava Progranini ing Course Code: 22517

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 ordei and
generate bill.
e) Online Bus ReservationSystem: Expected to develop Ticket booking module.

Follow the below given guidelines for micro projects:


i. Must implement concepts of AWT or SWING andEvent Handling.
ii. UseJDBC concepts.
iii. UseServlet.

13. SUGGESTED LEARNING RESOURCES


S.
Title of Book Author Publication
No.
Mcgraw Hill Education, New Delhi
1. Complete Reference Schildt, Herbert
ISBN:9789339212094
Java 2 Programming Dreamtech Press, New Delhi
2. Black Book Holzner, Steven et al. ISBN 10: 817722655X/ ISBN 13:
9788177226553
Java Sei‘ver Dreamtech Press, New Delhi
Kogent Learning
3. Programming Tutorial Solutions ISBN :978-81-7722-937-0
JAV EE6 Black Book

14. SOFTWARE/LEARNING WEBSITES


a) [Link]
b) [Link]
c) [Link]
d) [Link]
e) [Link]
I) [Link]

MSBTE — U pdateil On 13.05.2019 Puge 8 of 8

Common questions

Powered by AI

TCP/IP Server Sockets and Datagram Sockets differ fundamentally in how they manage connections and data transmission. TCP/IP Server Sockets provide reliable, connection-oriented communication channels, ensuring data is delivered in the correct order and retransmitted if lost. They are used for applications where consistent data flow is critical, such as HTTP servers. Datagram Sockets, on the other hand, offer connectionless communication using the User Datagram Protocol (UDP), which is faster but less reliable as it does not guarantee delivery or order. Datagram Sockets are suitable for applications like streaming and gaming where speed is prioritized over reliability .

Session tracking in servlets involves managing user sessions to provide a stateful interaction experience across multiple requests. It employs cookies, URL rewriting, and HttpSession objects to uniquely identify and store user data across multiple interactions. Session tracking is important because HTTP is inherently stateless, and maintaining session state allows web applications to offer personalized user experiences, track user progress, and manage stateful interactions seamlessly. It plays a critical role in applications requiring authentication, user preferences, and shopping cart functionalities .

To establish a JDBC connection to a database, follow these steps: (1) Import JDBC packages. (2) Register the JDBC driver using Class.forName(). (3) Establish a connection using DriverManager.getConnection() with appropriate database URL, username, and password. (4) Create a Statement object for sending SQL statements to the database. (5) Execute queries and retrieve data from the ResultSet object. (6) Close the connections using the close() method on Connection, Statement, and ResultSet objects to free resources. These steps ensure that the application can communicate efficiently with the database .

Advanced Swing components provide a greater level of flexibility and richness in GUI development compared to basic AWT components. Swing components are lightweight, meaning they are written entirely in Java, which allows them to be more customizable and visually appealing, supporting features like tabbed panes, scroll panes, trees, tables, and progress bars. Unlike AWT, Swing components follow the Model-View-Controller architecture, which separates the data model from the user interface, enabling more complex and dynamic GUI applications .

The MVC architecture is important in Java Swing GUI development because it enhances the flexibility, scalability, and maintainability of applications. By separating the Model (data), View (UI), and Controller (logic), developers can independently modify the presentation layer without altering the underlying data or logic. This separation allows for easier updates and testing since changes to one component do not directly affect others. The MVC pattern facilitates the clean separation of concerns, promoting modular design and reusability in Swing-based applications .

In a two-tier architecture model, JDBC drivers directly connect client applications to the database, handling logic and database interactions on the client side, which can lead to increased complexity and reduced scalability. In contrast, a three-tier architecture model involves an intermediate server that processes client requests, separates the application logic from the user interface and database management, thus offering a more scalable and manageable approach. The JDBC drivers in this model facilitate communication between the application server and the database, allowing for distributed processing and centralized control .

Micro-projects offer significant advantages in programming courses by promoting active learning, encouraging practical application of theoretical concepts, and enhancing problem-solving skills. They enable students to engage with real-world scenarios, thereby improving their ability to work independently or collaboratively, depending on the project setup. Micro-projects also foster critical thinking and creativity, allowing students to integrate knowledge across various topics such as GUI development, event handling, and database interaction. Through project-based learning, students gain confidence and are better prepared for industry challenges .

HTTP servlets handle GET and POST requests differently based on the type and purpose of the request. GET requests are typically used for requests that do not alter server state, such as retrieving data from the server, while POST requests are used for operations that modify server data or submit large amounts of data. In servlets, the doGet() method processes GET requests by reading URL parameters and sending responses, whereas the doPost() method handles POST requests by reading data from the request body, often involving complex data submission and form handling operations. These methods enable servlets to appropriately respond to the different intentions behind GET and POST requests .

The delegation event model is crucial in developing event-driven programs using Java Swing components as it separates the event-generation logic from the handler's logic. This model involves event sources generating events and event listeners handling them. By utilizing this model, developers can create responsive and modular GUI applications where different events like action, item, key, mouse, text, and window events are effectively managed using corresponding listener interfaces like ActionListener, ItemListener, KeyListener, MouseListener, TextListener, and WindowsListener .

Inner classes facilitate event handling in Java programs by allowing event listeners to be closely associated with their owning classes. Inner classes provide a convenient way to implement event listeners by having access to the instance variables and methods of the enclosing class, simplifying the coding structure and enhancing encapsulation. By using inner classes, developers can define event-handling behavior directly within the GUI components, reducing the need for separate listener classes and making the code more concise and easier to read .

You might also like