Exam Details

Subject java web technologies (jwt)
Paper
Exam / Course mca
Department
Organization Gujarat Technological University
Position
Exam Date May, 2019
City, State gujarat, ahmedabad


Question Paper

1
Seat No.: Enrolment
GUJARAT TECHNOLOGICAL UNIVERSITY
Integrated MCA SEMESTER- IX • EXAMINATION SUMMER 2019
Subject Code:4490602 Date: 04-05-2019
Subject Name: Java Web Technologies
Time: 02.30 pm to 5.00 pm Total Marks: 70
Instructions:
1. Attempt all questions.
2. Make suitable assumptions wherever necessary.
3. Figures to the right indicate full marks.
Q.1

Do as Directed.
How to print in our page?
ii) Give one difference between response.sendRedirect() and RequestDispatcher.
iii) List content found in first line Status-line) of response message.
iv) Explain any one HttpServletRequest and HttpServletResponse method.
v)What is the role of deployment descriptor file?
01
01
01
02
02

Say TRUE or FALSE using justification.
response.setHeader("Refresh","2") will refresh page after every 2 minutes.
ii) include file= …> and <jsp:include page=""> are same.
iii) Status codes 4xx represents redirection.
iv) Default Maximum age of Cookie object is unlimited.
It is always suggested to put the Java Bean class in WEB-INF/classes folder.
vi) web.xml file is case sensitive.
vii) ServletConfig object is one per servlet class, while ServletContext object is one
per web application.
07
Q.2

What is Servlet? Describe in your words Servlet Life Cycle with filter.
07

Define Cookie. How to create, read and delete cookie
07
OR

What is the need for session tracking? List different ways in which session tracking can be implemented. Discuss any one in detail.
07
Q.3

What is JSTL? Explain c:forEach, c:when, c:choose in detail.
07

Write code which will implement
create bean class for Account (AccNo, Name, Balance)
ii) Implement JavaBeans in JSP using <jsp:useBean>, <jsp:getProperty>, <jsp:setProperty>
03
04
OR
Q.3

Give example and explain different ways of setting Bean Properties with input parameters?
07

Differentiate between
<jsp:forward> and, <jsp:include>
ii) Session Cookies and Persistent Cookies
03
04
Q.4

What is the use of filter? Explain using suitable example steps to implement filter, which will pre process request.
07

Servlets are more useful for programming task while JSPs are more useful for generating output Justify your answer with usage of requestDispatcher and appropriate example.
07
OR
Q.4

What is the importance of MVC architecture? Explain MVC implementation using Request Dispatcher.
07

Compare ServletContextListener and HttpSessionListener.
07
Q.5

Discuss Spring bean's lifecycle.
07
2

Servlet uses two generalize methods doGet and doPost in its lifecycle service() method. Which is to be used when Justify your answer by giving difference between both of them.
07
OR
Q.5

Explain Terms (ANY TWO) POJO, Spring Container IoC, DI
07

What is Expression Language(EL)? List benefits of EL? How to use EL?
07



Subjects

  • advance database management system
  • advanced biopharmaceutics & pharmacokinetics
  • advanced medicinal chemistry
  • advanced networking (an)
  • advanced organic chemistry -i
  • advanced pharmaceutical analysis
  • advanced pharmacognosy-1
  • advanced python
  • android programming
  • artificial intelligence (ai)
  • basic computer science-1(applications of data structures and applications of sql)
  • basic computer science-2(applications of operating systems and applications of systems software)
  • basic computer science-3(computer networking)
  • basic computer science-4(software engineering)
  • basic mathematics
  • basic statistics
  • big data analytics (bda)
  • big data tools (bdt)
  • chemistry of natural products
  • cloud computing (cc)
  • communications skills (cs)
  • computer aided drug delivery system
  • computer graphics (cg)
  • computer-oriented numerical methods (conm)
  • cyber security & forensics (csf)
  • data analytics with r
  • data mining
  • data structures (ds)
  • data visualization (dv)
  • data warehousing
  • data warehousing & data mining
  • database administration
  • database management system (dbms)
  • design & analysis of algorithms(daa)
  • digital technology trends ( dtt)
  • discrete mathematics for computer science (dmcs)
  • distributed computing (dc1)
  • drug delivery system
  • dynamic html
  • enterprise resource planning (erp)
  • food analysis
  • function programming with java
  • fundamentals of computer organization (fco)
  • fundamentals of java programming
  • fundamentals of networking
  • fundamentals of programming (fop)
  • geographical information system
  • image processing
  • industrial pharmacognostical technology
  • information retrieving (ir)
  • information security
  • java web technologies (jwt)
  • language processing (lp)
  • machine learning (ml)
  • management information systems (mis)
  • mobile computing
  • molecular pharmaceutics(nano tech and targeted dds)
  • network security
  • object-oriented programming concepts & programmingoocp)
  • object-oriented unified modelling
  • operating systems
  • operation research
  • operations research (or)
  • pharmaceutical validation
  • phytochemistry
  • procedure programming in sql
  • programming skills-i (ps-i-fop)
  • programming skills-ii (ps-oocp)
  • programming with c++
  • programming with java
  • programming with linux, apache,mysql, and php (lamp)
  • programming with python
  • search engine techniques (set)
  • soft computing
  • software development for embedded systems
  • software engineering
  • software lab (dbms: sql & pl/sql)
  • software project in c (sp-c)
  • software project in c++ (sp-cpp)
  • software quality and assurance (sqa)
  • statistical methods
  • structured & object oriented analysis& design methodology
  • system software
  • virtualization and application of cloud
  • web commerce (wc)
  • web data management (wdm)
  • web searching technology and search engine optimization
  • web technology & application development
  • wireless communication & mobile computing (wcmc)
  • wireless sensor network (wsn)