Advance Java Practical Journal
Late Bhausaheb Hiray S.S. Trust’s Institute of Computer Application, Bandra, East Mumbai-51
ISBN 9788119221226
 Publication Date
  Pages 240

PAPERBACK

EBOOK (EPUB)

EBOOK (PDF)

Late Bhausaheb Hiray S.S. Trust was established by Dr. Baliramji Hiray (ex-Education Minister Government of Maharashtra) in 1977, with the sole view of providing quality Education to the people of Maharashtra. It is a charitable trust with leading social workers, philanthropists, and doctors as members. With various courses to cater to multiple segments of urban and rural people, all provided at a reasonable cost, these colleges are spread over Mumbai, Nasik and Malegaon, offering several educational courses/ programme for over 10,000 students. The Institute of Computer Application started the M.C.A. programme in year 2001 with prior approval from the AICTE and affliation with University of Mumbai. All students are selected based on the Common Entrance Test (CET) score covering topics on aptitude and computer concepts conducted by the CET Cell of the Government of Maharashtra and the Directorate of Technical Education (DTE) of Maharashtra. It is a 2-year full time postgraduate course open to graduates of any field with Mathematics (10+2 level). Divided into 4 semesters, the course includes a full time 6-month internship IT industry as the last semester.

Other titles available by the Institute of Computer Application

1. Internet of Things

2. Artificial Intelligence and Machine Learning

3. Data Mining and Business Intelligence Lab Manual

4. Ethical Hacking Lab Manual

5. Big Data and Visualization

6. Distributed System and Cloud Computing Lab Manual

7. Network Simulator -3 (NS-3) Practical Lab Manual

8. Blockchain & Solidity Program Lab Manual

9. Web Technology with Node js, Angular js and MySQL

1Practical on Java Collection Framework
Write a Java Program to demonstrate a Generic Class.
Write a Java Program to demonstrate Generic Methods.
Write a Java Program to demonstrate Generic Method –part 2
Write Program in java to understand the use of unbound wildcards
Write Program in java to understand the use of upper bound wildcards
2Practical on List Interface
Write a Java program to create List containing list of items of type String and use for-each loop to print the items of the list.
Write a Java program to create List containing list of items and use ListIterator interface to print items present in the list. Also print the list in reverse/ backward `direction.
3Practical on Set Interface
Write a Java program to create a Set containing list of items of type String and printthe items in the list using Iterator interface. Also print the list in reverse/ backward direction.
Write a Java program using Set interface containing list of items and perform the following operations:
a.Add items in the set.
b.Insert items of one set in to other set.
c.Remove items from the set
d.Search the specified item in the set
4Practical on Map Interface
Write a Java program using Map interface containing list of items having keys andassociated values and perform the following operations:
a.Add items in the map.
b.Remove items from the map
c.Search specific key from the map
d.Get value of the specified key
e.Insert map elements of one map in to other map.
f.Print all keys and values of the map.
5Practical on Lambda Expression
Write a Java program using Lambda Expression to print “Hello World”.
Write a Java program using Lambda Expression with single parameters.
Write a Java program using Lambda Expression with multiple parameters to add twonumbers.
Write a Java program using Lambda Expression to calculate the following:
a.Convert Fahrenheit to Celcius
b.Convert Kilometers to Miles.
Write a Java program using Lambda Expression with or without return keyword.
Write a Java program using Lambda Expression to concatenate two strings.
6Practical based on web application development using JSP
Create a Telephone directory using JSP and store all the information within adatabase, so that later could be retrieved as per the requirement. Make your own assumptions.
Write a JSP page to display the Registration form (Make your own assumptions)
Write a JSP program to add, delete and display the records from StudentMaster (RollNo, Name, Semester, Course) table
Design loan calculator using JSP which accepts Period of Time (in years) and Principal Loan Amount. Display the payment amount for each loan and then list the loan balance and interest paid for each payment over the term of the loan for the following time period and interest rate:
a.1 to 7 year at 5.35%
b.8 to 15 year at 5.5%
c.16 to 30 year at 5.75%
Write a program using JSP that displays a webpage consisting Application form for change of Study Center which can be filled by any student who wants to change his/her study center. Make necessary assumptions
Write a JSP program to add, delete and display the records from StudentMaste r(RollNo, Name, Semester, Course) table.
Write a JSP program that demonstrates the use of JSP declaration, scriptlet,directives, expression, header and footer.
7Practical program on Core Java Spring Framework
Write a program to print “Hello World” using spring framework.
Write a program to demonstrate dependency injection via setter method.
Write a program to demonstrate dependency injection via setter method.
Write a program to demonstrate dependency injection via Constructor.
8Practical based on Spring Aspect Oriented Programming (AOP)
Write a program to demonstrate Spring AOP –All
Write a program to demonstrate Spring AOP – before advice.
Write a program to demonstrate Spring AOP – after advice
Write a program to demonstrate Spring AOP – around advice.
Write a program to demonstrate Spring AOP – after returning advice.
Write a program to demonstrate Spring AOP – after throwing advice.
Write a program to demonstrate Spring AOP – pointcuts.
9Practical based on SPRING JDBC
Write a program to insert, update and delete records from the given table.
Write a program to demonstrate PreparedStatement in Spring JdbcTemplate
Write a program in Spring JDBC to demonstrate ResultSetExtractor Interface
Write a program to demonstrate RowMapper interface to fetch the records from thedatabase.
10Practical based on SPRING boot and RESTFUL Web Services
Write a program to create a simple Spring Boot application that prints a message.
Write a program to demonstrate RESTful Web Services with spring boot.
11Annexure - I: How to run Spring Program using Netbeans
12Annexure - II: How to run Java Spring program using Eclipse
13Annexure - III: Steps for Executing Spring AOP program using Eclipse
14Annexure - IV: Steps to run JDBC Spring Programs
15Annexure - IV: Spring Important

ADVANCE JAVA PRACTICAL JOURNAL

ADVANCE JAVA PRACTICAL JOURNAL

ADVANCE JAVA PRACTICAL JOURNAL

LATE BHAUSAHEB HIRAY S.S. TRUST’S INSTITUTE OF COMPUTER APPLICATION BANDRA, EAST MUMBAI-51

Prof. Vikram Patalbansi

Co Author : Dr. Rashmita Pradhan

Co Author : Aquila Shaikh (MCA)

Faculty, Master of Computer Application (M.C.A.)

Late Bhausaheb Hiray S.S. Trust’s Institute of Computer Application

ADVANCE JAVA PRACTICAL JOURNAL

LATE BHAUSAHEB HIRAY S.S. TRUST’S INSTITUTE OF COMPUTER APPLICATION BANDRA, EAST MUMBAI-51

Prof. Vikram Patalbansi

Co Author : Dr. Rashmita Pradhan

Co Author : Aquila Shaikh (MCA)

Faculty, Master of Computer Application (M.C.A.)

Late Bhausaheb Hiray S.S. Trust’s Institute of Computer Application

Copyright © Late Bhausaheb Hiray S.S. Trust’s Institute Of Computer Application, Bandra (E), Mumbai-51, 2023

All rights reserved. No part of this publication may be reproduced, distributed, or transmitted in any form or by any means, including photocopying, recording, or other electronic or mechanical methods, without the prior written permission of the author, except in the case of brief quotations embodied in critical reviews and certain other non-commercial uses permitted by copyright law. For permission requests, write to the publisher at the address below.

This book can be exported from India only by the publishers or by the authorized suppliers. Infringement of this condition of sale will lead to Civil and Criminal prosecution.

Paperback ISBN: 978-81-19221-17-2

Note: Due care and diligence has been taken while editing and printing the book; neither the author nor the publishers of the book hold any responsibility for any mistake that may have inadvertently crept in.

The publishers shall not be liable for any direct, consequential, or incidental damages arising out of the use of the book. In case of binding mistakes, misprints, missing pages, etc., the publishers’ entire liability, and your exclusive remedy, is replacement of the book within one month of purchase by similar edition/reprint of the book.

Printed and bound in India by

info@16leaves.com

Copyright © Late Bhausaheb Hiray S.S. Trust’s Institute Of Computer Application, Bandra (E), Mumbai-51, 2023

All rights reserved. No part of this publication may be reproduced, distributed, or transmitted in any form or by any means, including photocopying, recording, or other electronic or mechanical methods, without the prior written permission of the author, except in the case of brief quotations embodied in critical reviews and certain other non-commercial uses permitted by copyright law. For permission requests, write to the publisher at the address below.

This book can be exported from India only by the publishers or by the authorized suppliers. Infringement of this condition of sale will lead to Civil and Criminal prosecution.

Paperback ISBN: 978-81-19221-17-2

Note: Due care and diligence has been taken while editing and printing the book; neither the author nor the publishers of the book hold any responsibility for any mistake that may have inadvertently crept in.

The publishers shall not be liable for any direct, consequential, or incidental damages arising out of the use of the book. In case of binding mistakes, misprints, missing pages, etc., the publishers’ entire liability, and your exclusive remedy, is replacement of the book within one month of purchase by similar edition/reprint of the book.

Printed and bound in India by

info@16leaves.com

Copyright © Late Bhausaheb Hiray S.S. Trust’s Institute Of Computer Application, Bandra (E), Mumbai-51, 2023

All rights reserved. No part of this publication may be reproduced, distributed, or transmitted in any form or by any means, including photocopying, recording, or other electronic or mechanical methods, without the prior written permission of the author, except in the case of brief quotations embodied in critical reviews and certain other non-commercial uses permitted by copyright law. For permission requests, write to the publisher at the address below.

This book can be exported from India only by the publishers or by the authorized suppliers. Infringement of this condition of sale will lead to Civil and Criminal prosecution.

Paperback ISBN: 978-81-19221-17-2

Note: Due care and diligence has been taken while editing and printing the book; neither the author nor the publishers of the book hold any responsibility for any mistake that may have inadvertently crept in.

The publishers shall not be liable for any direct, consequential, or incidental damages arising out of the use of the book. In case of binding mistakes, misprints, missing pages, etc., the publishers’ entire liability, and your exclusive remedy, is replacement of the book within one month of purchase by similar edition/reprint of the book.

Printed and bound in India by

info@16leaves.com

Comments should not be blank
Rating
Description

Late Bhausaheb Hiray S.S. Trust was established by Dr. Baliramji Hiray (ex-Education Minister Government of Maharashtra) in 1977, with the sole view of providing quality Education to the people of Maharashtra. It is a charitable trust with leading social workers, philanthropists, and doctors as members. With various courses to cater to multiple segments of urban and rural people, all provided at a reasonable cost, these colleges are spread over Mumbai, Nasik and Malegaon, offering several educational courses/ programme for over 10,000 students. The Institute of Computer Application started the M.C.A. programme in year 2001 with prior approval from the AICTE and affliation with University of Mumbai. All students are selected based on the Common Entrance Test (CET) score covering topics on aptitude and computer concepts conducted by the CET Cell of the Government of Maharashtra and the Directorate of Technical Education (DTE) of Maharashtra. It is a 2-year full time postgraduate course open to graduates of any field with Mathematics (10+2 level). Divided into 4 semesters, the course includes a full time 6-month internship IT industry as the last semester.

Other titles available by the Institute of Computer Application

1. Internet of Things

2. Artificial Intelligence and Machine Learning

3. Data Mining and Business Intelligence Lab Manual

4. Ethical Hacking Lab Manual

5. Big Data and Visualization

6. Distributed System and Cloud Computing Lab Manual

7. Network Simulator -3 (NS-3) Practical Lab Manual

8. Blockchain & Solidity Program Lab Manual

9. Web Technology with Node js, Angular js and MySQL

Table of contents
1Practical on Java Collection Framework
Write a Java Program to demonstrate a Generic Class.
Write a Java Program to demonstrate Generic Methods.
Write a Java Program to demonstrate Generic Method –part 2
Write Program in java to understand the use of unbound wildcards
Write Program in java to understand the use of upper bound wildcards
2Practical on List Interface
Write a Java program to create List containing list of items of type String and use for-each loop to print the items of the list.
Write a Java program to create List containing list of items and use ListIterator interface to print items present in the list. Also print the list in reverse/ backward `direction.
3Practical on Set Interface
Write a Java program to create a Set containing list of items of type String and printthe items in the list using Iterator interface. Also print the list in reverse/ backward direction.
Write a Java program using Set interface containing list of items and perform the following operations:
a.Add items in the set.
b.Insert items of one set in to other set.
c.Remove items from the set
d.Search the specified item in the set
4Practical on Map Interface
Write a Java program using Map interface containing list of items having keys andassociated values and perform the following operations:
a.Add items in the map.
b.Remove items from the map
c.Search specific key from the map
d.Get value of the specified key
e.Insert map elements of one map in to other map.
f.Print all keys and values of the map.
5Practical on Lambda Expression
Write a Java program using Lambda Expression to print “Hello World”.
Write a Java program using Lambda Expression with single parameters.
Write a Java program using Lambda Expression with multiple parameters to add twonumbers.
Write a Java program using Lambda Expression to calculate the following:
a.Convert Fahrenheit to Celcius
b.Convert Kilometers to Miles.
Write a Java program using Lambda Expression with or without return keyword.
Write a Java program using Lambda Expression to concatenate two strings.
6Practical based on web application development using JSP
Create a Telephone directory using JSP and store all the information within adatabase, so that later could be retrieved as per the requirement. Make your own assumptions.
Write a JSP page to display the Registration form (Make your own assumptions)
Write a JSP program to add, delete and display the records from StudentMaster (RollNo, Name, Semester, Course) table
Design loan calculator using JSP which accepts Period of Time (in years) and Principal Loan Amount. Display the payment amount for each loan and then list the loan balance and interest paid for each payment over the term of the loan for the following time period and interest rate:
a.1 to 7 year at 5.35%
b.8 to 15 year at 5.5%
c.16 to 30 year at 5.75%
Write a program using JSP that displays a webpage consisting Application form for change of Study Center which can be filled by any student who wants to change his/her study center. Make necessary assumptions
Write a JSP program to add, delete and display the records from StudentMaste r(RollNo, Name, Semester, Course) table.
Write a JSP program that demonstrates the use of JSP declaration, scriptlet,directives, expression, header and footer.
7Practical program on Core Java Spring Framework
Write a program to print “Hello World” using spring framework.
Write a program to demonstrate dependency injection via setter method.
Write a program to demonstrate dependency injection via setter method.
Write a program to demonstrate dependency injection via Constructor.
8Practical based on Spring Aspect Oriented Programming (AOP)
Write a program to demonstrate Spring AOP –All
Write a program to demonstrate Spring AOP – before advice.
Write a program to demonstrate Spring AOP – after advice
Write a program to demonstrate Spring AOP – around advice.
Write a program to demonstrate Spring AOP – after returning advice.
Write a program to demonstrate Spring AOP – after throwing advice.
Write a program to demonstrate Spring AOP – pointcuts.
9Practical based on SPRING JDBC
Write a program to insert, update and delete records from the given table.
Write a program to demonstrate PreparedStatement in Spring JdbcTemplate
Write a program in Spring JDBC to demonstrate ResultSetExtractor Interface
Write a program to demonstrate RowMapper interface to fetch the records from thedatabase.
10Practical based on SPRING boot and RESTFUL Web Services
Write a program to create a simple Spring Boot application that prints a message.
Write a program to demonstrate RESTful Web Services with spring boot.
11Annexure - I: How to run Spring Program using Netbeans
12Annexure - II: How to run Java Spring program using Eclipse
13Annexure - III: Steps for Executing Spring AOP program using Eclipse
14Annexure - IV: Steps to run JDBC Spring Programs
15Annexure - IV: Spring Important
Excerpt

ADVANCE JAVA PRACTICAL JOURNAL

ADVANCE JAVA PRACTICAL JOURNAL

ADVANCE JAVA PRACTICAL JOURNAL

LATE BHAUSAHEB HIRAY S.S. TRUST’S INSTITUTE OF COMPUTER APPLICATION BANDRA, EAST MUMBAI-51

Prof. Vikram Patalbansi

Co Author : Dr. Rashmita Pradhan

Co Author : Aquila Shaikh (MCA)

Faculty, Master of Computer Application (M.C.A.)

Late Bhausaheb Hiray S.S. Trust’s Institute of Computer Application

ADVANCE JAVA PRACTICAL JOURNAL

LATE BHAUSAHEB HIRAY S.S. TRUST’S INSTITUTE OF COMPUTER APPLICATION BANDRA, EAST MUMBAI-51

Prof. Vikram Patalbansi

Co Author : Dr. Rashmita Pradhan

Co Author : Aquila Shaikh (MCA)

Faculty, Master of Computer Application (M.C.A.)

Late Bhausaheb Hiray S.S. Trust’s Institute of Computer Application

Copyright © Late Bhausaheb Hiray S.S. Trust’s Institute Of Computer Application, Bandra (E), Mumbai-51, 2023

All rights reserved. No part of this publication may be reproduced, distributed, or transmitted in any form or by any means, including photocopying, recording, or other electronic or mechanical methods, without the prior written permission of the author, except in the case of brief quotations embodied in critical reviews and certain other non-commercial uses permitted by copyright law. For permission requests, write to the publisher at the address below.

This book can be exported from India only by the publishers or by the authorized suppliers. Infringement of this condition of sale will lead to Civil and Criminal prosecution.

Paperback ISBN: 978-81-19221-17-2

Note: Due care and diligence has been taken while editing and printing the book; neither the author nor the publishers of the book hold any responsibility for any mistake that may have inadvertently crept in.

The publishers shall not be liable for any direct, consequential, or incidental damages arising out of the use of the book. In case of binding mistakes, misprints, missing pages, etc., the publishers’ entire liability, and your exclusive remedy, is replacement of the book within one month of purchase by similar edition/reprint of the book.

Printed and bound in India by

info@16leaves.com

Copyright © Late Bhausaheb Hiray S.S. Trust’s Institute Of Computer Application, Bandra (E), Mumbai-51, 2023

All rights reserved. No part of this publication may be reproduced, distributed, or transmitted in any form or by any means, including photocopying, recording, or other electronic or mechanical methods, without the prior written permission of the author, except in the case of brief quotations embodied in critical reviews and certain other non-commercial uses permitted by copyright law. For permission requests, write to the publisher at the address below.

This book can be exported from India only by the publishers or by the authorized suppliers. Infringement of this condition of sale will lead to Civil and Criminal prosecution.

Paperback ISBN: 978-81-19221-17-2

Note: Due care and diligence has been taken while editing and printing the book; neither the author nor the publishers of the book hold any responsibility for any mistake that may have inadvertently crept in.

The publishers shall not be liable for any direct, consequential, or incidental damages arising out of the use of the book. In case of binding mistakes, misprints, missing pages, etc., the publishers’ entire liability, and your exclusive remedy, is replacement of the book within one month of purchase by similar edition/reprint of the book.

Printed and bound in India by

info@16leaves.com

Copyright © Late Bhausaheb Hiray S.S. Trust’s Institute Of Computer Application, Bandra (E), Mumbai-51, 2023

All rights reserved. No part of this publication may be reproduced, distributed, or transmitted in any form or by any means, including photocopying, recording, or other electronic or mechanical methods, without the prior written permission of the author, except in the case of brief quotations embodied in critical reviews and certain other non-commercial uses permitted by copyright law. For permission requests, write to the publisher at the address below.

This book can be exported from India only by the publishers or by the authorized suppliers. Infringement of this condition of sale will lead to Civil and Criminal prosecution.

Paperback ISBN: 978-81-19221-17-2

Note: Due care and diligence has been taken while editing and printing the book; neither the author nor the publishers of the book hold any responsibility for any mistake that may have inadvertently crept in.

The publishers shall not be liable for any direct, consequential, or incidental damages arising out of the use of the book. In case of binding mistakes, misprints, missing pages, etc., the publishers’ entire liability, and your exclusive remedy, is replacement of the book within one month of purchase by similar edition/reprint of the book.

Printed and bound in India by

info@16leaves.com

User Reviews
Comments should not be blank
Rating