Computer Knowledge

Java Enterprise and Web Technologies

2,183 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 web technology
  1. Application Server

  2. Web Server

  3. Database Server

  4. Messaging Server

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

Apache is a web server software that serves web content over HTTP/HTTPS. It's the most widely used web server software, not an application server, database server, or messaging server.

Multiple choice technology web technology
  1. Starts Apache in verbose mode with maximum logging.

  2. Has no impact on Apache and has been discontinued as of Apache 1.2.6.

  3. Displays the version of Apache and the build date and exits.

  4. Disables virtual hosting for the specified virtual host name.

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

In Apache HTTP Server, running the executable with the -v option prints the version of the Apache server and its build date, and then immediately exits without starting the daemon.

Multiple choice technology programming languages
  1. The Session is not valid in the new Window

  2. The Session is valid in the new Window

  3. The Scope is not valid in the new Window

  4. The Scope is valid in the new Window

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

When a new window is opened from an existing page via a link or script, the browser sends the same session cookie (JSESSIONID) in the request headers. Thus, the session remains valid and shared in the new window.

Multiple choice technology programming languages
  1. getServletInfo()

  2. getInitParameters()

  3. getServletConfig()

  4. None of the above

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

The getServletConfig() method is inherited from GenericServlet and returns the ServletConfig object passed to the init method, allowing access to initialization parameters and the servlet context.

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.