0% found this document useful (0 votes)
139 views4 pages

Internet Programming Lab Plan - CSE

This document contains a lab plan for an Internet Programming course. It lists 10 experiments to be completed in Java covering topics like AWT controls, layouts, applets, sockets, servlets, and web page design. It also includes schedules assigning the experiments to two batches of students over multiple class periods.

Uploaded by

vasupaapa
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
139 views4 pages

Internet Programming Lab Plan - CSE

This document contains a lab plan for an Internet Programming course. It lists 10 experiments to be completed in Java covering topics like AWT controls, layouts, applets, sockets, servlets, and web page design. It also includes schedules assigning the experiments to two batches of students over multiple class periods.

Uploaded by

vasupaapa
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd

RAJALAKSHMI ENGINEERING COLLEGE

Thandalam, Chennai – 602 105

LAB PLAN

Faculty Name : [Link] KUMAR / Staff Code : CS77


[Link]
Designation : Lecturer Department : CSE
Subject Name : Internet Programming Laboratory Subject Code : CS1404
Year : IV Semester : VII
Degree & Branch : B.E. – C.S.E. Section : A/B

LIST OF EXPERIMENTS
1. Write programs in Java to demonstrate the use of following components Text fields, buttons,
Scrollbar, Choice, List and Check box

2. Write Java programs to demonstrate the use of various Layouts like Flow Layout, Border
Layout, Grid layout, Grid bag layout and card layout

3. Write programs in Java to create applets incorporating the following features:


• Create a color palette with matrix of buttons
• Set background and foreground of the control text area by selecting a color from
color palette.
• In order to select Foreground or background use check box control as radio buttons
• To set background images

4. Write programs in Java to do the following.


• Set the URL of another server.
• Download the homepage of the server.
• Display the contents of home page with date, content type, and Expiration date. Last
modified and length of the home page.

5. Write programs in Java using sockets to implement the following:


• HTTP request
• FTP
• SMTP
• POP3

6. Write a program in Java for creating simple chat application with datagram sockets and
datagram packets.

Signature of Faculty Signature of HOD


1
7. Write programs in Java using Servlets:
• To invoke servlets from HTML forms
• To invoke servlets from Applets

8. Write programs in Java to create three-tier applications using servlets


• for conducting on-line examination.
• for displaying student mark list. Assume that student information is available in a
database which has been stored in a database server.

9. Create a web page with the following using HTML


i. To embed a map in a web page
ii. To fix the hot spots in that map
iii. Show all the related information when the hot spots are clicked.

10. Create a web page with the following.


i. Cascading style sheets.
ii. Embedded style sheets.
iii. Inline style sheets.
iv. Use our college information for the web pages.

Signature of Faculty Signature of HOD


2
BATCH - I
Sl.
Date Period Exp. Experiment
No.
1 1 AWT Controls
2 2-A Flow Layout
3 2-B Border Layout
4 2-C Grid Layout
5 2-D Card Layout
6 3 Color Palette
7 4-A Set the URL of another server.
8 4-B Downloading the Homepage of the Server
9 4-C Displaying the Contents of Home Page
10 5-A HTTP Request
11 5-B FTP
12 5-C SMTP
13 5-D POP3
14 6 Chat Application
15 7-A Invoking Servlets from HTML forms
16 7-B Invoking Servlets from Applets
17 8-A Servlets - On-line Examination
18 8-B Servlets – Student Details
19 9 Image Map
20 10 Cascading Style Sheets

Signature of Faculty Signature of HOD


3
BATCH - II
Sl.
Date Period Exp. Experiment
No.
1 1 AWT Controls
2 2-A Flow Layout
3 2-B Border Layout
4 2-C Grid Layout
5 2-D Card Layout
6 3 Color Palette
7 4-A Set the URL of another server.
8 4-B Downloading the Homepage of the Server
9 4-C Displaying the Contents of Home Page
10 5-A HTTP Request
11 5-B FTP
12 5-C SMTP
13 5-D POP3
14 6 Chat Application
15 7-A Invoking Servlets from HTML forms
16 7-B Invoking Servlets from Applets
17 8-A Servlets - On-line Examination
18 8-B Servlets – Student Details
19 9 Image Map
20 10 Cascading Style Sheets

Signature of Faculty Signature of HOD


4

Common questions

Powered by AI

Creating a simple chat application using Java datagrams and sockets demonstrates network communication skills by requiring the understanding of concepts such as socket creation, packet transmission, and reception over network protocols. It involves implementing communication protocols at the application layer, effectively managing data packets, and handling potential network latencies and interruptions. This exercise underscores the practical application of theoretical networking concepts and Java's networking capabilities .

Java servlets enhance the functionality of web-based applications beyond static HTML by providing dynamic content generation, session tracking, and robust server-side processing capabilities. Servlets enable the execution of database operations, such as conducting online examinations or displaying student details dynamically, based on user input and interactions, which are not possible with static HTML alone. This capability is key for creating interactive, data-driven applications .

Using Java applets to create a color palette demonstrates understanding of interactive web applications by integrating graphical user interface components such as a matrix of buttons and checkboxes that can behave as radio buttons for foreground or background selection, which enhances user interaction. Such applets require a grasp of Java's event-driven programming model, graphical component handling, and the capacity to manipulate visual elements dynamically based on user input .

Understanding different stylesheets, including CSS, is essential for web development students because they enable the separation of content from presentation, allowing for consistent styling across a website while promoting maintainability and reusability of code. CSS also provides tools for responsive design, ensuring web pages are optimized for a variety of devices and screen sizes, which is key for modern web development .

Java programs facilitate client-server communication by providing libraries and APIs to implement protocols such as HTTP, FTP, SMTP, and POP3. They enable developers to build robust client-server architectures where Java handles requests and responses, manages connections, ensures data integrity, and processes commands specific to each protocol. This understanding is pivotal in creating applications that communicate efficiently over the internet .

Using a database to manage student information in web applications developed with servlets implies the integration of robust data management techniques to ensure the integrity, security, and accessibility of student data. It allows dynamic information retrieval and update, enhancing functionality such as generating real-time student marks or conducting automated assessments. This setup requires designing a secure database schema and implementing efficient query handling within servlets .

Embedding maps on web pages and setting hot spots using HTML is significant because it allows for interactive navigation and information display. Users can click on defined regions, or hot spots, within an image to trigger events such as displaying relevant geographical data or navigating to linked content. This capability is crucial for applications like geographic information systems, campus maps, or event planning websites, where user interaction and contextual information are essential .

Writing Java programs using different layouts, like Flow Layout, Border Layout, Grid Layout, Grid Bag Layout, and Card Layout, offers substantial educational value by teaching students how to effectively manage and organize graphical user interface components. It cultivates an understanding of Java's layout management system, crucial for designing intuitive and visually appealing applications, and enhances problem-solving skills in terms of component arrangement based on functional goals .

The pedagogical approach of teaching Internet Programming Laboratory using Java emphasizes a range of skills including GUI design through Java Swing, understanding network communication with socket programming, server-side processing using servlets, and front-end web development with HTML and CSS. This comprehensive skill set prepares students for practical software development, highlighting Java's versatility as both a client-side and server-side tool .

Servlets offer several advantages over traditional CGI scripts, including improved performance due to their ability to handle multiple requests using a single process and thread management, reducing the overhead of process creation. Servlets can maintain state through session tracking and provide a robust API for web application development, while CGI scripts lack these efficiencies and can be slower and harder to manage due to their execution model requiring a new process for each request .

You might also like