Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
558 views

Lab Manual Web Programming

The lab manual outlines various Java programming exercises including: 1. Writing programs to illustrate classes and methods, define constructors for a Rectangle class, and perform sorting of input from standard input and command line arguments. 2. Writing programs to perform string manipulation, check for palindromes, count vowels, define abstract and concrete classes for shapes to calculate areas, and create packages to store employee details. 3. Additional exercises include implementing interfaces, exception handling, a course registration form, layout managers, applets, producer-consumer problems, file I/O, database operations, servlets, RMI, beans, internet concepts, and creating basic web pages.

Uploaded by

Eva San
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
558 views

Lab Manual Web Programming

The lab manual outlines various Java programming exercises including: 1. Writing programs to illustrate classes and methods, define constructors for a Rectangle class, and perform sorting of input from standard input and command line arguments. 2. Writing programs to perform string manipulation, check for palindromes, count vowels, define abstract and concrete classes for shapes to calculate areas, and create packages to store employee details. 3. Additional exercises include implementing interfaces, exception handling, a course registration form, layout managers, applets, producer-consumer problems, file I/O, database operations, servlets, RMI, beans, internet concepts, and creating basic web pages.

Uploaded by

Eva San
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 3

Lab Manual

Sub Code : 600314 Batch -2010-13 List of Exercises 1. Write a Java program to illustrate the concept of classes and methods (return types, object as arguments, returning objects, static modifiers) 2. Write a program to define a class called Rectangle with four different forms of constructors. Rectangle(), Rectangle(int,int), Rectangle(int,int,int,int), Rectangle(Rectangle) 3. Write a Java program to read an input from and standard input and command line argument and perform integer and string sorting. 4. Write a Java program for string manipulation using String class methods and String Buffer class method, check whether the string is palindrome or not, count the number of vowels. 5. Write a program to define an abstract class called shape and subclasses as 2Dshapes and 3Dshapes. Override the methods i)findArea() to calculate the area of a given shape and ii)display() to display the information about the shape (dimension, coordinates and area). Test the program with instances such as rectangle, square, cylinder, and cube. 6. Write a Java program to create Packages for employee details. Prepare a complete report on a particular employee which contains all the needed information 7. Write a program to define an interface called datastructure with methods addData, removeData and write Stack and Queue classes which implements the interface and overrides the methods. 8. Write a Java program for exception handling to handle built-in exceptions and user defined exceptions(divide by zero, array index out of bound exception) 9. Write a java program to create a course registration form with details such as student name(textfield), gender(radiobutton),.address(textarea), the course(list item), submit(button). When the student submits the form allocate register no for the student and store the details in the student array and generate the report in the frame. 10. Write a Java program to demonstrate the use of various Layouts like (i) Border Layout- create an application which displays a text message (top-message heading, center- text content), add two buttons on both the Sub Name: Web Programming Lab Class II MCA III Semester

R.Maruthi Web Programming Lab Manual (Batch 2010-13)-III semester

(ii)

sides which controls the font size of the message content.. Add label to display the font size at the bottom. Grid layout Calculator application

11. Write applet program for displaying the traffic signal. Implement a car which works with the traffic signal. 12. Write a java program to implement Producer-Consumer problem using Interthread Communication methods.Test the program without synchronization and with synchronization. 13. Write a Java program to read text from the user until the user enters stop. Write the text into a file named SampleText.txt. Read the contents from the file and display it in the console and also display some of the file attributes such as Exists, File name, Path, lastModified & size from that file 14. Java program to read and write image files using image.* package; 15. Create book table with attributes such as bookno, bookname, authorname, noofcopies, pricepercopy in Ms-Access / Oracle. Write a Java program to insert, delete, update, search books using JDBC. 16. 16. Java program using Servlets: To invoke servlets from HTML forms and to invoke servlets from Applets 17. Write a RMI application to add two numbers and access the remote method 18. Write a Java program for creating and using the Java bean Internet Concepts and World Wide Web 19. Studying internet connection procedures 20. Sending and receiving mails from one or more email clients 21. Video Conferencing demonstration 2 2 . Downloading and installing softwares (Example: Java) and setting up path 23. FTP-File Transer Protocol 24. Create a web page with forms, frames, links, tables etc with any web page editors and using images and audio files as part of web pages

R.Maruthi Web Programming Lab Manual (Batch 2010-13)-III semester

R.Maruthi Web Programming Lab Manual (Batch 2010-13)-III semester

You might also like