J2EE Components and Deployment
Test your knowledge of J2EE/Java EE architecture including EJB components (entity, session, message-driven beans), web components (servlets, JSP), deployment files (JAR, WAR, EAR), containers, and resource management.
Questions
J2EE components are written in which language?
- C
- C++
- C sharp
- Java
Components sucha as HTML and applet embeded HTMl pages are managed, deployed in J2EE server and executed in Client machine.
- True
- False
Which of these is not a container (application componets) in J2EE ?
- Application Client
- Applet
- Java Bean
- EJB
- Web
J2ee application components can interact directly with other J2EE application components.
- True
- False
Which of these is not a web component
- Servelt
- JSP pages
- Server side utility
- Both a and b
Which of these is not a enterprise bean?
- message driven bean
- entity bean
- session bean
- page bean
Which of these xml file is used to describe the deployment settings of the components of J2EE
- Mapping
- Deployment Desciptor
- Navigation
- Component
This software component is used to implement network connectivity to an external resource manager.
- Resource Searcher
- Resource Adapter
- Resource Merger
- Resource Finder
Genrally the Database will not be accessible by this component.
- Application Client
- Applet
- Web
- EJB
This is used for connectivity to the relational Database systems.
- JMS
- Java IDL
- JDBC
- JAF
This service allowas J2EE application components to invoke external CORBA objects using IIOP protocol.
- JMS
- Java IDL
- JDBC
- JAF
J2EE application with all of its modules are delivered as this file
- .war
- .jar
- .ear
- .rar
Enterprise Bean developer performs the source code, specifies deployment descriptor to deliver an EJB ____ file
- WAR
- JAR
- EAR
- RAR
Web component developer performs the servlet source code, writes jsp, html pages, specifies the deployment desriptor and bundle all these as a ____ file
- WAR
- JAR
- EAR
- RAR
Application client developer performs the source code, specifies deployment descriptor to deliver ____ file
- WAR
- JAR
- EAR
- RAR
System administrator perform the following tasks to install and configure a J2EE application. (select the answer which is given in the correct order)
- Verify the content for J2EE specification, Configure the descriptor, Add EAR, Deploys the EAR file to J2EE server
- Configure the descriptor, Add EAR, Verify the content for J2EE specification, Deploys the EAR file to J2EE server
- Verify the content for J2EE specification,Add EAR, Configure the descriptor, Deploys the EAR file to J2EE server
- Add EAR, Configure the descriptor, Verify the content for J2EE specification, Deploys the EAR file to J2EE server
Database supported by different J2EE products cannot vary.
- True
- False
The benefits of using this bean is we don’t have to write any SQL code or use the JDBC API to perform Database operations. EJB itself will handle this.
- message driven bean
- entity bean
- session bean
- page bean