Web Enterprise Exam Study || with Complete Solutions.
Presentation tier contains what? correct answers JSF pages, named backing bean controller
Business tier contains what? correct answers Entity, Data Access Object Enterprise (EJB)
What is annotation for Java Bean?
a. Stateless
b.Id
c.Entity
d. Name correct answers Stateless
What we use Netbean for? correct answers As an code editor
What resides in Data tier? correct answers MariaDb, Derby Db
What layer is responsible for perserving the persistent object of appplication domain? correct
answers Data layer
What aspect of Enterprise App do Java EE containters faciliate the developer? correct
answers Manage life cycle of Enterprise Java Bean
Provide access to underlying services
Statement of REST correct answers HTTP, when use well, can satisfy the 6 architectural
constraint
Advantage of web app over applet? correct answers Wep app does not involve security
implications
Web app does not require Java Plugin
Web app provides better separation of design of look and feel
JSF used to submit data, what is proper order for it? correct answers User click submit -> EL
expression sets value in Entity -> Entity Facade calls Entity Manager -> Databases updated
DB/Entity Relationship correct answers Entity - Table
Attribute - Column
Instance - Row
True about RESTful Api?
a. Jax-rs is a Java EE lib that supports dev of RESTful Api
b. They are implemented to adhere to the 6 REST constraints
c. Many Restful Api are implemented with http
d. All true
e. All wrong correct answers d. All true
How are Java Serer Faces connected to Named bean? correct answers Expression Language
True about EE annotation?
a. Remove the need for marker interfaces in at least some cases
b. Replace deployment for most purpose
, c. It is possible to create custom annotation
d. Allow app setting to be visible in the source of the component affected
e. All wrong
f. All true correct answers f. All true
What Java clients manages? correct answers Presentation Layer
Is the purpose of java container to package classes? correct answers No, it's the wrong
concept for container
GlassFish server databses?
a. SQL
b. MySQL
c. Derby correct answers c. Derby
Annotation for class definition? correct answers Stateless, Stateful, Singleton
ORM deals with? correct answers Mapping object in Object Oriented to relational Databases
What EE (Enterprise Edition) is? correct answers Container based
Focus on meeting user need: Business logic, persistence
No static void main()
App deployed by server
SE (Standard Edition) correct answers All important or artifacts on classpath needed to be
handled: Multithreading, network, protocol
Web Container correct answers Manage execution of component
Handle web page, Servlet, JSP/JSF
EJB (Enterprise Java Beans) correct answers Manage execution of ejb component
Handle persistence to db + Business logic
App Client correct answers Additional component that allows Java SE apps to interact with
Server (lookup/remove invocation)
Applet correct answers Manage execution of component Applet
Run in a browser's Java Plugin
Avoided due to security
What is POJO? correct answers Plain Old Java Object
Java Bean correct answers Java Bean are POJO with properties of getter/setter
Stateless session beans correct answers Does not maintain a conversational state with the
client
Stateless session beans are dedicated to one client.
Presentation tier contains what? correct answers JSF pages, named backing bean controller
Business tier contains what? correct answers Entity, Data Access Object Enterprise (EJB)
What is annotation for Java Bean?
a. Stateless
b.Id
c.Entity
d. Name correct answers Stateless
What we use Netbean for? correct answers As an code editor
What resides in Data tier? correct answers MariaDb, Derby Db
What layer is responsible for perserving the persistent object of appplication domain? correct
answers Data layer
What aspect of Enterprise App do Java EE containters faciliate the developer? correct
answers Manage life cycle of Enterprise Java Bean
Provide access to underlying services
Statement of REST correct answers HTTP, when use well, can satisfy the 6 architectural
constraint
Advantage of web app over applet? correct answers Wep app does not involve security
implications
Web app does not require Java Plugin
Web app provides better separation of design of look and feel
JSF used to submit data, what is proper order for it? correct answers User click submit -> EL
expression sets value in Entity -> Entity Facade calls Entity Manager -> Databases updated
DB/Entity Relationship correct answers Entity - Table
Attribute - Column
Instance - Row
True about RESTful Api?
a. Jax-rs is a Java EE lib that supports dev of RESTful Api
b. They are implemented to adhere to the 6 REST constraints
c. Many Restful Api are implemented with http
d. All true
e. All wrong correct answers d. All true
How are Java Serer Faces connected to Named bean? correct answers Expression Language
True about EE annotation?
a. Remove the need for marker interfaces in at least some cases
b. Replace deployment for most purpose
, c. It is possible to create custom annotation
d. Allow app setting to be visible in the source of the component affected
e. All wrong
f. All true correct answers f. All true
What Java clients manages? correct answers Presentation Layer
Is the purpose of java container to package classes? correct answers No, it's the wrong
concept for container
GlassFish server databses?
a. SQL
b. MySQL
c. Derby correct answers c. Derby
Annotation for class definition? correct answers Stateless, Stateful, Singleton
ORM deals with? correct answers Mapping object in Object Oriented to relational Databases
What EE (Enterprise Edition) is? correct answers Container based
Focus on meeting user need: Business logic, persistence
No static void main()
App deployed by server
SE (Standard Edition) correct answers All important or artifacts on classpath needed to be
handled: Multithreading, network, protocol
Web Container correct answers Manage execution of component
Handle web page, Servlet, JSP/JSF
EJB (Enterprise Java Beans) correct answers Manage execution of ejb component
Handle persistence to db + Business logic
App Client correct answers Additional component that allows Java SE apps to interact with
Server (lookup/remove invocation)
Applet correct answers Manage execution of component Applet
Run in a browser's Java Plugin
Avoided due to security
What is POJO? correct answers Plain Old Java Object
Java Bean correct answers Java Bean are POJO with properties of getter/setter
Stateless session beans correct answers Does not maintain a conversational state with the
client
Stateless session beans are dedicated to one client.