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 general knowledge science & technology
  1. True

  2. False

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

By default, servlet containers use a single servlet instance to handle multiple requests concurrently, each in its own thread. This multithreaded model improves performance and resource utilization. To make a servlet thread-safe (single-threaded), you must implement the SingleThreadModel interface.

Multiple choice general knowledge science & technology
  1. Use of non Parameterized API

  2. Unauthorised access to any webpage /webdata directly or indirectly.

  3. Ignoring the updates to install.

  4. None of the Above.

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

Insecure Direct Object References occur when an application exposes internal object references (like database keys, file paths, or directory entries) without proper access control validation. Option (B) 'Unauthorised access to any webpage/webdata directly or indirectly' describes this - attackers manipulate direct object references to access unauthorized data. Option (A) relates to injection, (C) is about patching, and (B) correctly describes IDOR.

Multiple choice general knowledge science & technology
  1. Mule ESB

  2. JBoss ESB

  3. Websphere ESB

  4. SOPERA ASF

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

Mule ESB, JBoss ESB, and SOPERA ASF are all open-source Enterprise Service Bus implementations. Mule ESB (now MuleSoft) is a widely used open-source integration platform. JBoss ESB was the open-source ESB from Red Hat (now superseded by JBoss Fuse). SOPERA ASF is also an open-source ESB. Websphere ESB, however, is IBM's commercial (proprietary) offering and is not open-source.

Multiple choice general knowledge science & technology
  1. It is Open Source

  2. It is based on latest Java and Web 2.0 technologies

  3. It is built on CMS and collaboration tools

  4. None of the above

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

All statements about Liferay are true: it is open source, based on Java and Web 2.0, and built on CMS and collaboration tools. Therefore 'None of the above' (meaning none are false) is correct.

Multiple choice general knowledge science & technology
  1. JBoss

  2. Apache

  3. Red Hat

  4. None of the above

  5. All of the above

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

jBPM was originally created by Tom Baeyens as an open-source project before being acquired by JBoss. JBoss itself was later acquired by Red Hat in 2006. Red Hat currently manages and develops the project as part of its middleware portfolio.

Multiple choice general knowledge science & technology
  1. Apache Aries

  2. Apache Felix

  3. Eclipse Equinox

  4. Eclipse Virgo

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

Fuse ESB (part of Apache ServiceMix) uses Eclipse Equinox as its default OSGi container implementation. This is a well-documented architectural choice in the Fuse ESB documentation. Apache Felix and Apache Aries are alternative OSGi implementations but not the default for Fuse.

Multiple choice general knowledge science & technology
  1. JBOSS AS 4.2.3 GA.

  2. JBOSS AS 5.1.0 GA.

  3. JBOSS AS 6.0.0 Final.

  4. JBOSS 7.0.0. Alpha 1.

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

JBOSS ESB 4.x was officially tested and certified against JBOSS AS 4.2.3 GA and 5.1.0 GA application servers. These are the documented compatibility targets in JBOSS ESB 4.x release notes. Version 6.0.0 and JBOSS 7 (which introduced modular classloading) came later and are not supported for ESB 4.x.

Multiple choice general knowledge science & technology
  1. Apache ServiceMix

  2. Apache Synapse

  3. Open ESB

  4. JBoss ESB

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

WSO2 ESB is built on Apache Synapse, a lightweight and high-performance ESB framework that provides the core mediation and routing capabilities. This architectural choice is fundamental to WSO2 ESB's design. Apache ServiceMix is a separate ESB project (JBI-based), and Open ESB is another distinct implementation.

Multiple choice general knowledge science & technology
  1. JBI

  2. JMS

  3. JCA

  4. JMX

  5. All of the above

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

FUSE ESB supports multiple integration standards including JBI (Java Business Integration), JMS (Java Message Service), JCA (Java Connector Architecture), and JMX (Java Management Extensions). Since the question asks which standards are supported and all listed options are valid standards that FUSE ESB implements, 'All of the above' is the correct comprehensive answer.

Multiple choice general knowledge science & technology
  1. Apache Deer

  2. Apache Crocodile

  3. Apache Zebra

  4. Apache Camel

  5. Apache Elephant

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

Fuse ESB uses Apache Camel as its framework for implementing Enterprise Integration Patterns (EIP). Apache Camel provides a powerful routing and mediation engine with support for numerous integration patterns. The other animal names (Deer, Crocodile, Zebra, Elephant) are fictional distractors.