1. Trang chủ
  2. » Công Nghệ Thông Tin

Question Bank Introduction to J2EE

31 543 0
Tài liệu đã được kiểm tra trùng lặp

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 31
Dung lượng 724 KB

Nội dung

Business logic is placed in _________

Trang 1

a) Wireless Markup Language c) Wireless Mark Language

b) Wire Markup Language d) Wire Mark Language

Trang 2

b) ACID d) None of the above

7. Using Standard protocol, the implementation of application components are dependent of the implementation of various services

[0.5]

a) Java 2 Platform Enterprise

b) Application manager d) Business manager

10 Traditional enterprise application providers have client server

Trang 3

a) True b) False

a) All the transaction must be

complete

c) At a time only one transaction should occur

b) The transaction should not be

14 The middleware services are transaction-monitoring services [1.0]

15 Developers of enterprise applications are not able to deploy

applications effectively & quickly

18 An application that requires any restructuring or redeployment to scale

will impede growth

[1.0]

Trang 4

19 Transactions should ideally have _ [1.0] a) ACDI properties c) ADIC properties

b) ACID properties d) None of the options given

20 Servlets & JavaServer Pages enable dynamic content in HTML, XML [1.0]

a) Enterprise Java Backend c) Eternal JavaBeans

b) Enterprise JavaBeans d) Edition JavaBeans

a) Java Messaging Service c) Java Mark Service

b) Java Message Service d) Java Messaging Solution

Trang 5

25 Databases cannot be accessible by _ [1.0]

28 In the Process of developing an application, _ [1.5]

a) Applications must move

quickly from prototype to

production

b) Applications must move

slowly from prototype to production

29 Users browse the net, access their emails on the mobile using

Trang 6

31 The PDA, mobile system & others could be either interactive or

33 A developer likes to depend on a transaction management system that

would allow him to concentrate only on the

[1.5]

b) Transaction logic d) Management logic

34 The good Transaction system should be reliable, efficient in terms of

scaling & performance

a) A standard for communicating

with the database c) A standard for building client side components in Beans

Trang 7

b) A standard for building

server side components in

40 The J2EE platform provides _ benefits [1.5]

a) simplified architecture &

b) Product provider d) Containers

41 _ produces the basic building blocks of J2EE application [1.5] a) Product Provider c) Tool provider

b) Application Component

Provider

d) Application Assembler

Trang 8

42 is needed for sending email over the internet [1.5]

b) JavaBeans Activation

framework

e) Both b and d c) Both a and b

43 The developer faces _ problem while developing an enterprise

application

[1.5]

a) Programming productivity c) System problems

b) Hardware Problems d) Software problems

44 The features which most J2EE applications have are , _ [1.5] a) Database Access c) none of the above

46 Which of the following statements are true with respect to J2EE [1.5]

a) Design the Enterprise

application c) Provide a standard for Java application servers

b) Separate the files to the client d) Standardize the

Trang 9

technologies that could be used in J2EE

47 The technologies used to build the business logic include and

a) Graphical clients that

normally execute within a

web browser

c) Graphical clients that

normally execute outside a web browser

b) Graphical servers that

normally execute within a web

browser

50 _ are used server-wide and have to be present [1.5]

a) JavaMail & JavaBeans

Trang 10

a) Application components c) Middleware

52 The statements true about J2EE are _ [1.5]

a) J2EE is a technology used for

web development

d) J2EE is multi-user

b) J2EE is portable e) Behaviour of J2EE changes

with the change in the operating system

c) J2EE supports all languages

53 BEA Systems is a J2EE product provider, _ and [1.5]

a) Application component

54 _ is the API for calling CORBA services [1.5]

55 The application assembler delivers _ file [1.5]

b) Enterprise Archive d) Archive Enterprise

56 The J2EE platform communicates with the outside world in a way

Trang 11

b) Server side Layer e) Persistence Layer

c) Domain Layer

59 The presentation layer is partitioned into _ and [0.5]

60 is used to generate dynamic content for web [0.5]

Trang 12

64 In the Multi-tier application scenario can be included to provide

a flexible way for integrating data from heterogeneous client platforms [0.5]

67 In 2-tier architecture the business tier has to be present on every client

machine

[0.5]

Trang 13

68 In the 2-tier architecture the _ and are combined

together

[0.5]

a) Presentation logic c) Business logic

b) Database logic d) Client logic

69 Component can also be a type of a container [0.5]

Trang 14

74 The _ mediates the interaction between the client-side

presentation and services layers

[1.0]

75 are responsible for the session management in HTTP

session

[1.0]

76 provides an API to the business logic cases and utility

operations required by the application

[1.0]

77 The components that form the service layer are : (choose two) [1.0]

b) transactional components d) servlets

a) create, read, update, delete c) create, run, update, declare

b) catch, read, upload, delete

79 Which of the following components are held by EJB Containers:

Trang 15

b) Stateful Session Beans e) Java Beans

81 The two different types of Containers are: [1.0]

b) EJB Container

82 If a small change is made in a 2-tier application then, [1.5]

a) the changes are made in the

present version only

c) changes cannot be made in

a 2-tier application

b) the changes are upgraded in

the newer version.

83 3-tier architecture consists of the following tiers : (choose three) [1.5]

c) Application tier

84 _ is used to prevent unauthorized access to a private network [1.5]

Trang 16

a) Firewall c) Login key

85 In n-tier approach the application logic is divided into _ and

_

[1.5] a) presentation logic c) Business logic

b) database logic d) Client logic

86 In n-tier approach the application follows _ pattern [1.5]

87 The three types of stand-alone clients are : [1.5]

b) Server clients e) Visual Basic clients

c) Bean clients

88 The J2EE framework have been designed upon which of the following

Components : (choose two)

[1.5]

89 The J2EE stack consists of the following layers: (choose three) [1.5]

Trang 17

b) Server side Layer e) Persistence Layer

c) Domain Layer

90 The provides the mechanisms necessary to save the object

state permanently

[1.5]

b) Server side Layer e) Persistence Layer

c) Domain Layer

91 The modules of Domain layer are : (choose two) [1.5]

b) Java Connector architecture d) servlets

92 The major issues of enterprise application are: (choose three) [2.0]

c) sharing data

93 Drawbacks of a 2-tier client/server architecture are : (choose two) [2.0]

a) the business logic has to be

present on every client.

c) 2-tier can be broken into

several components so it creates problem

b) to satisfy clients request the

time required is more.

d) maximizes the use of

available system resources

Trang 18

94 The advantages of the 3-tier approach are : (choose three) [2.0]

a) changes can be made

easily d) different presentations can be done from the

same business data.

b) prevents firewall security of

network

e) the entire application is rewritten during upgradation

c) maximizes the use of

available system resources.

95 The drawback of traditional n-tier architecture is [2.0]

a) middle tier consists of one

application object c) The entire application is rewritten during upgradation

b) middle tier consists of number

of application objects

96 The J2EE are partitioned into: (choose three) [2.0]

b) J2EE Web Container d) Java Applet

97 The job of the container is: (choose three) [2.0] a) deleting unwanted data d) Pooling instance

Trang 19

98 According to the J2EE specifications, the application server provides

the following services: (choose three)

[2.0]

a) Security framework d) Naming Services

b) Transaction management e) Assembly and deployment

tools c) Performance

99 The benefits of the J2EE architecture are : (choose two) [2.0]

a) J2EE server core removes

resources and transactions

from the JVM

c) J2EE-compliant servers guarantee the seamless and correct execution of all components and middle- ware services.

b) J2EE platform services can

100 The Java Application has _ file extension [0.5]

Trang 20

102 is an XML file [0.5]

a) deployment descriptor b) J2EE bundle

103 The structural information describes various components of the

104 The deployment descriptor is edited in the _ phase [0.5]

a) Application assemblers c) deployment descripting

105 The J2EE application deployment descriptor has file with _

Trang 21

a) war c) Ejb.jar

108 A single archive file with ear extension is a _ file [0.5]

a) application descriptor c) deployment descriptor

b) J2EE application d) Java application

109 The final J2EE application is a file [0.5]

110 In the final J2EE application stage the ear file is added to [0.5]

111 The elements of file explain how to assemble and deploy the

components in a particular environment

Trang 22

113 Deployment descriptors provide and _ [1.0]

a) Structural information c) Deployer information

b) Assembly information d) Client information

deployment descriptors, and

package components into

modules

c) Customize deployment descriptor elements, and install deployment units

on servers.

b) Assemble modules into larger

deployment units

115 The describes how to compose the contents of a JAR file to

form a deployable unit

[1.0]

a) Structural information c) deployer information

b) Assembly information d) client information

116 Deploying an application involves two tasks : (choose two) [1.0]

b) deployer information d) assembling

117 The enterprise bean class files along with the deployment descriptor

are packaged together into file with extension

[1.0]

Trang 23

118 The Java code generation is done in _ stage [1.0]

a) Component Packaging c) Application Deployment

b) Application Assembly d) Creation of Components

119 Which of the following abbreviation is incorrect : [1.0]

a) Web ARchive - fwar file c) Java ARchive - jar file

b) Enterprise ARchive - ear

120 Which of the following are not J2EE modules : (choose two) [1.0]

b) deployment descriptor d)* application assembly

121 _ provides information related to the entire application [1.0]

b) Application assembler d) Application server

122 The three roles in the final stages of developing a J2EE application

a) Application Component

Provider

d) deployment descripting b) Application assembler e) Separation of concerns

c) Deployer

Trang 24

123 The task of the Application Component Provider is to : [1.5]

deployment descriptors, and

package components into

modules

c) customize deployment descriptor elements, and install deployment units on servers

b) assemble modules into larger

deployment units

124 The task of the Application assembler is to : [1.5]

deployment descriptors, and

package components into

modules

c) customize deployment descriptor elements, and install deployment units on servers

b) assemble modules into

larger deployment units.

125 An enterprise bean consists of three class files that are : [1.5]

a) the EJB class file d) the remote interface file

b) configuration file e) the interface file

c) the home interface file

126 The WAR file consists of : (choose three ) [1.5]

c) EJB class file and the

interfaces

Trang 25

127 The various components of the Structural information include:

(choose three)

[1.5]

a) fully qualified class names c) the relationship of the

components b) references used d) separate concerns used

128 The java archive file contains the following : (choose two) [1.5]

a) The EJB class file and the

interfaces

c) The java files and interfaces b) the ejb-jar.xml file

129 _ allows the client interact with the business components [0.5]

a) Client-side technologies c) Service technologies

Trang 26

133 Does TCP/IP ensure that the packets are error free during

transmission process?

[0.5]

a) Server Side Language c) Single Side Layer

b) Secure Socket Layer d) None of the options given

a) Document Type Definition c) Document Type Data

b) Data Type Definition d) None of the options given

136 The technology was created to support the authoring of

HTML and XML pages

[0.5]

a) Service technology c) Communication Technology

b) JSP technology d) Component Technology

137 The stateless bean persists as long as the current session exists [0.5]

a) Middleware Oriented Message c) Multiple Operable

Middleware

b) Message-Oriented

Middleware

d) Mechanism of Middleware

Trang 27

139 Middleware is the layer between _ and [1.0]

a) Java Servlet Programming c) Java Servlet Page

b) Java Server Pages d) None of the options given

142 Types of session beans are _ and [1.0]

143 The Transmission Control Protocol ensures _ [1.0]

a) The data packets reach the

destination from the source

of communication

b) The data packets sent from

destination reach the source

of communication

a) Novell Directory Services c) Network Directory service

Trang 28

b) Novell Data Setup d) None of the options given

145 A Transaction is said to be isolated if it is executed Dependent of the

other transaction

[1.0]

146 In a application the client is typically a browser and could be

situated anywhere in the world

Trang 29

151 Servlets do not run on the server and they do have an interface [1.5]

152 _ stands for Lightweight Directory Protocol [1.5]

b) LDAP

153 means that the transaction or the entire group should be

treated as a single entity

155 _ builds the gap between directory services and allows the

user to write portable naming and directory services [1.5]

Trang 30

157 _ is used for securing the information, which is transmitted

over the network

159 XML documents come in two flavors that are : [1.5]

b) Valid

160 The two types of Enterprise beans are & [1.5]

161 _ allows the application developer to connect to relational

databases

[2.0]

162 javax.sql package is used as package [2.0]

a) JDBC 2.x Optional c) JDBC 2.x Core API

Trang 31

b) JDBC 1.x Optional d) None of the options given

163 The directory services available are and _ [2.0]

164 is used to establish a connection with the database [2.0]

a) Getconnection object c) Driver Manager

b) Connection object d) Driver object

165 In a transactional application the transaction finally ends, when

_

[2.0]

a) A thread issues a commit or

even a stand by request b) A thread issues a commit or even a rollback request

167 enables the programmer to develop applications where

invocation of methods of remote Java objects would be possible

[2.0]

Ngày đăng: 09/04/2013, 09:10

TỪ KHÓA LIÊN QUAN

TÀI LIỆU CÙNG NGƯỜI DÙNG

TÀI LIỆU LIÊN QUAN

w