01CE0502AdvancedJavaProgrammingpdf 2020 07 03 15 59 18
01CE0502AdvancedJavaProgrammingpdf 2020 07 03 15 59 18
Information Technology
Objective: This course develops programming ability of students to create dynamic web
applications using server side technology with Java Database Connectivity. Students can
learn networking and remote method invocation using Java API. Different Java
frameworks like Spring, Java Server Faces and Hibernate will increase ability of students
in web application development.
Information Technology
Contents:
Information Technology
References:
1. Black Book “Java server programming” J2EE, 1st ed., Dream Tech Publishers, 2008. 3.
Kathy walrath”
2. Complete Reference J2EE by James Keogh mcgraw publication
3. Professional Java Server Programming by Subrahmanyam Allamaraju, Cedric Buest
Wiley Publication
4. SCWCD, Matthew Scarpino, Hanumant Deshmukh, Jignesh Malavie, Manning
publication
5. Core Java, Volume II: Advanced Features by Cay Horstmann and Gary Cornell
Pearson Publication
6. Java Persistence with Hibernate by Christian Bauer, Gavin King
7. Spring in Action 3rd edition , Craig walls, Manning Publication
8. Hibernate 2nd edition, Jeff Linwood and Dave Minter, Beginning Après publication
9. Java Server Faces in Action, Kito D. Mann, Manning Publication
10. JDBC™ API Tutorial and Reference, Third Edition, Maydene Fisher, Jon Ellis, Jonathan
Bruce, Addison Wesley
11. Beginning JSP, JSF andTomcat, Giulio Zambon, Apress
12. JSF2.0 CookBook, Anghel Leonard, PACKT publication
Information Technology
Sr.
Practical Name
No.
Write an application which will retrieve IP address for given website.
1
Write an application which will retrieve the content of the given URL with different web-
2 page related information.
Write a two – way network based chat application. It will use TCP/IP protocol and it will
3
do communication in serial manner.
Write an application which will retrieve file from server machine and save that file on
4
client machine. File name will be provided by client.
Write a client program to send any string from its standard input to the server program.
5 The server program reads the string, finds number of characters and digits and sends it
back to client program. Use connection-oriented communication.
Write a client program to send any string from its standard input to the server program.
The server program reads the string, finds number of characters and digits and sends it
6
back to client program. Use connection-less communication.
Write down Five Basic steps to establish JDBC connection from Java Application. Also
1
mention sample code for each step.
Write a JDBC application which will interact with Database and perform the following
task.
1) Create Student Table with RollNo, Name, and Address field and insert few records.
2) Using Statement Object display the content of Record.
2
3) Using Statement Object Insert Two Record.
4) Using Statement Object Update One Record.
5) Using Statement Object Delete One Record.
6) Using Statement Object display the content of Record.
Write a JDBC application which will interact with Database and perform the following
task.
1) Create Student Table with RollNo, Name, and Address field and insert few records.
2) Using PreparedStatement Object display the content of Record.
3
3) Using PreparedStatement Object Insert Two Record.
4) Using PreparedStatement Object Update One Record.
5) Using PreparedStatement Object Delete One Record.
6) Using PreparedStatement Object display the content of Record.
Syllabus for Bachelor of Technology
Information Technology
Write a JDBC application which will interact with Database and perform the following
task.
1) Create a store procedure which will insert one record into employee table.
4
2) Create a store procedure which will retrieve salary for given employee id.
3) Write a java application which will call the above procedure and display
appropriate information on screen.
5 Design a JDBC application which will demonstrate Scrollable ResultSet functionality.
6 Design a JDBC application which will demonstrate Scrollable ResultSet functionality.
Design a JDBC application which will demonstrate Transaction management
7
functionality.
Experiment# 3 Servlet
Sr.
Practical Name
No.
Write down the Program for testing the Servlet and study deployment descriptor.
1
2 Write down the program for testing the include action for servlet collaboration.
3 Write down the program for testing the forward action for servlet collaboration.
Create login form and perform state management using Cookies, HttpSession and URL
4
Rewriting.
Create Servlet file which contains following functions: 1. Connect 2. Create Database 3.
Create Tabe 4. Insert Records into respective table 5. Update records of particular table
5
of database 6. Delete Records from table. 7. Delete table and also database.
Write down the Program in which error is handled by the deployment descriptor file
(web.xml).
6
8 Write down the Program for testing the servlet context interface.
Experiment# 4 JSP
Sr.
Practical Name
No.
1 Write down the Program which displays the simple JSP file.
Write down the program in which input the two numbers in an html file and then display
2
the addition in JSP file.
Syllabus for Bachelor of Technology
Information Technology
3 Write down the program in which display the error by common file for all general pages.
4 Perform Database Access through JSP.
5 Write down the Program for testing the include action tag in jsp.
6 Write down the Program for testing the forward action tag.
7 Write down a program which demonstrates the core tag of JSTL.
8 Write down a program which demonstrates the Format tag of JSTL.
9 Write down a program which demonstrates the Function tag of JSTL.
10 Write down a program which demonstrates the SQL tag of JSTL.
11 Write down a program which demonstrates the XML tag of JSTL.
Write down a program which demonstrates the Tag Handler with appropriate output.
12
Create database of student subject-wise data and retrieve all data using JSP and generate
13 xml structure along with DTD and XML Schema definition
3 Use Hibernate Query Language to insert, update and delete records in database.
Information Technology
Experiment# 7 JSF
Sr.
Practical Name
No.
Instructional Method:
a. The course delivery method will depend upon the requirement of content and need
of students. The teacher in addition to conventional teaching method by black board,
may also use any of tools such as demonstration, role play, Quiz, brainstorming,
MOOCs etc.
b. The internal evaluation will be done on the basis of continuous evaluation of students
in the laboratory and class-room.
c. Practical examination will be conducted at the end of semester for evaluation of
performance of students in laboratory.
d. Students will use supplementary resources such as online videos, NPTEL videos, e-
courses, Virtual Laboratory
Supplementary Resources:
1. http://www.oracle.com/technetwork/java/javase/downloads/index.htm
l
2. https://docs.oracle.com/javaee/6/tutorial/doc/
3. https://javaee.github.io/tutorial/
4. http://docs.oracle.com/javase/tutorial/java/index.html
5. https://spring.io/guides