Computer Knowledge

Java Enterprise and Web Technologies

2,279 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

Multiple choice
  1. It can be used to automatically generate and configure clients for accessing WCF services.

  2. It can be published over HTTP and HTTPS or using the Web Service Metadata Exchange standard.

  3. It is used to exchange the messages.

  4. All of the these

  5. Only 1 and 2 are correct.

Reveal answer Fill a bubble to check yourself
E Correct answer
Explanation

Yes, it is the correct answer.

Multiple choice
  1. It describes how client will communicate with service.

  2. It provides encoding for the transmission of messages and attachments.

  3. It defines informations, such as security, transaction or reliable messaging capability.

  4. All of the these

  5. Both 1 and 3

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

All the statements are correct about Binding service in WCF.

Multiple choice
  1. It specifies an address that defines where the endpoint is hosted.

  2. It is Console application or a Windows Service, or a Windows Forms application.

  3. It has service class that implements some service as a set of methods.

  4. Endpoints determines the security of service.

  5. Both 1 and 4

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Endpoints determines the address of the service such as url.

Multiple choice
  1. It represents an object locally which belongs to a different address space.

  2. This object represents a heavy or skeleton object as a virtual proxy object and on demand loads the real object.

  3. It provides protection to the web pages by blocking some content.

  4. It provides the client specific information to the server.

  5. Option (1), (3) and (4).

Reveal answer Fill a bubble to check yourself
E Correct answer
Explanation

These are incorrect statements.

Multiple choice
  1. It provides the client specific information to the server.

  2. This object represents a heavy or skeleton object as a virtual proxy object and on demand load the real object.

  3. It provides protection to the web pages by blocking some content.

  4. All of the above.

  5. Both (1) and (2).

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

All of these are incorrect statements about Remote Proxy object in the Proxy design pattern.

Multiple choice
  1. There is less coupling during the request sent to the receiver.

  2. There is a chaining process to manage the request for the objects.

  3. The several linked objects respond to a request or hand it off to the object next in line.

  4. The frequency of chained objects propagates from high to low.

  5. This pattern encapsulates a request as an object.

Reveal answer Fill a bubble to check yourself
E Correct answer
Explanation

It does not encapsulate the request.