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

  2. TX_SUPPORTS

  3. Optimized method invocation

  4. Transaction

  5. TX_REQUIRED

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

In this mode of transaction management provided by EJB, if the client has a transaction open when it invokes the bean's method, the bean runs the client's transaction context otherwise the container starts a new transaction.

Multiple choice
  1. Deployment descriptor

  2. Deployer

  3. EJB server provider

  4. Instance passivation

  5. OrbixWeb

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

This EJB architecture role takes one or more ejg-jar file produced by a bean provider and deploys the enterprise beans contained in the ejb-jar files in a specific operational environment.

Multiple choice
  1. This is a tool used for performing manual or intelligent decoding and encoding of application data.

  2. This tool automatically manage the proxies for web applications.

  3. This tool performs the enumeration of web application's functionality.

  4. All of the above.

  5. Both (1) and (2).

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

Decoder provides the encryption like security to the web application data by performing the coding and decoding of data.

Multiple choice
  1. This method allows us to add a name/value field to the response header.

  2. By using this method, the web server sends a special method to the browser to request another page.

  3. This method allows us to get the parameter names and values.

  4. This method can be used in HttpServletRequest interface.

  5. Both (1) and (2)

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

setHeader method is used to add name/value field for the request in the response header.

Multiple choice
  1. The getAttributeNames method returns the enumeration of Strings representing the names of the attributes and getAttribute method returns the objects bound to that name.

  2. The getAttribute method returns an integer representing the minor version of the Servlet API.

  3. The getAttribute method stores an object in the servlet context and binds the object to a given name.

  4. The getAttribute method returns the Servlet API.

  5. Both (1) and (2)

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

This is the correct statement.