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 programming languages
  1. Internet explorer

  2. Safari

  3. Firefox

  4. Netscape navigator

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

Netscape Navigator was the first browser to incorporate Java technology in 1995, through the Java applet API. Internet Explorer, Safari, and Firefox came later. This partnership between Sun and Netscape was crucial for Java's early adoption on the web.

Multiple choice technology web technology
  1. Users and Software should be granted the fewest privledges necessary to perform their tasks

  2. System access should be permitted only where explicitly granted; the default should be to deny access

  3. The system configuration should be as simple as possible

  4. System access should be restricted only where explicitly necessary; the default should be to grant access to everything

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

Security best practices follow the principle of least privilege (fewest access rights necessary) and default deny. Option D describes the opposite approach (default grant access), which violates security principles.

Multiple choice technology web technology
  1. Expose an Integration Server service as a Web Service

  2. Chain 2 Web Services together

  3. Invoke a Web Service on a different web server

  4. Invoke an Integration Server service on a remote server

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

A Web Service Connector is used to invoke/consume a web service hosted on a different server. It acts as a client to external web services. To expose an Integration Server service as a web service, you would use a Web Service Provider instead.

Multiple choice technology web technology
  1. webMethods6\Servers\Broker\data\brokerservers\default

  2. webMethods6\Broker\data\awbrokers60\default

  3. webMethods6\Servers\data\awbrokers60\default

  4. webMethods6\BrokerServer\data\awbrokers60\default

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

This is a webMethods-specific file system path question. The correct path depends on the product version and installation configuration. Option B represents one such valid path structure.

Multiple choice technology web technology
  1. The JVM specified by the system CLASSPATH

  2. The JVM downloaded from the Integration Server

  3. The JVM bundled with the Developer

  4. The JVM selected during product installation

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

webMethods Developer ships with a bundled JVM and uses it by default to ensure consistent behavior. This bundled JVM is included with the product installation.

Multiple choice technology web technology
  1. pub.flow:catchException

  2. pub.flow:catchError

  3. pub.schema:validatePipeline

  4. pub.flow:getLastError

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

pub.flow:getLastError retrieves details about the last exception that occurred during flow service execution, making it the primary exception handling service. pub.flow:catchException handles exceptions but getLastError provides exception details.

Multiple choice technology web technology
  1. Change the content type of the output returned to the client of a service invoke

  2. Return an XML message in response to an XML HTTP POST request

  3. Display an HTML message in a browser

  4. Return a text document that has been previously formatted with an output template

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

The pub.flow:setResponse service in webMethods can change content types, return XML/HTML messages, and display content in browsers. However, returning a pre-formatted text document from an output template is not within its scope - setResponse handles response configuration but doesn't retrieve template-formatted documents.

Multiple choice technology web technology
  1. Control access to a Flow service

  2. Store encrypted Access Control Lists (ACLs)

  3. Restrict access to DSP, HTML and XML files

  4. Control Administrator access to the Integration Server

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

The .access file in webMethods Integration Server controls access to web-facing resources like DSP (webMethods DSP pages), HTML files, and XML files. It does NOT control Flow service access (handled by ACLs), store encrypted ACLs, or control Administrator access.

Multiple choice technology web technology
  1. An IData pipeline object is instantiated

  2. A content-handler is invoked

  3. A session is created

  4. The client posting the data is authenticated

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

When HTTP POST data arrives at webMethods Integration Server, authentication (if configured) typically happens first to establish who is making the request. Only after authentication does the server create a session, invoke content handlers, or instantiate pipeline objects.

Multiple choice technology packaged enterprise solutions
  1. Web Client

  2. Mobile Web Client

  3. Wireless Web Client

  4. Dedicated Web Client

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

Siebel Web Clients and Wireless Web Clients connect to the Siebel Application Object Manager via a web server (using the Siebel Web Server Extension). Dedicated Web Clients connect directly to the database.

Multiple choice technology web technology
  1. JSP File

  2. Plain text file

  3. SERVLET

  4. All of the above

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

The action is versatile and can include output from various sources: JSP files (for dynamic content generation), plain text or HTML files (for static content), and servlets (for programmatic output). This makes it a powerful tool for composing pages from multiple components.