GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Certification  >  Sun  >  310-051
Go To First  |  Previous Question  |  Next Question 
 310-051  |  Question 418 of 421    Print  
Under which of the following conditions should you use an Entity Bean?

i. The bean represents a business entity, not a procedure.
ii. The bean’s state must be persistent. If the bean instance terminates or if
the J2EE server is shut down, the bean’s state still exists in persistent storage (a database).

A Choice (i) only
B Choice (ii) only
C Choice (i) or (ii) depending on whether the Container is EJB 1.0 compliant or EJB 1.1 compliant
D Both choice (i) and (ii)

Answer: D




  
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

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
 

Business Intelligence Key Performance Indicators

Business Intelligence Key Performance Indicators What are Key Performance Indicators Key Performance Indicators are also known as Key Success Indicators they help an organization to better define and measure their progress toward professional goals Once an organization has clearly identified its nee
 

How to Best Use Business Intelligence to Your Advantage

How to Best Use Business Intelligence to Your Advantage It is no big secret that today s businesses rely heavily on data and the information it delivers about their companies Whether it is for the purpose of customer acquisition improving operational performance or understanding competitors all of t
 

Business Intelligence in Information Technology

Business Intelligence in Information Technology IT stands for Information Technology Information Technology is a system designed to gather process or distribute information IT can be inspected in terms of the following three groupings; the data gathering the data processing and the data distribut
 

Business Intelligence Integration

Business Intelligence Integration How to Integrate Business Intelligence within Your Organization Before you Integrate Business Intelligence into your Organization Business Intelligence has developed into strategic process over the years of its extraordinary growth even so it still needs to be incor
 

Business Intelligence Tips

Business Intelligence Tips Understand Your Organization first Truly understanding your company and how it works is perhaps one of the most important Business Intelligence tips anyone can offer This includes understanding the business itself the processes involved the data and how that data is used b
 

Using XMLType for Handling XML Data in the Database

Using XMLType for Handling XML Data in the Database Being an object type XMLType can not only be used to store XML data in the database but also to operate on that data via its built in methods Regardless of the storage model you choose XMLType provides a set of XML specific methods to operate on XM
 

Using Oracle Database for Storing, Modifying, and Retrieving XML Data

Using Oracle Database for Storing Modifying and Retrieving XML Data With Oracle XML DB you have various XML storage and XML processing options allowing you to achieve the required level of performance and scalability One of the most interesting things about Oracle XML DB is that it allows you to per
 

Performing XSLT Transformations inside the Database

Performing XSLT Transformations inside the Database Now that you have the employees XSL stylesheet stored in the database and the xmlusr schema is permitted to access the hr employees table you can create a script that will instruct the database to build an HTML page based on the data stored in hr e
 

Business Performance Management

Business Performance Management What is Business Performance Management Business Performance Management is most commonly described as a set of processes that help companies or organizations optimize their business performance It is specifically designed to organize automate and analyze business meth
 

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