




















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Internet programming Internet programming Internet programming
Typology: Exams
1 / 28
This page cannot be seen from the preview
Don't miss anything!





















SCAD ENGINEERING COLLEGE CSE DEPARTMENT
CS6501 INTERNET PROGRAMMING L T P C 3 1 0 4
OBJECTIVES: The student should be made to:
UNIT I JAVA PROGRAMMING 9
An overview of Java – Data Types – Variables and Arrays – Operators – Control Statements –
Classes – Objects – Methods – Inheritance - Packages – Abstract classes – Interfaces and Inner
classes – Exception handling - Introduction to Threads – Multithreading – String handling –
Streams and I/O – Applets.
UNIT II WEBSITES BASICS, HTML 5, CSS 3, WEB 2.0 8
Web 2.0: Basics-RIA Rich Internet Applications - Collaborations tools - Understanding websites
and web servers: Understanding Internet – Difference between websites and web server- Internet
technologies Overview –Understanding the difference between internet and intranet; HTML and
CSS: HTML 5.0 , XHTML, CSS 3.
UNIT III CLIENT SIDE AND SERVER SIDE PROGRAMMING 11
Java Script: An introduction to JavaScript–JavaScript DOM Model-Date and Objects,-Regular
Expressions- Exception Handling-Validation-Built-in objects-Event Handling- DHTML with
JavaScript. Servlets: Java Servlet Architecture- Servlet Life Cycle- Form GET and POST
actions- Session Handling- Understanding Cookies- Installing and Configuring Apache Tomcat
Web Server;- DATABASE CONNECTIVITY: JDBC perspectives, JDBC program example -
JSP: Understanding Java Server Pages-JSP Standard Tag Library(JSTL)-Creating HTML forms
by embedding JSP code.
UNIT IV PHP and XML 8
An introduction to PHP: PHP- Using PHP- Variables- Program control- Built-in functions-
Connecting to Database – Using Cookies-Regular Expressions; XML: Basic XML- Document
Type Definition- XML Schema DOM and Presenting XML, XML Parsers and Validation, XSL
and XSLT Transformation, News Feed (RSS and ATOM).
UNIT V INTRODUCTION TO AJAX and WEB SERVICES 9
AJAX: Ajax Client Server Architecture-XML Http Request Object-Call Back Methods; Web
Services: Introduction- Java web services Basics – Creating, Publishing ,Testing and Describing
a Web services (WSDL)-Consuming a web service, Database Driven web service from an
application –SOAP.
TOTAL (L:45+T:15): 60 PERIODS
SCAD ENGINEERING COLLEGE CSE DEPARTMENT
TEXT BOOKS:
Hall, 5th Edition, 2011.
REFERENCES:
Publications, 2009.
SCAD ENGINEERING COLLEGE CSE DEPARTMENT
Address.One way to translate a hostname to an IP address is to look it up in a simple text file. The second way is the domain name service, which is a distributed database containing all registered hostnames on the Internet and their IP addresses.
Protocol tunneling is the process of encapsulating one protocol within another protocol that operates on the same layer.
SCAD ENGINEERING COLLEGE CSE DEPARTMENT
Cascading refers to a certain set of rules that browsers use, in cascading order, to determine how to use the style information. Such a set of rules is useful in the event of conflicting style information because the rules would give the browser a way to determine which style is given precedence.
8. What are the style precedence rules when using multiple approaches? Inline styles override both linked style sheets and style information stored in the document head with SCAD ENGINEERING COLLEGE CSE DEPARTMENT
1.Application -It manages your web application. 2.Session -It manages and tracks individual user sessions. 3.Server - It controls behavior of your web server
4.Response -It transmits information from the web server to web browser 5.Request -It retrieves information from the browser for processing at the server.
SCAD ENGINEERING COLLEGE CSE DEPARTMENT
ISAPI (Internet Server API): An API for Microsoft's IIS (Internet Information Server) Web server. ISAPI enables programmers to develop Web-based applications that run much faster than conventional CGI programs because they're more tightly integrated with the Web server. In addition to IIS, several Web servers from companies other than Microsoft support ISAPI.
NSAPI -Netscape Server API: An API for Netscape's Web servers. NSAPI enables programmers to create Web-based applications that are more sophisticated and run much faster than applications based on CGI scripts.
A set of routines, protocols, and tools for building software applications. A good API makes it easier to develop a program by providing all the building blocks. A programmer puts the blocks together.
Most operating environments, such as MS- Windows, provide an API so that programmers can write applications consistent with the operating environment. Although APIs are designed for programmers, they are ultimately good for users because they guarantee that all programs using a common API will have similar interfaces. This makes it easier for users to learn new programs.
A small program that runs on a server, the term usually refers to a Java applet that runs within a Web server environment. This is analogous to a Java applet that runs within a Web browser environment.
Java servlets are becoming increasingly popular as an alternative to CGI programs. The biggest difference between the two is that a Java applet is persistent. This means that once it is started, it stays in memory and can fulfill multiple requests. In contrast, a CGI program disappears once it has fulfilled a request. The persistence of Java applets makes them faster because there's no wasted time in setting up and tearing down the process.
A program designed to be executed from within another application. Unlike an application, applets cannot be executed directly from the operating system. With the growing popularity of OLE (object linking and embedding), applets are becoming more prevalent. A well-designed applet can be invoked from many different applications.
Web browsers, who are often equipped with Java virtual machines, can interpret applets from Web servers. Because applets are small in files size, cross-platform compatible, and highly secure (can’t be used to access users' hard drives), they are ideal for small Internet applications accessible from a browser.
Occurring on the server side of a client-server system. For example, on the World Wide Web, CGI scripts are server-side applications because they run on the Web server. In contrast, JavaScript scripts are client-side because they are executed by your browser (the client). Java applets can be either server-side or client- side depending on which computer (the server or the client) executes them.
SCAD ENGINEERING COLLEGE CSE DEPARTMENT
Packet switched network means that data traveling on the network is broken into chunks called packets and each packet is handled separately.
The socket is a software abstraction used to represent the terminals of a connection between two machines or processes.
20.What the Socket Object does?
Socket object is the java representation of a TCP connection when a socket is created; a
SCAD ENGINEERING COLLEGE CSE DEPARTMENT
connection is opened to the specified destination.
ServerSocket represents a listening TCP connection. Once an incoming connection is requested, the ServerSocket object will return a Socket object representing the connection.
DatagramSocket represents a connectionless datagram socket. This class works with the DatagramPacket class to provide for communication using the UDP protocol.
This exception is raised when a connection is refused at the remote host. (ie, no process is listening on that port).
Multicasting sends data from one host to many different hosts, which are in the multicast group.
A multicast address is the address of a group of hosts called a multicast group. Multicast addresses are IP addresses in the range 224.0.0.0 to 239.255.255.
Unicast address: It is used for transmitting a message to single destination node Multicast address: It delivers a message to a group of destination nodes, which are necessarily in the same sub network.
Broadcast address: It transmits a message to all nodes in a sub network.
Protocol handlers are used to retrieve the web objects using application specific protocols. The protocols are specified in the URL referencing the object.
Four different classes in the java.net package implement the protocol handlers:
29.What are the methods for parsing URLs?
SCAD ENGINEERING COLLEGE CSE DEPARTMENT
idea is that the new component simply plugs in to the existing system. For example, there are number of plug-ins for the Netscape Navigator browser that enable it to display different types of audio or video messages. Navigator plug-ins are based on MIME file types.
JDBC Part of the Java Development Kit which defines an application-programming interface for Java for standard SQL access to databases from Java programs.
XML is a meta-markup language that provides a format for describing structured data. This facilitates more structured declarations of content and more meaningful search results across multiple platforms.
A DTD is a set of rules that specifies how to use XML markup. It contains specifications for each element, including what the element's attributes are, what values the attributes can take on and what elements can be contained in others.
XML markup element?
1.The start of XML markup elements is identified by either the less than symbol (<) or the ampersand (&) character
2.Three other characters, the greater than symbol (>), the apostrophe or single quote (‘) and the double quotation marks (“) are used by XML for markup.
3.To use these special characters as content within your document, you must use the corresponding general XML entity.
The global.asa file is a Active Server Application file you can track and manage the application and session events, variables and objects. When you start the application the server will load the global.asa file into memory.
8. Define response object and list its methods.
The response object transmits information from the web server to browser. Methods are:
SCAD ENGINEERING COLLEGE CSE DEPARTMENT
1.Write
2.BinaryWrite
3.Redirect
4.AppendToLog
5.AddHeader
6.Clear
7.Flush
10.List any two mouse events? l. onMouseUp a. onMouseDown b. onMouseOver
HTML XML
1.HTML only displays and focuses on how XmHl
data looks Describes and focuses on the data
4.HTML tags are predefined user must not invent
his tags
XML tags are not predefined user must invent his
tags
SCAD ENGINEERING COLLEGE CSE DEPARTMENT
19. Define XHTML
· XHTML is an effort by the W3C to replace HTML with more flexible approach to displaying
web content.
· It differs from HTML in that it is based on XML,not SGML.
20. What is XSLT?
XSLT is an XML-based language used to transform XML documents into other formats
such as HTML for Web display, WML for display on WAP devices.
21.what are the use of XLink,Xpath,Xquery
· Xlink-enadlebirectional web linking.
· Xpath used to navigate XML tree structure.
· Xquery brings database query processing to XML.
22.What is metadata?
· Metadata includes the indexing and organization required to retrieve library material such as
book by author,title,or subject.
· Metadata:Information about information.
1.What is SOAP?
SOAP
· SOAP is an XML-based protocol for exchanging information in a decentralized, distributed
environment.
· SOAP defines XML envelope for delivering XML content across HTTP as well
as other protocols and specifies a set of rules for servers to follow when receiving a SOAP
message.
2.Define XML-RPC?
XML-Remote Procedure Call is aprotocol for doing remote procedure calls over the web
where the information about what procedure to call and what parameters to pass are encoded as XML
in the body of an HTTP POST requests to a server.
3. What is meant by SOAP Fault?
· The SOAP Fault information item is used to carry error and status information within a
SOAP message.
· SOAP Fault MUST appear as a direct child of the SOAP body and MUST NOT appear more
than once within a SOAP body.
SCAD ENGINEERING COLLEGE CSE DEPARTMENT
4.What is meant by SOAP Actors?
· If the SOAP actor attribute is not present in a header, then the recipient of the message is
considered the final destination.
· If the application is not the ultimate destination of the message, then it must remove all header
elements intended for it before forwarding the message.
5. Define SOAP with attachments
A binding for a SOAP message that allows additional information to be transported with the
message using HTTPs multi part messaging.DTDsstylesheets,and digital digest to be sent as
auxiliary information with a single SOAP message.
6.Write about SOAP design Patterns.
Architectural design patterns capture the proven experience of software architectures in the
form of architectural patterns, each with distant properties that address different architectural design
patterns.
7.Write about SOAP message structure
The SOAP Envelop : the outermost element of a SOAP message. The envelope element is
the root of the XML document that defines a SOAP message.
The SOAP Header : An optional,yet key element in architects a distributed systems around
XML.
The SOAP Body : An element that must appear in a SOAP message
8.What is SOAP message
a body section that contains the message content.
SOAP consists of three parts
describes message content.
Web services is a set of protocols that builds on the global connectivity made possible by SOAP and
the synergies of XML and HTTP.It is the important approach to software discovery and it is
decentralized, loosely coupled.
SCAD ENGINEERING COLLEGE CSE DEPARTMENT
1.Explain and details about basics of java programming.
2.Explain and details about interfaces and inheritances.
Interfaces:
Inheritances:
3.Describe in detail about thread and exception handling.
Exception handling:
SCAD ENGINEERING COLLEGE CSE DEPARTMENT
Threads:
4.write an short notes on packages.
5.Explain and details about string handling.
6.Explain and details about streams.
7.Explain and details about an applets.