GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Certification  >  Sun  >  310-051
Go To First  |  Previous Question  |  Next Question 
 310-051  |  Question 416 of 421    Print  
The findByXxx() method in the Home Interface of an entity bean returns

A An Instance of java.lang.Object
B An instance of the Remote Reference to the bean
C An instance of java.util.Enumeration
D An instance of the Bean class.

Choices B and C are correct.




  
Total Answers and Comments: 0 Last Update: N/A   
  
 Sponsored Links

 

No answers are posted for this question yet.
Be the first to answer it!


 Related Questions

 CORBA is a standard for A             Messaging using virtual channels called QueuesB              Standardized development practicesC              Messaging using virtual channels called topicsD              Accessing distributed object
 Choice D is correct. Common Object Request Broker Architecture (CORBA) is a standard for distributed communication involving applications written using different languages. Hence choice D is 

 RMI-IIOP does not provide which of the following capabilities?  A             Remote Method InvocationB              Stub DownloadsC              Objects pass by value (state only)D              Distributed Garbage Collection
 Choices B and D are correct. RMI-IIOP does not support Stub downloads and distributed garbage collection. Hence choices B and D are correct.Both Remote Method Invocation and Objects pass by 

 Which of the following are not true about Screen Scrapers? A             Screen scrapers function as Terminal Emulators on one end and as Object Interfaces on the other.B              Screen Scraping may be a useful tool when used in conjunction with the off-board servers.C              Changes to
 Choices C and D are correct. When using screen scrapers, any changes to the legacy user interface will also affect the new GUI. Also screen scraping is the best alternative only if the existing 

 Which of the following methods may be present in the Home Interface of an Entity Bean? A             create()B              findByPrimaryKey()C              remove()D              locateByPrimaryKey()E             
 Choices A, B and C are correct. The Home Interface provides methods for creation, location and removal of beans. Hence you could find create(), findByPrimaryKey() and remove() methods in the 

 Undefined Primary Keys refers to? A             Refers to Entity Beans that do not use Primary KeysB              Primary Keys that are defined during developmentC              Primary Keys that remain undefined until the bean is deployedD             
 Choice C is correct. One problem with container-managed persistence in EJB 1.0 was that the bean developer had to define the primary key during development. This forced the developer to make 

 Which of the following are valid life cycle states for a Stateless Session Bean? A             Does not ExistB              Pooled StateC              Method Ready PoolD              Passive
 Choices A and C are correct. The two valid states in a Stateless Session Bean's life cycle are 'Does Not Exist' and 'Method Ready Pool.' When Beans are not instantiated 

 Both CMT and BMT may be used with Entity and Session Beans. True or False? A             TrueB              False
 Choice B is correct With EJB1.1 only Session Beans with equal to 'Bean' can have bean-managed transactions. Entity Beans are not allowed to be BMT beans. Hence choice 

 A session bean called SomeBean has a method called someMethod(), which calls someOtherMethod (same bean) followed by someOtherBeanMethod() of SomeOtherBean. SomeOtherBean is an Entity Bean with CMT. Which of the following is true?  A             SomeOtherBean has no control on the transaction since it is a CMT bean.B              SomeOtherBean has full access
 Choice C is correct. Only BMT beans have access to the User-Transaction from the EJBContext. The EJBContext provides the methods setRollbackOnly() and getRollbackOnly(), to provide CMT beans 

 Which of the following is not a resource management technique?  A             Maintaining a smaller pool of Stateless Beans to serve a large number of clients.B              Providing Database Connection PoolingC              Persistence of Entity BeansD             
 Choice C is correct. Persistence of Entity beans is the ability to save data represented by the bean into a database. It is not a resource management technique. Choice C is false and therefore 

 Which of the following are invalid states in the life of a Stateful Session Bean? A             Does Not ExistB              Method Ready PoolC              Method Ready in TransactionD              Method ReadyE             
 Choices B, E and F are correct. The valid life cycle states of a Stateful Session Bean are 'Does Not Exist', 'Method Ready', 'Method Ready in Transaction' and 'Passive'. 


 Sponsored Links

 
Related Articles

Service Oriented Java Business Integration Review

Service Oriented Java Business Integration Review Introduction If you ve read through the texts which give you an introduction to SOA or Web Services you will often find them to be quite frustrating and the reason for this is because they spend too much time referencing business processes which are
 

ODP.NET - OracleCommand Object

ODP NET More About the OracleCommand Object Till now we have seen OracleCommand working with OracleDataReader OracleCommand is not simply meant for OracleDataReader It has got a lot of functionality for itself Let us see few of the most commonly used features of OracleCommand in this section We will
 

High-Speed Serial Interface (HSSI)

High Speed Serial Interface HSSI HSSI is High Speed Serial Interface was first developed by Cisco systems and the main purpose was to solve high speed requirement issues The main application of HSSI is on the Wide Area Networks and it helps to enhance the data flow speed on these networks It can wor
 

Fiber Distributed Data Interface (FDDI)

Fiber Distributed Data Interface FDDI The Fiber Distributed data interface or the FDDI is a 100 mbps line using the LAN network and is connected through a fiber optic cable The FDDI technology is used where the networks need a high speed bandwidth and need to cover huge distances than the copper wir
 

jQuery Reference

jQuery Reference Guide by Jonathan Chaffer and Karl Swedberg A Comprehensive Exploration of the Popular JavaScript Library jQuery Reference Guide packtpub com jquery reference guide Open Source book Anatomy of a jQuery Script He s got a brand new start Now he s a happy guy Categ
 

Microsoft AJAX Library - Creating Object Members on the Fly

Creating Object Members on the Fly One major difference between OOP in C and ASP NET and OOP in JavaScript is that JavaScript allows creating object members on the fly" This is true for objects and classes that you create yourself and also for JavaScript s own objects and types as well He
 

Microsoft AJAX Library - Object-Oriented JavaScript

Object Oriented JavaScript Objects and classes are implemented differently in JavaScript than in languages such as C VB NET Java or C However when it comes to using them you ll feel on familiar ground You create objects using the new operator and you call their methods or access their fields using t
 

Concepts of Object-Oriented Programming

Object Oriented JavaScript In this chapter you ll learn about OOP Object Oriented Programming and how it relates to JavaScript As an ASP NET developer you probably have some experience working with objects and you may even be familiar with concepts such as inheritance However unless you re already a
 

SOA Definitions and Certification

SOA Definitions and Certification Service Oriented Architecture is a design that enables Business and computational resources to be linked together on demand as a means of achieving the results desired for service consumers which may be end users or other services Service Oriented Architecture has
 

C++ Pure Virtual Function and Base Class

C Pure Virtual Function and Virtual Base Class In this C tutorial you will learn about pure virtual function declaration of pure virtual function and virtual base class virtual base class and how to implement a virtual base class explained with examples mosgoogle center What is Pure Virtual Function
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape