Tag: architecture
Questions Related to architecture
-
Supports resource injection removing the burden of creating and initializing common resources in a Java runtime environment.
-
Simplifies development/deployment of web services through annotations.
-
Supports both SOAP 1.1 and SOAP 1.2
-
A JAX-WS client can access a web service that is not running on the Java platform, and vice versa.
-
None of the above.
-
Session bean is a POJO managed by the EJB container.
-
Stateless session beans require a home interface only.
-
Callback methods can be defined either in the bean class itself or in a bean listener class.
-
All session beans and message driven beans need to have a business interface
-
Elimination of lifecycle callback methods.
-
An interceptor facility for session beans and message-driven beans.
-
Increased requirements for usage of checked exceptions.
-
Now you can use standard SQL queries with Java Persistence API.
-
Message-Driven beans are just a new way of describing a JMS message. This has been formalized with the EJB 2.0 specification.
-
A Message-Driven bean is an enterprise bean that allows J2EE applications to process messages asynchronously.
-
A Message-Driven bean is an enterprise bean that allows J2EE applications to process messages synchronously.
-
A Message-Driven bean is used when you need to interact with messaging systems other than JMS.
-
A Message-Driven bean is like a Session Bean except that if the server is busy it will put the Message-Driven beans' method requests in a queue and execute them one at a time to reduce the load on the Application Server.
-
There is no difference in structure between Message-Driven Beans and Entity and Session Beans. They all have home, remote interfaces and a bean class.
-
Message-Driven beans don't have a home interface.
-
A Message Driven bean is different from Session Bean because its state is persisted.
-
Clients do not access Message-Driven beans through interfaces.
-
Application can be isolated from the database and the only connection to it is using the ORM framework and a JDBC driver.
-
Manageability of a Java application increases.
-
They perform faster than direct JDBC connections.
-
ORM supports same level of data access as SQL.
-
ORM does little to improve developer productivity.
-
Java Persistence API
-
CMP entity bean
-
BMP entity bean
-
DAO
-
Update web.xml
-
Use Resource Injection
-
Use annotations
-
Update ejb-jar.xml
-
Supports annotations
-
Supports resource injection
-
Simplifies enterprise bean types
-
Gives interceptor facility for session, message-driven and entity Beans