What are the benefits of Bean pooling?A Bean instances are created during startup, thus avoiding the expense of creation, each time a client requests it. B Bean pooling allows load distribution over several machines. C Bean pooling is the container’s way of balancing load - moving future requests from client to a different machine, if load increases are encountered. D Allows a container to use beans as flyweights.
Choices A and D are correct.
What are the valid life-cycle states an Entity Bean can exist in?A Does Not Exist, Pooled, Method Ready B Does Not Exist Ready, Ready (in TX), Passivated C Does Not Exist, Method Ready Pool D Does Not Exist, Pooled, Ready
Answer: D
A company has a third party billing system that provides C++ API access. In the current architecture, a daemon process listens on a specified port on the server for incoming payloads. The incoming payloads are then decoded to the form command data. Once the command is known, the process calls the appropriate API with the data. The company is trying to move to a Java based solution. However, until the billing system is upgraded, they will still need to use the C++ bases APIs.What
Answer: A
Which of the following statements are true?A The java.text package contains classes and interfaces for handling text in a locale-sensitive way. B The java.text package contains the Locale class and classes for Date and Time. C The java.util package contains classes for importing and exporting non-Unicode character data. D The java.util package contains the Locale class and classes for Date and Time
Choices A and D are correct.
The representation of a set of cultural and language preferences is done using which class?A java.util.LanguagePreference B java.text.MessageFormat C ResourceBundle D Locale
Answer: D
Heaven’s Stairway, an e-auction house allows sellers to put up items for sale. Potential buyers can subscribe an interest in these items. When somebody updates the cost with a higher price, the new price information is sent to a JMS based middleware. The MOM then intimates all subscribers of the event. What design pattern is illustrated in the discussion here?A Service to Worker B Fast Lane Reader C Observer D Visitor E Publish/Subscribe
Answer: C
In JMS based applications components never interact with each other directly. The messages are always sent to the MOM and the MOM stores and forwards them to the recipients. This concept helps avoid explicit references and promotes loose coupling. The MOM is acting as a/an:A Interpreter B Visitor C Mediator D Service Locator E Service to Worker
Answer: C
Compact Computers is a small computer assembly company. Its online application allows customers to pick and choose accessories to build their own PCs. The accessories are:i. Processor - 800Mhz, 1Ghz, 1.2Ghz ii. HDD - 40 GB, 60 GB, 80 GB iii. Memory - 128 MB, 256 MB, 512 MBCustomers choose parts and quantities during the order. For example, a customer could choose a second HDD as a secondary hard drive or purchase additional RAM. What design pattern may be optimal for implementing a suitable
Answer: B
Doomingdale’s has an online application where customers may browse the latest season’s catalogs. At this time no e-commerce is planned. What J2EE technology is best suited for this application. Note that a study of Internet traffic over the last two years in a similar company indicated that the site can expect up to five hundred thousand hits a day although during Thanksgiving, when sales are at the highest, it could get ten to twenty times higher, perhaps even more.A Java
Answer: E
Hiatus Regency is a popular resort hotel. It has four regional headquarters in the U.S. There is also a national headquarters in Gaithersburg, MD. All calls made to the toll-free 800 numbers are routed to the nearest call center. If the requested city falls outside the region, the call gets rerouted from the call center appropriately. Hiatus requires a nightly update of all transactions to the national headquarters for nationwide batch reporting. What J2EE technology may be best suited
Answer: F
View page << Previous 1 [2] 3 4 5 6 7 8 9 10 Next >>

Go Top