2013年10月29日星期二

310-090 dernières questions d'examen certification SUN et réponses publiés

Pass4Test vous offre un choix meilleur pour faire votre préparation de test SUN 310-090 plus éfficace. Si vous voulez réussir le test plus tôt, il ne faut que ajouter la Q&A de SUN 310-090 à votre cahier. Pass4Test serait votre guide pendant la préparation et vous permet à réussir le test SUN 310-090 sans aucun doute. Vous pouvez obtenir le Certificat comme vous voulez.

Maintenant, beaucoup de professionnels IT prennent un même point de vue que le test SUN 310-090 est le tremplin à surmonter la pointe de l'Industrie IT. Beaucoup de professionnels IT mettent les yeux au test Certification SUN 310-090.

Pass4Test provide non seulement le produit de qualité, mais aussi le bon service. Si malheureusement vous ne pouvez pas réussir le test, votre argent sera tout rendu. Le service de la mise à jour gratuite est aussi pour vous bien que vous passiez le test Certification.

Code d'Examen: 310-090
Nom d'Examen: SUN (Sun Certified Business Component Developer for J2EE 1.3)
Questions et réponses: 409 Q&As

Il demande les connaissances professionnelles pour passer le test SUN 310-090. Si vous manquez encore ces connaissances, vous avez besoin de Pass4Test comme une resourece de ces connaissances essentielles pour le test. Pass4Test et ses experts peuvent vous aider à renfocer ces connaissances et vous offrir les Q&As. Pass4Test fais tous efforts à vous aider à se renforcer les connaissances professionnelles et à passer le test. Choisir le Pass4Test peut non seulement à obtenir le Certificat SUN 310-090, et aussi vous offrir le service de la mise à jour gratuite pendant un an. Si malheureusement, vous ratez le test, votre argent sera 100% rendu.

Si vous faites toujours la lutte contre le test SUN 310-090, Pass4Test peut vous aider à résoudre ces difficultés avec ses Q&As de qualité, et atteindre le but que vous avez envie de devenir un membre de SUN 310-090. Si vous avez déjà décidé à s'améliorer via SUN 310-090, vous n'avez pas aucune raison à refuser Pass4Test. Pass4Test peut vous aider à passer le test à la première fois.

310-090 Démo gratuit à télécharger: http://www.pass4test.fr/310-090.html

NO.1 Which two are required to properly implement a CMP entity bean class? (Choose two.)
A. Declare variables for all persistent fields.
B. Provide constructors to initialize the CMP fields.
C. Do not implement the ejbFind<METHOD> methods.
D. Provide implementation code for get and set methods to store and retrieve the persistent fields.
E. Implement ejbCreate<METHOD> methods for all home interface create<METHOD> methods.
Answer: C E

SUN examen   310-090   310-090 examen   310-090

NO.2 Which two must a Bean Provider supply for each enterprise bean in the deployment descriptor?
(Choose two.)
A. security roles
B. the JNDI name of the enterprise bean
C. the enterprise bean type: session, entity, or message-driven
D. the value of the transaction attributes for the home and component interface methods
E. the fully-qualified name of the class that implements the enterprise bean's business methods
Answer: C E

SUN examen   certification 310-090   310-090 examen   310-090

NO.3 Which two actions could adversely affect the portability of an EJB 2.0 bean? (Choose two.)
A. changing a thread's priority
B. directly reading or writing a file descriptor
C. using java.net.Socket to be a network client
D. demarcating a transaction in a stateless session bean
E. using bean-managed transactions in a message-driven bean
Answer: A B

SUN examen   certification 310-090   310-090   310-090   310-090   310-090

NO.4 What is true about using java.net.Socket and java.net.ServerSocket within session bean business
methods?
A. Both classes can be used.
B. Neither class can be used.
C. Of the two classes, only java.net.Socket can be used.
D. Of the two classes, only java.net.ServerSocket can be used.
Answer: C

SUN   certification 310-090   310-090   certification 310-090   310-090

NO.5 Place the expertise on its associated EJB role.
Answer:

NO.6 Click the Exhibit button.
All beans involved use container-managed transactions and all methods are marked as Required. At
runtime, methodB is unable to communicate with its resource and calls the setRollbackOnly method.
What is the result?
A. JMS message redelivery semantics will apply.
B. The rollback will propagate to the sender of the message.
C. The bean's onMessage method will reattempt the sequence.
D. Transactions started by the onMessage method will always commit.
Answer: A

certification SUN   310-090   certification 310-090   310-090   310-090

NO.7 Which transaction attribute may cause a javax.transaction.TransactionRequiredException to be
thrown?
A. Required
B. Supports
C. Mandatory
D. RequiresNew
Answer: C

certification SUN   310-090   310-090 examen

NO.8 Which statement about EJB QL is true?
A. An EJB QL query must contain the ORDER BY clause.
B. An EJB QL query is statically defined in the ejb-jar.xml deployment descriptor.
C. Duplicate values are always removed from EJB QL query results by the container.
D. It is legal to use an input parameter in the FROM clause or the SELECT clause of an EJB QL query.
Answer: B

SUN examen   310-090 examen   310-090 examen   310-090   310-090   310-090 examen

NO.9 Which two statements about a client's reference to a session bean's remote home interface are true?
(Choose two.)
A. The reference can be passed as a method argument.
B. The reference provides the client with the IP address of the bean instance.
C. The reference provides the client with access to at least one create method.
D. A new home reference must be obtained for each new reference to a remote component interface.
Answer: A C

SUN examen   310-090   310-090 examen   certification 310-090   310-090   310-090 examen

NO.10 Which two must be in an ejb-jar file, either by inclusion or reference? (Choose two.)
A. an enterprise archive (.ear) file
B. a deployment descriptor in the format defined by the EJB 2.0 specification
C. the class files for the classes that implement the home and remote interfaces
D. the class files for the interfaces and superinterfaces used by the bean, except J2SE or J2EE interfaces
E. the class files for the stub classes of the EJBHome andEJBObject interfaces, if remote interfaces are
deployed for the bean
Answer: B D

SUN   310-090   certification 310-090

NO.11 Which is a capability guaranteed by all EJB 2.0 containers?
A. JTA support
B. server failover
C. load balancing
D. servlet support
E. server clustering
Answer: A

SUN examen   310-090   310-090 examen   certification 310-090

NO.12 Given:
Which EJB role is responsible for supplying this information?
A. Deployer
B. Bean Provider
C. Container Provider
D. System Administrator
E. Application Assembler
Answer: E

certification SUN   310-090   310-090   310-090

NO.13 Which two are valid types for persistent fields in a CMP 2.0 entity bean? (Choose two.)
A. Java primitives
B. entity bean local interfaces
C. classes implementing java.io.Serializable
D. either java.util.Collection or java.util.Set
Answer: A C

SUN examen   certification 310-090   certification 310-090   310-090   310-090

NO.14 Which two APIs are provided to the Bean Provider by an EJB 2.0 container? (Choose two.)
A. JTA
B. JMX
C. JSP
D. JDO
E. JAXP
Answer: A E

SUN   310-090   310-090 examen   310-090   310-090

NO.15 Who must ensure that a bean's environment entries are set to meaningful values?
A. Deployer
B. Bean Provider
C. EJB Server Provider
D. System Administrator
E. Application Assembler
F. EJB Container Provider
Answer: A

SUN examen   310-090 examen   310-090

NO.16 Which feature is mandatory for an EJB 2.0 compliant container?
A. JMX support
B. JVM co-resident JSPs
C. deferred database writes
D. lazy loading of entity bean data
E. client principal caller propagation
Answer: E

SUN   certification 310-090   310-090 examen

NO.17 Label the methods according to whether the container ensures that the identity of the associated
entity object is available or unavailable to the instance during the method.
Answer:

NO.18 Which exception can be thrown by the findByPrimaryKey method of a remotely called entity bean using
container-managed persistence?
A. javax.ejb.EJBException
B. javax.ejb.DuplicateKeyException
C. javax.ejb.NoSuchEntityException
D. javax.ejb.ObjectNotFoundException
Answer: D

SUN   310-090 examen   310-090   310-090 examen

NO.19 Given:
Which two elements must be included in the <resource-ref> tag? (Choose two.)
A. <res-type>
B. <res-ref-name>
C. <resource-env-ref>
D. <environment-resource>
Answer: A B

SUN   310-090   310-090   310-090

NO.20 Which is a feature of EJB 2.0?
A. It provides synchronous message handling through message driven beans.
B. It provides support for both local and remote client views for session beans.
C. It provides support for both local and remote client views for message driven beans.
D. It guarantees that all services represented by an object will have conversational state.
Answer: B

certification SUN   certification 310-090   certification 310-090

NO.21 Which method from javax.ejb.EJBContext returns an object that allows a Bean Provider to demarcate
transactions?
A. begin()
B. getAutoCommit()
C. getTransaction()
D. beginTransaction()
E. getUserTransaction()
Answer: E

SUN examen   certification 310-090   310-090 examen   310-090

NO.22 Which two are guaranteed to a Bean Provider using an EJB 2.0 container? (Choose two.)
A. access to the JCE API
B. access to JavaMail API
C. access to the JXTA API
D. access to the JAXP API
Answer: B D

SUN examen   310-090   310-090

NO.23 Which is a Bean Provider's security-related responsibility?
A. assigns principals to roles in the application server
B. declares the role-link element in the deployment descriptor
C. declares the security-role element in the deployment descriptor
D. declares the security-role-ref element in the deployment descriptor
Answer: D

SUN examen   310-090   310-090   310-090

NO.24 What two statements are true about EJB 2.0 container crashes? (Choose two.)
A. Entities will survive.
B. An entity bean's primary key will survive.
C. Message-driven bean instances will survive.
D. Stateful session bean instances will survive.
E. Crashes are guaranteed to be transparent to clients using entity beans.
Answer: A B

SUN   certification 310-090   310-090 examen   certification 310-090   310-090

NO.25 Which two must a Bean Provider avoid in an enterprise bean to ensure that the bean is portable to
any compliant EJB 2.0 container? (Choose two.)
(Assume that all reference variables have been correctly and legally initialized.)
A. java.sql.Connection c = aDataSource.getConnection();
B. java.security.Principal p = context.getCallerPrincipal();
C. QueueSession q = aQueueConnection.createQueueSession(true, 0);
D. Object o = new Object();
Object o2 = o.getClass().getClassLoader();
E. java.io.FileInputStream fs = new java.io.FileInputStream("MyFile");
Answer: D E

SUN   310-090   310-090 examen

NO.26 Which method can be found in BOTH the EJBHome and EJBLocalHome interface?
A. getHomeHandle()
B. getEJBMetaData()
C. remove(Handle handle)
D. remove(Object primaryKey)
Answer: D

SUN   310-090   310-090 examen

NO.27 What are two programming restrictions in the EJB 2.0 specification? (Choose two.)
A. An enterprise bean must not declare static fields as final .
B. An enterprise bean must not attempt to load a native library.
C. An enterprise bean must not attempt to create a new security manager.
D. An enterprise bean must not propagate a RuntimeException to the container.
E. An enterprise bean must not attempt to obtain a javax.naming.InitialContext .
Answer: B C

SUN   310-090   310-090   310-090

NO.28 Which accurately describes a characteristic of EJB 2.0?
A. EJB 2.0 is an example of a web-based component model.
B. EJB 2.0 components must be directly accessible via HTTP.
C. EJB 2.0 is an example of a component model for GUI applications.
D. EJB 2.0 applications can link to legacy systems using a J2EE connector.
Answer: D

SUN   310-090 examen   310-090 examen   310-090

NO.29 Which statement is true about a session bean's lifecycle?
A. Session beans cannot receive re-entrant loopback calls.
B. A stateless session bean's home interface can have overloaded create methods.
C. Stateless session beans can implement javax.ejb.SessionSynchronization.
D. The EJB 2.0 container can make concurrent calls to any stateful session bean instance.
Answer: A

SUN   310-090 examen   310-090 examen   310-090 examen

NO.30 Which two statements are true? (Choose two.)
A. The EJB container must not allow the same enterprise bean to be deployed multiple times.
B. The EJB container must allow IIOP invocations on remote component and home interfaces.
C. The EJB container is not required to support publishing home references in a CORBA CosNaming
service.
D. The EJB container must implement the resource manager connection factory classes for resource
managers configured with the container.
E. The EJB container must allow enterprise beans deployed in the same enterprise archive to access one
another directly without having to go through home or remote interfaces.
Answer: B D

SUN   certification 310-090   certification 310-090   310-090

Vous pouvez tout d'abord télécharger le démo SUN 310-090 gratuit dans le site Pass4Test. Une fois que vous décidez à choisir le Pass4Test, Pass4Test va faire tous efforts à vous permettre de réussir le test. Si malheureusement, vous ne passez pas le test, nous allons rendre tout votre argent.

没有评论:

发表评论