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 technology testing
  1. ClientId

  2. jsessionid

  3. Formclass

  4. FormId

  5. ReqID

  6. Reload

Reveal answer Fill a bubble to check yourself
A,B,E,F Correct answer
Explanation

In Documentum web applications, dynamic session and request identifiers like ClientId, jsessionid, ReqID, and Reload change with each request or session and must be correlated in LoadRunner to maintain a valid session. Formclass and FormId are typically static application-level identifiers and do not require correlation.

Multiple choice technology testing
  1. SAP-Web

  2. Web(HTTP/HTML)

  3. Web(Click and Script)

  4. Web Services

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

Webtop is a web-based application that runs over HTTP/HTTPS. LoadRunner's 'Web (HTTP/HTML)' protocol is designed to record and replay web browser traffic by capturing the underlying HTTP requests, which is the correct protocol for testing Documentum's web interface.

Multiple choice technology programming languages
  1. Viewlet

  2. Applet

  3. Servlet

  4. Object

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

An Applet is a specialized Java program designed to run within web browsers, transmitted over the Internet and executed client-side. Unlike Servlets which run server-side, Applets provided early web interactivity before modern JavaScript frameworks emerged.

Multiple choice technology web technology
  1. Flex

  2. JSP

  3. Silver Light

  4. Dot net

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

Projectserver.nielsen.com uses Dot Net (Microsoft .NET) technology. This is consistent with Microsoft-based enterprise project management systems. Flex (A) and Silverlight (C) are RIA frameworks, not backend server technologies. JSP (B) is Java-based, while .NET is Microsoft's framework.

Multiple choice technology web technology
  1. Clean separation of concerns between HTML and Java

  2. Automated state management

  3. conjunction with JSP and custom tag libraries

  4. Abstraction away from Servlet API and HTTP protocol details

Reveal answer Fill a bubble to check yourself
A,B,D Correct answer
Explanation

Wicket's key benefits are: clean HTML/Java separation (pages are pure XHTML with minimal Wicket tags), automated state management (no manual HTTP session handling), and abstraction from Servlet/HTTP protocol details (developers work with Java components, not HTTP requests directly). Option C describes JSP/taglibs, which Wicket specifically avoids.

Multiple choice technology web technology
  1. It is not particularly object-oriented.

  2. You work with hierarchies of components and design your application as such.

  3. Unless you output HTML directly from your Java code you still need to learn another major technology JSP plus custom tag libraries in order to produce output HTML pages.

  4. A very clean object-oriented and component based approach.

Reveal answer Fill a bubble to check yourself
A,C Correct answer
Explanation

Struts is considered outdated because: (A) it's not truly object-oriented - Action classes are HTTP-driven rather than OO-designed; (C) it requires learning JSP and custom taglibs for HTML output. Options B and D incorrectly describe Struts - B mentions hierarchies (not a Struts strength) and D claims it's clean OO (which it is not).

Multiple choice technology web technology
  1. Each Action class defines an abstraction, but the abstraction is determined by the HTTP procotol request mechanism rather than by an object-oriented analysis

  2. Wicket is fully object-oriented. You work with hierarchies of components and design your application as such.

  3. Wicket markup files are as close to pure HTML as it is possible to get. Where Wicket does introduce content into the markup it is very clean and complies with all XHTML standards

  4. Wicket is based around intercepting each HTTP request to a web application and directing it to a specific Action class that handles the request

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

Wicket solves Struts' problems by: (B) being fully object-oriented with component hierarchies, and (C) using pure HTML markup that complies with XHTML standards. Option A describes Struts' problem (Action classes tied to HTTP), and D describes Struts' architecture (not Wicket's).

Multiple choice technology web technology
  1. JSP

  2. Servlets

  3. Ajax

  4. Applet

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

With Apache Wicket, developers get the benefits of Ajax functionality (partial page updates, dynamic content refresh) without writing raw JavaScript code. Wicket's Ajax-enabled components handle all the complex Ajax plumbing behind the scenes while you work with just Java and HTML. The correct answer is Ajax.

Multiple choice technology platforms and products
  1. WebLogic Application Server 9.x, 10.x

  2. Apache Tomcat Web server 5.5x or higher

  3. IBM WebSphere Application Server 5.1, 6.1

  4. All of the above

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

Oracle Adaptive Risk Manager is certified to run on multiple application servers including Oracle WebLogic, Apache Tomcat, and IBM WebSphere, providing deployment flexibility across different Java EE environments.

Multiple choice technology testing
  1. Standalone

  2. Server Farm

  3. Standalone & Server Farm

  4. None of the above

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

SharePoint supports two primary deployment configurations: Standalone (where all components and a basic database reside on a single machine) and Server Farm (which allows databases, application servers, and web front-ends to scale across multiple servers).

Multiple choice technology testing
  1. C:\inetpub

  2. C:\inetpub\wwwroot\wss\VirtualDirectories

  3. C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12

  4. As per user’s convenience.

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

In Microsoft SharePoint (specifically older versions like SharePoint 2007), when a new Web Application is provisioned, IIS virtual directory folders and configurations are created by default under the C:\inetpub\wwwroot\wss\VirtualDirectories folder path.

Multiple choice technology web technology
  1. Cookies

  2. A query String

  3. A URL

  4. A javascript function

  5. A hidden form field

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

Hidden form fields are ideal for storing small amounts of frequently changing page-specific data when security isn't a concern, as they persist with the page and form without the size limitations of cookies or URL complexity. Cookies have size limits (~4KB) and are sent with every HTTP request, while query strings and URLs are visible in the address bar and limited in length.

Multiple choice technology web technology
  1. In Cache

  2. In Cookies

  3. In A Global Variable

  4. In URL

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

ASP.NET stores SessionIDs in cookies by default, using a non-persistent cookie named ASP.NET_SessionId that identifies the user session across requests. The SessionID can be stored in the URL if cookieless sessions are configured, but cookies are the standard default mechanism.