0% found this document useful (0 votes)
2 views2 pages

Enterprise Application Development Guide

The document outlines an examination for a Higher Diploma in Software Engineering, focusing on Enterprise Application Development. It includes four main questions covering topics such as enterprise applications, Java servlets, JSP tags, and REST APIs, along with specific tasks and programming exercises. Each question is allocated a total of 25 marks, with detailed sub-questions requiring explanations, examples, and code demonstrations.

Uploaded by

detel60607
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views2 pages

Enterprise Application Development Guide

The document outlines an examination for a Higher Diploma in Software Engineering, focusing on Enterprise Application Development. It includes four main questions covering topics such as enterprise applications, Java servlets, JSP tags, and REST APIs, along with specific tasks and programming exercises. Each question is allocated a total of 25 marks, with detailed sub-questions requiring explanations, examples, and code demonstrations.

Uploaded by

detel60607
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

National Institute of Business Management

School of Computing and Engineering


Higher Diploma in Software Engineering

Enterprise Application Development 02

Answer All questions. Time Allowed: Two Hours


1. QUESTION 1 (25 Marks)
a. Describe what an Enterprise Application is? (5 Marks)
b. List down characteristics of an enterprise application. (5 Marks)
c. Explain the three-tier architecture and responsibilities of each tier using
examples. (10 Marks)
d. What is a Java Bean? List down the conventions to be followed when creating a
Java Bean? (5 Marks)

2. QUESTION 2 (25 Marks)


a. What is a java servlet? Explain servlet lifecycle using methods used in each
stage and the purpose of using servlets in a JEE application. (5 Marks)
b. What are the methods that can be used to pass/share information from one
component to another? You are allowed to use code examples. (5 Marks)
c. Write a servlet program to perform the following (15 Marks)
A manufacturing company keep track of their manufacturing wastage by
accepting raw material weight released from the stock in kilograms, number of
units manufactured and weight of one unit in grams using HTTP POST method.
Calculate the difference between raw material weight and manufactured weight.
Forward the weights and their differences to a JSP page which will calculate the
number of boxes needed to pack manufactured units for dispatching if one box
can contain a maximum of 12 units. Display the weight difference and number
of boxes needed in the JSP page. (You are not required to write code form
HTML form)

3. QUESTION 3 (25 Marks)


a. What are the types of JSP tags used in java web application? Mention their
purposes with examples. (5 Marks)
b. Write a sample program to demonstrate exception handling in JSP pages. (10
Marks)
c. Create a Java bean class to represent a car with attributes brand, model, and
price. Demonstrate how you can set and read values for bean’s attributes in JSP
Pages. (10 Marks)

Page 1 of 2
4. QUESTION 4 (25 Marks)
a. What is a web service? List down characteristics and conventions of a REST
API. (5 Marks)
b. You are requested to develop a REST API to manage product information using
suitable HTTP methods and scoping information to perform the following. (10
Marks)
i. View all products available in the application.
ii. Create a new product.
iii. View details of an existing product using id.
iv. Update details of an existing product using id.
v. Delete an existing product using id.
Note: You are expected only to mention the URL Structure, HTTP method
used.
c. What is MVC design architecture and how application components are
organized accordingly. What types of classes are used to represent each layer.
You may use diagrams to illustrate the operation of MVC architecture.

Page 2 of 2

You might also like