2015 Enterprise Architecture
2015 Enterprise Architecture
QUESTION 01
I. State three different computing paradigms currently known in the software industry.
[03 Marks]
II. Define “Service Oriented Architecture”. [03 Marks]
III. List down the key characteristics of Service Oriented architecture. [04 Marks]
IV. Differentiate between SOA and Web service. [04 Marks]
V. “Service Oriented Computing encompasses revolutionary software solutions for the
highly dynamic modern business world” Do you agree with this statement. Explain
your answer. [06 Marks]
QUESTION 02
QUESTION 03
I. What is “Servlet”? [02 Marks]
II. What do you mean by Servlet Container? List common tasks performed by Servlet
Container. [04 Marks]
III. Define “Deployment Descriptor”. [02 Marks]
IV. Briefly describe the term “Session management in servlet”. What are the different
methods of session management in servlets? [06 Marks]
V. Assume you have provided following index.html file for collecting user name.
<form method="post" action="Hello">
User Name
<input type="text"
name="txtUser"><br>
<input type="submit" value="submit">
<br>
</form>
Write the code for java Servlet which collect the request and display user name.
[06 Marks]
QUESTION 04
I. Briefly explain the advantages of using JSP over Servlets in web application
development? [04 Marks]
II. What is difference between GET and POST method in HTTP protocol? In which
situation does we use doPOST () then? [04 Marks]
III. Consider the following index.html file which take user name and password.
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JSP Page</title>
2
HNDIT2411 Enterprise Architecture 2015 2nd semester
</head>
<body>
<form method="post" action="Validate.jsp">
User Name <input type="text" name="txtUser" ><br>
Password <input type="text" name="txtPwd" ><br>
<input type="submit" value="submit"><br>
</form>
</body>
</html>
JSP Page
a. Write a JSP code to get the user name and password through request object at the server
side [02 Marks]
b. Write a JSP code to check whether the user name or password are blank or not.
[02 Marks]
c. Write a JSP code to check the user name = ‘admin’ and password =’abc@123’
[02 Marks]
IV. Briefly describe the three types of Enterprise Java Beans. [06 Marks]
QUESTION 05
I. What are the major the differences between XML and HTML. [02 Marks]
II. Why do we use a DTD in XML? [02 Marks]
III. Briefly explain the term “XML Parser”. Give 2 examples for Java XML parsers.
[04 Marks]
IV. What do you mean by Valid XML Document [02 Marks]
V.
a. Write XML code that describes the given scenario.
The root element is Vehicles. The VEHICLE element must contain one each of
items MODEL, REGNO, COLOR, and BRAND in order. The VEHICLE
element may contain an attribute called "transmissiontype" which may have a
3
HNDIT2411 Enterprise Architecture 2015 2nd semester
value of "Auto" or "Manual". The elements MODEL, REGNO, COLOR, and
BRAND all contain PCDATA which is parsed character data.
Note: Vehicle may have multiple colors
[05 Marks]
b. Design the DTD file for the above XML document. [05 Marks]
QUESTION 06
4
HNDIT2411 Enterprise Architecture 2015 2nd semester