Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SCEA Part I

 
Iyengar Srividya76
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI ....
Check out these !!!

1. An applet will directly accesses Database using
JDBC. No database installation (or) configuration is
to be perform on client workstations which JDBC driver
used in this situation.
a) Type-1 JDBC-ODBC Bridge Driver
b) Type-2 Native API partly Java Driver
c) Type-3 JDBC-Net pure Java Driver
d) Type-4 Native protocol pure Java Driver
e) Type-5 Standard internet driver
2. Which is true in Container Managed Persistent(CMP)
Enterprise bean.
a) Container managed fields must be declared as Public
b) The Primary Key can be defined at deployment time.
c) The SQL for any finder methods is stored in the Deployment Discriptor
d) Fields to table mapping information is stored in Deployment Discriptor

3. Dynamic access to remote CORBA objects is obtained by client side
applications via
a) location directory
b) implementation repository
c) object registry
d) naming server directory
e) interface respiratory

4. Which of the method names of ejb avail thru' JNDI
a) register()
b) put()
c) bind()
d) store()
e) insert()

5. Select the distributed object protocol from following.
a) RPC
b) CORBA
c) RMI-IIOP
d) RMI-JRMP

6. A "Singleton" is a design pattern, which states
that a class has only one instance, with global access
to it, Given an Order Entity EJB, which of the
following is a Singleton
a) Orderitem
b) OrderBean
c) OrderRemote
d) Order

7. Which middle ware solution is BEST fit when
anonymously accessing the server under the firewalls
of Internet.
a) RMI
b) Servelets
c) CORBA
d) EJBs

8.A reference to an EJB can be stored by a client for later use by:
a) serializing the EJBObject to disk
b) Adding the object to the server's pooled objects
c) implementing a find for the bean
d) storing the Handle of the EJB for the bean object

9. What manner a developer define asynchronous method in CORBA
a) outKeyword in IDL
b) asynchronousKeyword in IDL
c) nowaitKeyword in IDL
d) onewayKeyword in IDL
e) any one method of a void return types,does only
input parameters and throws no exceptions.

10.A developer successfully creating and tests a stateful bean following deployment, intermittent
"NullpointerException" begin to occur, particularly when the server is hardly loaded. What most likely
to related problem.
a) setSessionContext
b) ejbCreate
c) ejbPassivate
d) beforeCompletion
e) ejbLoad

11. 2 programs are there- and running concurrently.
Both will select multiple rows from the table. No
table updates can occur while the 2 programs are
running. Which isolation can provide BEST performance
while priventing conflicts?
a) TRANSACTION-NO
b) TRANSACTION-READ-UNCOMMITTED
c) TRANSACTION-READ-COMMITTED
d) TRANSACTION-REPEATABLE-READ
e) TRANSACTION-SERIALIZABLE
Vidya
 
Timber Lee
Ranch Hand
Posts: 157
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I feel these questions are difficult to me, is real test like these questions? I got 75% correct when I took scea@whiz's test, I am not sure if I should take real test?
hope to get your advices!
thank you in advance!
 
Debanjana Dasgupta
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My answers

2. Which is true in Container Managed Persistent(CMP)
Enterprise bean.
a) Container managed fields must be declared as Public
b) The Primary Key can be defined at deployment time.
c) The SQL for any finder methods is stored in the Deployment Discriptor
d) Fields to table mapping information is stored in Deployment Discriptor
a,b,d
5. Select the distributed object protocol from following.
a) RPC
b) CORBA
c) RMI-IIOP
d) RMI-JRMP
c,d

6. A "Singleton" is a design pattern, which states
that a class has only one instance, with global access
to it, Given an Order Entity EJB, which of the
following is a Singleton
a) Orderitem
b) OrderBean
c) OrderRemote
d) Order
a
7. Which middle ware solution is BEST fit when
anonymously accessing the server under the firewalls
of Internet.
a) RMI
b) Servelets
c) CORBA
d) EJBs
b

8.A reference to an EJB can be stored by a client for later use by:
a) serializing the EJBObject to disk
b) Adding the object to the server's pooled objects
c) implementing a find for the bean
d) storing the Handle of the EJB for the bean object
d

10.A developer successfully creating and tests a stateful bean following deployment, intermittent
"NullpointerException" begin to occur, particularly when the server is hardly loaded. What most likely
to related problem.
a) setSessionContext
b) ejbCreate
c) ejbPassivate
d) beforeCompletion
e) ejbLoad
a

11. 2 programs are there- and running concurrently.
Both will select multiple rows from the table. No
table updates can occur while the 2 programs are
running. Which isolation can provide BEST performance
while priventing conflicts?
a) TRANSACTION-NO
b) TRANSACTION-READ-UNCOMMITTED
c) TRANSACTION-READ-COMMITTED
d) TRANSACTION-REPEATABLE-READ
e) TRANSACTION-SERIALIZABLE
c
Thanks
Debanjana
 
Timber Lee
Ranch Hand
Posts: 157
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, Debanjana:
thanks for your answers, but I can understand why, could you give me their reason.
 
Timber Lee
Ranch Hand
Posts: 157
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
6. A "Singleton" is a design pattern, which states
that a class has only one instance, with global access
to it, Given an Order Entity EJB, which of the
following is a Singleton
a) Orderitem
b) OrderBean
c) OrderRemote
d) Order
I think none is right
 
Timber Lee
Ranch Hand
Posts: 157
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
7. Which middle ware solution is BEST fit when
anonymously accessing the server under the firewalls
of Internet.
a) RMI
b) Servelets
c) CORBA
d) EJBs
can corba support anonymousy access?
 
Timber Lee
Ranch Hand
Posts: 157
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
11. 2 programs are there- and running concurrently.
Both will select multiple rows from the table. No
table updates can occur while the 2 programs are
running. Which isolation can provide BEST performance
while priventing conflicts?
a) TRANSACTION-NO
b) TRANSACTION-READ-UNCOMMITTED
c) TRANSACTION-READ-COMMITTED
d) TRANSACTION-REPEATABLE-READ
e) TRANSACTION-SERIALIZABLE
now that No table updates can occur while the 2 programs are running, I think b is right answer.
 
Debanjana Dasgupta
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Timber
For this
11. 2 programs are there- and running concurrently.
Both will select multiple rows from the table. No
table updates can occur while the 2 programs are
running. Which isolation can provide BEST performance
while priventing conflicts?
a) TRANSACTION-NO
b) TRANSACTION-READ-UNCOMMITTED
c) TRANSACTION-READ-COMMITTED
d) TRANSACTION-REPEATABLE-READ
e) TRANSACTION-SERIALIZABLE
It shd be d
I did not read it correctly.
TRANSACTION-REPEATABLE-READ isolation level means data that is read cannot be changed.
TRANSACTION-SERIALIZABLE could also be applicable in this case.But since we need the best performance, TRANSACTION-REPEATABLE-READ is more suitable than TRANSACTION-SERIALIZABLE , which is very restrictive in nature.
Hope this helps.
Debanjana
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic