Computer Knowledge
Java Enterprise and Web Technologies
2,279 Questions
Java enterprise and web technologies questions focus on J2EE architecture, web services like SOAP, and servlet functionalities. These topics frequently appear in IT officer and specialist scale examinations. Regular practice ensures familiarity with enterprise application components.
HttpServlet methodsSOAP and web servicesEJB architecture rolesJ2EE componentsJSP servlet callingUDDI concepts
Java Enterprise and Web Technologies Questions
-
URI (Uniform Resource Identifier)
-
Entitiy body
-
Request headers
-
Response headers
-
None of the above
D
Correct answer
Explanation
This component is not present in the HTTP request.
-
Post
-
Get
-
Put
-
Head
-
None of the above
C
Correct answer
Explanation
This method stores the entity body at the location specified by the URI.
-
HttpServletRequest
-
HttpServletResponse
-
Object
-
PageContext
-
None of the above
E
Correct answer
Explanation
ServletContext API is used for application implicit object.
-
extends
-
autoFlush
-
isELIgnored
-
import
-
all of the above
E
Correct answer
Explanation
All are the JSP page directives.
-
getInitParameter()
-
getInitParameterNames()
-
object getAttribute()
-
removeAttribute()
-
none of the above
E
Correct answer
Explanation
All are the method ServletContext interface.
-
ASP.NET
-
Applet
-
Android
-
Servlet
-
Semantic Web
A
Correct answer
Explanation
ASP.NET is a server-side Web application framework designed for Web development to produce dynamic Web pages
C
Correct answer
Explanation
This tool is used when you want to document the java source file with proper comment entries.
-
Servlets
-
JavaServer Pages (JSP)
-
JavaBeans
-
None of these
B
Correct answer
Explanation
This application of Java consists of text files that combine standard HTML and new scripting tags.
-
Servlet request
-
Http servlet request
-
Servlet response
-
Http servlet response
-
is an interpreted program that runs on the client
-
tracks the number of visitors to a website
-
is a compiled program that usually runs on the client
-
collects data from visitors to a website
-
none of these
C
Correct answer
Explanation
An applet is a small application compiled to bytecode that runs on the client side, typically within a browser or JVM. While applets are interpreted at runtime, they are first compiled to bytecode before distribution. Visitor tracking and data collection are web server functions, not applet characteristics. The key distinction is that applets are pre-compiled programs delivered to clients.
-
CGI
-
ASP
-
JSP
-
HTML
-
All of the above
D
Correct answer
Explanation
HTML is the language used to write the web page. It is not active afterwards.
-
isolation between front end and back end
-
isolation between corporate and consumers
-
isolation between product and consumer
-
options 1 and 3
-
only option 2
A
Correct answer
Explanation
Business application details at front end and details of connecting them to database at back end are isolated by these servers.
-
Get method
-
Post method
-
Put method
-
Trace method
-
None of the above
C
Correct answer
Explanation
Put method is used to upload a resource or data on the web server.
-
Out
-
Request
-
Response
-
Config
-
Scope
B
Correct answer
Explanation
This request implicit object have the information about HTTP headers like cookies, form data etc.
-
public int getMaxInactiveInterval()
-
public void setMaxInactiveInterval(int interval)
-
public long getLastAccessedTime()
-
public void invalidate()
-
none of the above
B
Correct answer
Explanation
Yes, this method specifies the time between client requests before the servlet container will invalidate this session