ScreamWorks, a cinema multiplex, has a website from which you may download signed applets with the latest trailers, show timings and so on. The Applet works on Java 1.3 or higher. The applet needs to write user preferences to a temp file in the host machine (where it is being executed). Is that possible? Note that the client has defined a usePolicy and the java.policy has granted no persmissions for the applet A Applets cannot be used here because even signed applets are untrusted if
Answer: A
Of the following scenarios, which one may be best suited for the use of Entity Enterprise Beans?A Calculation of tax information, based on data retrieved by two other Entity Beans B To maintain shopping cart state for an online application C To retrieve product catalogs based on a search criteria D To allow concurrent access to shared data, as in the case of on an online auction house’s application.
Answer: D
Most EJB servers show high degree of availability. Server clusters are an example of how this is functionality is achieved. What key advantages might server clusters offer in an EJB environment?A Load distribution B Location transparency C Caching capability D Load balancing capability E 2PC (Two phase commit) capability
Choices A and D are correct.
Status Quo is an emerging B2C company that has a portal through which customers can purchase clay jewelry. Since the order process involves a shopping cart, session management and secure access are required. How would you manage this?A Use HTTP since it is a stateful protocol B Use HTTPS since it is a stateful protocol C Use SOAP for state and security management. D Use CGI with cookies for state management.
Answer: B HTTPS is a secure and stateful protocol.
Chocolat, an exotic chocolate maker in France is planning to provide an e-front for chocolate sales. FedEx would ship the packages to various national and international locations. In order to customize the customer’s interaction with the system and to make his / her overall shopping experience more pleasant, Chocolat has decided to support Internationalization.What are some of the common things they would need to consider?A Language for messages. B Formats (numeric, date and so on.)
Choices A, B and D are correct.
Toysrfuss, a national toy store is creating a new e-front for Order processing. Customers have to create an account to transact with them, although an account is not required for browsing the catalog. Customers can browse items and add them to a shopping cart. They can then proceed to checkout. At this time, they can update quantities and submit the order. What technologies may be best suited for this application?A JSP for presentation and Servlets as controllers. B Servlets for presentation
Choices A, D, E and H are correct.
You can traverse through the elements of many Java Collection objects because they provide a way to access their elements sequentially. What design pattern is used here?A Visitor B Observer C Builder D Iterator E Proxy F Decorator
Answer: D
Choices for a PC:(i) 800 MHz processor, 40 GB HDD, 128 MB RAM (ii) 1 GHz processor, 60 GB HDD, 256 MB RAM (iii) 1.2 GHz processor, 80 GB HDD, 512 MB RAMThe use of what design pattern would ensure that
Inaccu Weather has a web site where people can check the weather forecast of a city for up to five days in advance. The data comes to Inaccu Weather through a specialized custom feed that directly updates a relational database. If the company can expect between fifty to hundred concurrent hits in to their site, which of the following Java based technologies may be best suited for their needs?A Servlets and JSP for presentation and Session Beans with DAO for retrieval. B Servlets and JSP
Answer: E
Which design pattern can be used to create a family of dependent objects?A Factory Method B Prototype C Builder D Abstract Factory E Singleton
Answer: D
View page << Previous 2 3 4 5 [6] 7 8 9 10 11 Next >>

Go Top