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
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.
-
Use of non Parameterized API
-
Unauthorised access to any webpage /webdata directly or indirectly.
-
Ignoring the updates to install.
-
None of the Above.
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.
-
Mule ESB
-
JBoss ESB
-
Websphere ESB
-
SOPERA ASF
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.
B
Correct answer
Explanation
LegStar is an open-source mainframe integration solution that connects legacy systems with modern applications. LDAP is an authentication protocol, WSRR is IBM's proprietary registry, and ERLANG is a programming language - none are mainframe integration tools.
-
jBPM
-
Intalio
-
Activity
-
Bonita
A
Correct answer
Explanation
jBPM (JBoss Business Process Management) is the default BPM tool for JBoss ESB, providing workflow automation and process management capabilities. It's part of the JBoss community project and integrates seamlessly with JBoss ESB.
-
Websphere
-
JBoss
-
Liferay
-
None of the above
A
Correct answer
Explanation
IBM WebSphere is a proprietary commercial portal and application server platform requiring licensing fees. JBoss and Liferay are both open-source portal solutions with community and enterprise editions.
-
It is Open Source
-
It is based on latest Java and Web 2.0 technologies
-
It is built on CMS and collaboration tools
-
None of the above
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.
-
JBoss
-
Apache
-
Red Hat
-
None of the above
-
All of the above
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.
-
Apache CXF
-
Apache Axis
-
Apache Axis 2
-
JBoss Web Services
-
Metro Web Services
C
Correct answer
Explanation
WSO2 ESB is built on Apache Axis2 as its underlying Web Services framework. Axis2 provides the core messaging and SOAP processing capabilities that power WSO2's integration middleware.
-
Apache Aries
-
Apache Felix
-
Eclipse Equinox
-
Eclipse Virgo
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.
-
JBOSS AS 4.2.3 GA.
-
JBOSS AS 5.1.0 GA.
-
JBOSS AS 6.0.0 Final.
-
JBOSS 7.0.0. Alpha 1.
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.
-
Apache ServiceMix
-
Apache Synapse
-
Open ESB
-
JBoss ESB
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.
-
JBI
-
JMS
-
JCA
-
JMX
-
All of the above
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.
-
JBI
-
JMS
-
JCA
-
JMX
-
All of the above
E
Correct answer
Explanation
Fuse ESB is based on Apache ServiceMix and supports a wide range of enterprise standards including Java Business Integration (JBI), JMS for messaging, JCA for resource adapters, and JMX for management.
-
Apache Deer
-
Apache Crocodile
-
Apache Zebra
-
Apache Camel
-
Apache Elephant
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.