Java Bean and Swing

Covers Enterprise JavaBeans (EJB) architecture, transaction management, and container roles, plus Swing GUI libraries including text handling, tables, and accessibility features.

15 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

In which of the following modes 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?

  1. TX_SUPPORTS
  2. TX_REQUIRED
  3. TX_SUPPORTS
  4. Optimized method invocation
  5. Events
Question 2 Multiple Choice (Single Answer)

In which of the following task performed by server, if a container needs resources, it may choose to temporarily swap out a bean?

  1. Instance passivation
  2. Instance pooling
  3. Optimized method invocations
  4. EJB specification
  5. Naming
Question 3 Multiple Choice (Single Answer)

Which of the following EJB architecture roles is not required to be an expert at system-level programming?

  1. Deployment descriptor
  2. EJB specification
  3. Enterprise bean provider
  4. EJB server provider
  5. TX_BEAN_MANAGED
Question 4 Multiple Choice (Single Answer)

Which of the following technologies provides a rich set of user interface components including graphics and imaging tools and data transfer classes for cut and paste through the native platform clipboard?

  1. 2D API
  2. Java beans
  3. WebSphere
  4. Alarm
  5. Abstract window toolkit
Question 5 Multiple Choice (Single Answer)

Which of the following packages in the swing libraries is used specifically for reading and formatting HTML text through an ancillary editor kit?

  1. javax.swing.text.rtf
  2. javax.swing.text.html.parser
  3. 2D API
  4. javax.swing.text.html
  5. Stock
Question 6 Multiple Choice (Single Answer)

Which of the following distributed objects in the GUI belongs to distributed stock application presents the alarm going off to the user?

  1. AlarmPresentation
  2. Alarm
  3. Stock
  4. Portable object adapter
  5. Events
Question 7 Multiple Choice (Single Answer)

The input to the which of the following EJB architecture roles is one or more ejb-jar files produced by the bean provider?

  1. Deployment descriptor
  2. Application assembler
  3. EJB specification
  4. EJB server provider
  5. OrbixWeb
Question 8 Multiple Choice (Single Answer)

Which of the following tasks performed by server is a strategy commonly employed in middleware applications?

  1. Instance passivation
  2. Optimized method invocation
  3. EJB specification
  4. Database connection pooling
  5. Events
Question 9 Multiple Choice (Single Answer)

In which of the following modes of transaction provided by EJB, if the client attempts to use the bean from within a transaction, the client transaction will remain suspended until the beans complete its operation and then client's transaction resumes?

  1. TX_SUPPORTS
  2. TX_BEAN_MANAGED
  3. TX_NOT_SUPPORTED
  4. Optimized method invocation
  5. Transaction
Question 10 Multiple Choice (Single Answer)

Which of the following packages in JFC provides assistance to users who have trouble with traditional user interfaces?

  1. 2D API
  2. javax.swing.text.html.parser
  3. Accessibility
  4. Deployment descriptor
  5. WebSphere
Question 11 Multiple Choice (Single Answer)

Which of the following EJB architecture roles provides the deployment tools required to deploy enterprise beans and the runtime support for the beans?

  1. EJB server provider
  2. TX_BEAN_MANAGED
  3. EJB specification
  4. Deployment descriptor
  5. EJB Container provider
Question 12 Multiple Choice (Single Answer)

Which of the following packages in swing libraries provides score of text based classes and interfaces supporting a common design known as document/view?

  1. javax.swing.text.rtf
  2. javax.swing.text
  3. javax.swing.text.html.parser
  4. OrbixWeb
  5. 2D API
Question 13 Multiple Choice (Single Answer)

Which of the following packages in swing libraries allows you to arrange various information in a grid-based format?

  1. javax.swing.text.html.parser
  2. javax.swing.table
  3. javax.swing.text.rtf
  4. 2D API
  5. WebSphere
Question 14 Multiple Choice (Single Answer)

Which of the following EJB architecture roles understands the operational environment for distributed applications?

  1. Deployer
  2. Alarm
  3. Deployer
  4. EJB server provider
  5. EJB specification
Question 15 Multiple Choice (Single Answer)

Which of the following EJB architecture roles monitors application as it runs and takes appropriate actions if the application behaves abnormally?

  1. System administrator
  2. Deployment descriptor
  3. EJB specification
  4. OrbixWeb
  5. EJB server provider