Advanced Java and Enterprise Development

Advanced Java topics including networking, CORBA, JDBC, RMI, servlets, Swing, and web frameworks for enterprise application development

14 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Which of the following classes in the java.net package is used to both send and receive datagram packets?

  1. The DatagramSocket class
  2. The URL class
  3. The DatagramPacket class
  4. The StackFrame class
  5. quitEvent()
Question 2 Multiple Choice (Single Answer)

Using which of the following classes from the sun.tools.debug library, the caller can obtain information about a specific stack variable?

  1. The StackFrame class
  2. The DatagramSocket class
  3. The URL class
  4. The RemoteStackVariable class
  5. PrintToConsole()
Question 3 Multiple Choice (Single Answer)

In which of the following models for object activation defined by BOA does the server remain active until it exits?

  1. Shared server
  2. Persistent server
  3. OrbixWeb
  4. StockPresentation
  5. Portable object adapter
Question 4 Multiple Choice (Single Answer)

The pupose of which of the following classes in the java.net.URL package is to create a format for opening a stream connection to a specific URL?

  1. The URL class
  2. The DatagramSocket class
  3. ThreadDeathEvent()
  4. The StackFrame class
  5. The URLStreamHandler class
Question 5 Multiple Choice (Single Answer)

Which of the following web application frameworks is described as a collection of Java code designed to help you build solid applications so as to save time?

  1. Java bean
  2. Java applet
  3. Java strut
  4. Java 2 ORB
  5. Stock
Question 6 Multiple Choice (Single Answer)

Which of the following classes implements a socket that servers can use to listen for and accept connections to clients?

  1. The StackFrame class
  2. The DatagramSocket class
  3. ServerSocket class
  4. The URL class
  5. Stock
Question 7 Multiple Choice (Single Answer)

Which of the following technologies can also interact with multiple data sources in a distributed, heterogeneous environment?

  1. The JDBC API
  2. JDBC driver manager
  3. JDBC-ODBC bridge
  4. The JDBC URL
  5. ExecuteQuery()
Question 8 Multiple Choice (Single Answer)

Which of the following CORBA products is a popular application server with an object request broker from IBM?

  1. OrbixWeb
  2. WebSphere
  3. The java 2 ORB
  4. Events
  5. Stock
Question 9 Multiple Choice (Single Answer)

Which of the following CORBA services coordinates the transformation of CORBA objects to and from outer media?

  1. Externalization
  2. Transaction
  3. Events
  4. OrbixWeb
  5. Alarm
Question 10 Multiple Choice (Single Answer)

Which of the following components is/are usually referred to as Action classes?

  1. Model components
  2. Java beans components
  3. OrbixWeb
  4. Control components
  5. Portable object adapter
Question 11 Multiple Choice (Single Answer)

Rather than making a copy of the implementation object in the receiving Java Virtual Machine, which of the following technologies passes a remote stub for a remote object?

  1. Transaction
  2. OrbixWeb
  3. Filter
  4. Optimized method invocation
  5. Remote method invocation
Question 12 Multiple Choice (Single Answer)

Which of the following technologies executes within the address space of a web server?

  1. Java applet
  2. Java servlet
  3. Java bean
  4. Java 2 ORB
  5. Alarm
Question 13 Multiple Choice (Single Answer)

Which of the following technologies for distributed objects enables objects to interact regardless of whether they are written in the Java programming language or another language?

  1. Java IDL
  2. Java applet
  3. Java 2 ORB
  4. Java bean
  5. AlarmPresentation
Question 14 Multiple Choice (Single Answer)

In which of the following swing components, one can add components in layers, add a menu bar or paint over the component?

  1. JInternalFrame
  2. JFrame
  3. JPanel
  4. JSplitPane
  5. StockHolder.java