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

Multiple choice
  1. is an interpreted program that runs on the client

  2. tracks the number of visitors to a website

  3. is a compiled program that usually runs on the client

  4. collects data from visitors to a website

  5. none of these

Reveal answer Fill a bubble to check yourself
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.

Multiple choice
  1. isolation between front end and back end

  2. isolation between corporate and consumers

  3. isolation between product and consumer

  4. options 1 and 3

  5. only option 2

Reveal answer Fill a bubble to check yourself
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.

Multiple choice
  1. public int getMaxInactiveInterval()

  2. public void setMaxInactiveInterval(int interval)

  3. public long getLastAccessedTime()

  4. public void invalidate()

  5. none of the above

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Yes, this method specifies the time between client requests before the servlet container will invalidate this session