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
-
Deployer
-
EJB server provider
-
Deployment descriptor
-
TX_SUPPORTS
-
Instance passivation
A
Correct answer
Explanation
Deployer's output are enterprise beans that have been customized for the target operational environment.
-
Home interface
-
Remote interface
-
Bean managed persistence
-
Instance pooling
-
TX_BEAN_MANAGED
A
Correct answer
Explanation
The home interface for an enterprise bean defines the bean's life cycle methods.
-
Java applet
-
Java beans
-
Ajax
-
Websphere
-
Query
C
Correct answer
Explanation
With Ajax, when a user clicks a button, you can use java script and DHTML to immediately update the UI, and spawn an asynchronous request to the server to perform an update or query a database.
-
Java applets
-
Java servlets
-
OrbixWeb
-
Java beans
-
Object life cycle
B
Correct answer
Explanation
These are an efficient and powerful solution for creating dynamic content for the web.
-
Model components
-
View components
-
Java beans components
-
Portable object adapter
-
Relationships
A
Correct answer
Explanation
It is very common for model components to provide interfaces to databases or back-end systems.
-
Java 2 ORB
-
WebSphere
-
Java applet
-
Events
-
Filters
E
Correct answer
Explanation
Filters were officially introduced in the servlet 2.3 specification.
-
Java applet
-
OrbixWeb
-
Web Sphere
-
Java struts
-
Stock Presentation
D
Correct answer
Explanation
Java struts falls under the Jakarta subproject of the apache software foundation and comes with an open source licence.
-
Enterprise bean provider
-
Deployment descriptor
-
EJB server provider
-
Instance passivation
-
TX_MANDATORY
A
Correct answer
Explanation
It develops reusable enterprise beans that typically implement business tasks or business entities.
-
Stateless session bean
-
Stateful session bean
-
Java beans components
-
Java applet
-
Instance passivation
B
Correct answer
Explanation
The stateful session bean is used when the bean's state must be initialized when it is created.
-
Java beans
-
Java applet
-
WebSphere
-
Session beans
-
Instance pooling
D
Correct answer
Explanation
Session beans will disappear if the server is shutdown and restarted.
-
Deployment descriptor
-
EJB server provider
-
EJB specification
-
Preached instance
-
TX_BEAN_MANAGED
C
Correct answer
Explanation
It describes the case in which the application assembly step occurs before the deployment of the enterprise beans.
-
EJB server provider
-
Deployment descriptor
-
TX_MANDATORY
-
Instance passivation
-
Application assembler
E
Correct answer
Explanation
It is a domain expert who composes applications that use enterprise beans.
-
View components
-
Java beans components
-
Controller components
-
Concurrency control
-
OrbixWeb
C
Correct answer
Explanation
Controller components take data from the user and update a database through model components.
-
stateless session
-
entity
-
java
-
java applet
-
preached instances
B
Correct answer
Explanation
A good rule of thumb is that entity beans model business concepts that can be expressed as nouns.
-
Deployer
-
EJB server provider
-
Deployment descriptor
-
Instance passivation
-
TX_SUPPORTS
A
Correct answer
Explanation
To perform his role, the deployer uses tools provided by the EJB container provider.