GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Certification  >  Sun  >  310-051
Go To First  |  Previous Question  |  Next Question 
 310-051  |  Question 8 of 421    Print  
 
Undefined Primary Keys refers to?
 
A             Refers to Entity Beans that do not use Primary Keys
B              Primary Keys that are defined during development
C              Primary Keys that remain undefined until the bean is deployed
D              Entity Beans cannot have undefined Primary Keys
 
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 assumptions thus limiting the bean's portability across databases. EJB 1.1 allows the primary key to remain undefined until deployment. Hence choice C is correct.
Choice A is incorrect because all entity beans must have a serializable primary key that can be used to uniquely identify an entity bean in the database.
Undefined Primary Keys are not defined during development. Hence choice B is incorrect.
Choice D is incorrect because it indicates that Entity Beans are not allowed to have undefined Primary Keys. This was true in EJB1.0 but not in EJB1.1.
 



  
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

Which of the following are true about Active Replication?  A             It is a fault-tolerance mechanismB              It is achieved by taking cold back upsC              Each replica attempts to process each request but extra calls may be intercepted via an interceptorD             
Choices A, C and F are correct. Active Replication is a fault tolerance mechanism where each replica is identical to the main service and attempts to service each request. An interceptor is used to 

 Which of the following are benefits of Server Clustering? A             ReplicationB              High SecurityC              Easy ManageabilityD              Load BalancingE             
 Choices A, D and E are correct. Through the use of replicas, server clusters increase the reliability and availability of a system. They provide a fault tolerance mechanism with load distribution 

 Which of the following are true about Passive Replication?  A             Primary Service and all replicas respond to all requestsB              Primary Service randomly delegates requests to one of the secondary replicasC              Primary service handles all requestsD             
 Choices C, D and F are correct. In Passive Replication, the primary service handles all requests. The state of the replicas is periodically synchronized. In the event that the primary service 

 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 


 Sponsored Links

 
Related Articles

Learning Website Development with Django

Learning Website Development with Django Book Review Websites are usually visited because of the information they can give Even in page ranking of Google which indices website according to importance those websites that provides the most number of articles or has the greatest number of discussions o
 

PHP Oracle Web Development

PHP Oracle Web Development Data processing Security Caching XML Web Services and Ajax The book is written by Yuli Vaseliev a well known author of different web development and programming books PHP Oracle Web Development Data processing Security Caching XML Web Services and Ajax is a good starting b
 

PHP Oracle Web Development Review

PHP Oracle Web Development Data processing Security Caching XML Web Services and Ajax The book is written by Yuli Vaseliev a well known author of different web development and programming books The author is also an expert in open source technologies and SOA Service Oriented Architecture But besides
 

Attitude Development : Comparing Yourself to Others

Comparing Yourself to Others Where is Your Career Going This is a question that most professionals will ask themselves at one point or another in their lives Once you have determined what your goals in life are the next thing you will want to do is take action You can begin by doing something that m
 

Application Development in .NET

ASP NET 2 0 Tutorials Application development in NET Client Side Application Development Client applications are applications that run on the client system or the desktop of the user They are closest to the traditional windows based applications and they display forms or windows on the desktop enabl
 

Attitude Development : Practice Makes Perfect

Practice Makes Perfect Can Practicing Help Improve My Attitude You bet it does But it is not as simple as merely practicing” whatever it is that you want to get good at You have to learn how to practice the right way Indeed practicing can be used in virtually every profession as a way of
 

Use Your Assets for Attitude Development

Use Your Assets What are Assets The dictionary defines an asset as a valuable or useful thing or quality The fact of the matter is whether we are rich or poor we all have assets On the flipside of that coin we all have liabilities as well The trick is to learn how to use the former by discarding the
 

Service Oriented Design and Development

Service Oriented Design and Development SOAD Service Oriented Analysis and Design The term Service Oriented Analysis and Design  was first used in the publication Elements of Service Oriented Analysis and Design Service Oriented Analysis and Design is also covered in the publication Service
 

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
 

Attitude Development : Visualizing Success

Visualizing Success What is Visualization Visualization is a technique which you can employ to improve your attitude and thus attain success This is an activity that many successful businessmen athletes celebrities and musicians employ as a means of increasing their success even though a lot of th
 

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

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

Page copy protected against web site content infringement by Copyscape