Java Web Services and Distributed Systems
Questions covering Java web technologies including servlets, HTTP, CORBA, and distributed object systems
Questions
Which of the following provides the basic skeleton and plumbing, which means that you focus on the layout and look of each room?
- Java swing
- Java applet
- Java struts
- 2D API
- Datagram Packet class
In which of the following object activation models is only one object active in the server?
- Unshared server
- Persistent server
- Shared server
- OrbixWeb
- Object life cycle
Which of the following implements a local object, which forwards all requests to the remote objects?
- StockHelper.java
- StockHolder.java
- javax.swing.text.rtf
- _StockStub.java
- Stock
Which of the following can be used in order to dynamically update the totals on your shopping cart, without forcing the user to click update, and wait for the server to resend the entire page?
- Java applet
- Ajax
- Java swing
- JSlider
- InetAddress class
Which of the following must not be used to perform updates because it breaks the HTTP specification?
- POST
- init()
- GET
- contains header(java.lang.String.name)
- 1xx
Which of the following CORBA services decouples the communication between distributed objects?
- StackFrame class
- Websphere
- Object life cycle
- Transaction
- Event
Which of the following HttpServletRequest methods returns an empty enumeration object, if the request did not include any headers of the specified name?
- getHeaderNames()
- addHeader(java.lang.String name,java.lang.String value)
- containsHeader(java.lang.String name)
- getHeaders(java.lang.String name)
- destroy()
Which of the following CORBA services provides a locking service for CORBA objects in order to ensure serializable access?
- Object life cycle
- Events
- OrbixWeb
- Portable object adapter
- Concurrency control
Which of the following is/are most popularly used for generating dynamic content on the web and have native support for HTTP?
- Java applet
- Java servlets
- Java swing
- JScrollPane
- ContentHandler class
If the request does not have a header of the specified name, which of the following HttpServletRequest methods returns - 1?
- getHeaderNames()
- getHeader(java.lang.String name)
- getIntHeader(java.lang.String name)
- containsHeader(java.lang.String name)
- service()
Which of the following is a distributed object in the GUI that presents the stock data to the user for a particular stock?
- StockPresentation
- Stock
- Alarm
- Object life cycle
- StockHolder.java
Which of the following browsers has a version of VisiBroker embedded in them?
- WebSphere
- Event
- Java 2 ORB
- Lynx browser
- Netscape communicator browser
Which of the following CORBA services supports the finding of CORBA objects based on properties describing the service offered by the object?
- Trader
- Event
- Object life cycle
- Java 2 ORB
- Stock
In which of the following object activation models does each request result in the creation of a server?
- Shared server
- Persistent server
- Server per method
- Websphere
- Portable object adapter