Exam Actual. Higher Quality. Better Service! QUESTION & ANSWER

Similar documents
ITdumpsFree. Get free valid exam dumps and pass your exam test with confidence

UNIT-III EJB APPLICATIONS

NetBeans IDE Field Guide

Introduction. Enterprise Java Instructor: Please introduce yourself Name Experience in Java Enterprise Edition Goals you hope to achieve

index_ qxd 7/18/02 11:48 AM Page 259 Index

J2EE Development. Course Detail: Audience. Duration. Course Abstract. Course Objectives. Course Topics. Class Format.

Vision of J2EE. Why J2EE? Need for. J2EE Suite. J2EE Based Distributed Application Architecture Overview. Umair Javed 1

Implementing a Web Service p. 110 Implementing a Web Service Client p. 114 Summary p. 117 Introduction to Entity Beans p. 119 Persistence Concepts p.

Deccansoft Software Services. J2EE Syllabus

J2EE Interview Questions

SCBCD EXAM STUDY KIT. Paul Sanghera CX JAVA BUSINESS COMPONENT DEVELOPER CERTIFICATION FOR EJB MANNING. Covers all you need to pass

Java Enterprise Edition

IBM. Enterprise Application Development with IBM Web Sphere Studio, V5.0

Developing Portable Applications for the Java 2 Platform, Enterprise Edition (J2EE )

Enterprise Java Beans

Course Content for Java J2EE

Problems in Scaling an Application Client

Chapter 6 Enterprise Java Beans

Enterprise JavaBeans, Version 3 (EJB3) Programming

Exam Questions 1Z0-895

Java- EE Web Application Development with Enterprise JavaBeans and Web Services

Enterprise JavaBeans. Layer:01. Overview

Enterprise Java Security Fundamentals

EJB ENTERPRISE JAVA BEANS INTRODUCTION TO ENTERPRISE JAVA BEANS, JAVA'S SERVER SIDE COMPONENT TECHNOLOGY. EJB Enterprise Java

SUN Sun Cert Bus Component Developer Java EE Platform 5, Upgrade. Download Full Version :

~ Ian Hunneybell: CBSD Revision Notes (07/06/2006) ~

[Course Overview] After completing this module you are ready to: Develop Desktop applications, Networking & Multi-threaded programs in java.

J2EE - Version: 25. Developing Enterprise Applications with J2EE Enterprise Technologies

Component-Based Software Engineering. ECE493-Topic 5 Winter Lecture 26 Java Enterprise (Part D)

1Z Oracle. Java Enterprise Edition 5 Business Component Developer Certified Professional Upgrade

133 July 23, :01 pm

Overview p. 1 Server-side Component Architectures p. 3 The Need for a Server-Side Component Architecture p. 4 Server-Side Component Architecture

Java EE 6: Develop Business Components with JMS & EJBs

BEA WebLogic. Server. Programming WebLogic Enterprise JavaBeans

Oracle EXAM - 1Z Java EE 6 Enterprise JavaBeans Developer Certified Expert Exam. Buy Full Product.

Projects. How much new information can fit in your brain? Corporate Trainer s Profile TECHNOLOGIES

Java EE 7: Back-End Server Application Development

presentation DAD Distributed Applications Development Cristian Toma

Designing a Distributed System

BEA WebLogic Server. Programming WebLogic Enterprise JavaBeans

Oracle 10g: Build J2EE Applications

Vendor: SUN. Exam Code: Exam Name: SUN Certified ENITRPRISE ARCHITECT FOR J2EE(tm)TECHNOLOGY. Version: Demo

Application Servers in E-Commerce Applications

Outline. Project Goal. Overview of J2EE. J2EE Architecture. J2EE Container. San H. Aung 26 September, 2003

Building the Enterprise

Business-Driven Software Engineering (6.Vorlesung) Bean Interaction, Configuration, Transactions, Security Thomas Gschwind <thg at zurich.ibm.

Enterprise JavaBeans (I) K.P. Chow University of Hong Kong

Fast Track to EJB 3.0 and the JPA Using JBoss

OracleAS 10g R3: Build J2EE Applications II

Java 2 Platform, Enterprise Edition: Platform and Component Specifications

RealVCE. Free VCE Exam Simulator, Real Exam Dumps File Download

Using JNDI from J2EE components

CO Java EE 7: Back-End Server Application Development

Open Source. in the Corporate World. JBoss. Application Server. State of the Art: Aaron Mulder

Techniques for Building J2EE Applications

SUN Sun Certified Enterprise Architect for J2EE 5. Download Full Version :

History of Enterprise Java

Introduction to componentbased software development

JAVA & J2EE UNIT -1 INTRODUCTION

Outline. Chapter 5 Application Server Middleware. Types of application server middleware. TP monitors CORBA Server-side components and EJB Summary

Practice Test. Oracle 1z Java Enterprise Edition 5 Business Component Developer Certified Professional Upgrade Exam. Version: 14.

Java Training For Six Weeks

Borland Application Server Certification. Study Guide. Version 1.0 Copyright 2001 Borland Software Corporation. All Rights Reserved.

Installing and Configuring the Runtime Processes 2

Oracle9iAS Containers for J2EE

WebSphere Application Server - Overview

Erik Dörnenburg JAOO 2003

Entity Beans 02/24/2004

Mastering BEA WebLogic Server Best Practices for Building and Deploying J2EE Applications

J2EE Packaging and Deployment

Agenda. Summary of Previous Session. Extreme Java G Session 3 - Main Theme Java Core Technologies (Part I)

Enterprise JavaBeans. Layer 05: Deployment

Plan. Department of Informatics. Advanced Software Engineering Prof. J. Pasquier-Rocha Cours de Master en Informatique - SH 2003/04

Enterprise Java and Rational Rose -- Part I

Web Application Development Using JEE, Enterprise JavaBeans and JPA

"Charting the Course... Mastering EJB 3.0 Applications. Course Summary

Web Application Development Using JEE, Enterprise JavaBeans and JPA

JBoss to Geronimo - EJB-Session Beans Migration

Java/J2EE Interview Questions(255 Questions)

New Features in EJB 3.1

Outline. Chapter 5 Application Server Middleware WS 2010/11 1. Types of application server middleware

SUN Enterprise Development with iplanet Application Server

Oracle Exam 1z0-895 Java EE 6 Enterprise JavaBeans Developer Certified Expert Exam Version: 14.0 [ Total Questions: 90 ]

Java EE Application Assembly & Deployment Packaging Applications, Java EE modules. Model View Controller (MVC)2 Architecture & Packaging EJB Module

Oracle9iAS Tech nicaloverview

What we need. Agenda. What s J2EE. Challenges of Enterprise Application Development

Oracle9iAS TopLink. 1 TopLink CMP for BEA WebLogic Server. 1.1 EJB 2.0 Support. CMP-Specific Release Notes

Data Management in Application Servers. Dean Jacobs BEA Systems

What's New in J2EE 1.4

Enterprise Java Unit 1-Chapter 2 Prof. Sujata Rizal Java EE 6 Architecture, Server and Containers

Distributed Multitiered Application

Outline. Chapter 5 Application Server Middleware. Types of application server middleware. TP monitors CORBA Server-side components and EJB Summary

CERTIFICATION SUCCESS GUIDE ENTERPRISE ARCHITECT FOR JAVA 2 PLATFORM, ENTERPRISE EDITION (J2EE ) TECHNOLOGY

Exam Questions 1Z0-850

Web Design and Applications

(9A05803) WEB SERVICES (ELECTIVE - III)

Oracle - Developing Applications for the Java EE 7 Platform Ed 1 (Training On Demand)

Java SE7 Fundamentals

1Z Oracle. Java Enterprise Edition 5 Enterprise Architect Certified Master

Accurate study guides, High passing rate! Testhorse provides update free of charge in one year!

Transcription:

Higher Quality Better Service! Exam Actual QUESTION & ANSWER Accurate study guides, High passing rate! Exam Actual provides update free of charge in one year! http://www.examactual.com

Exam : 310-090 Title : Sun Certified Business Component Developer for J2EE 1.3 Version : Demo 1 / 10

1. 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 2. 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 3. Which transaction attribute may cause a javax.transaction.transactionrequiredexception to be thrown? A. Required B. Supports 2 / 10

C. Mandatory D. RequiresNew Answer: C 4. 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 5. 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 6. 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 7. 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. 3 / 10

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 8. 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 9. 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 10. 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 11. 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 12. 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. 4 / 10

Answer: 13. 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 14. Which statement about EJB QL is true? 5 / 10

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 15. 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 16. 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 17. 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 18. 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 19. Which two APIs are provided to the Bean Provider by an EJB 2.0 container? (Choose two.) A. JTA B. JMX 6 / 10

C. JSP D. JDO E. JAXP Answer: A E 20. 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 21. 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 22. 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 23. 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(); 7 / 10

Object o2 = o.getclass().getclassloader(); E. java.io.fileinputstream fs = new java.io.fileinputstream("myfile"); Answer: D E 24. 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 25.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 26.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 27. Given: 8 / 10

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 28. Place the expertise on its associated EJB role. Answer: 9 / 10

29.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 30. 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 10 / 10