Tag: architecture

Questions Related to architecture

Multiple choice technology architecture
  1. Supports resource injection removing the burden of creating and initializing common resources in a Java runtime environment.

  2. Simplifies development/deployment of web services through annotations.

  3. Supports both SOAP 1.1 and SOAP 1.2

  4. A JAX-WS client can access a web service that is not running on the Java platform, and vice versa.

  5. None of the above.

Reveal answer Fill a bubble to check yourself
E Correct answer
Multiple choice technology architecture
  1. Message-Driven beans are just a new way of describing a JMS message. This has been formalized with the EJB 2.0 specification.

  2. A Message-Driven bean is an enterprise bean that allows J2EE applications to process messages asynchronously.

  3. A Message-Driven bean is an enterprise bean that allows J2EE applications to process messages synchronously.

  4. A Message-Driven bean is used when you need to interact with messaging systems other than JMS.

  5. 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.

Reveal answer Fill a bubble to check yourself
B Correct answer
Multiple choice technology architecture
  1. 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.

  2. Message-Driven beans don't have a home interface.

  3. A Message Driven bean is different from Session Bean because its state is persisted.

  4. Clients do not access Message-Driven beans through interfaces.

Reveal answer Fill a bubble to check yourself
B,D Correct answer
Multiple choice technology architecture
  1. Java Persistence API

  2. CMP entity bean

  3. BMP entity bean

  4. DAO

Reveal answer Fill a bubble to check yourself
A Correct answer