This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SCEA Question answer confirmation

 
Rajan Choudhary
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Q1 -- Your organization is interested in building an application that will allow users to query and read volumes of statistical data for analysis. They anticipate high volumes of traffic and want the most scalable solution. This application will be distributed in a cluster and deployed as an enterprise archive. Components should be designed so that they can be accessed remotely by other Java applications.

A. Servlet accessed using HTTP.
B. Message-driven bean accessed using JMS.
C. Stateless session bean accessed using RMI.
D. Stored procedures and DAO's.

I am very positive that correct answer is "C" due to the scalability, clustering & distributed & pure java clients but the correct answer is shown as D in epractise of Oracle. Am I missing something?


Q2--- Elimination of the majority of required interfaces for persistent entities. To me this statement is true in the context of EJB3 architecture. what do you say?

Q3- Which is the correct design pattern to avoid having lots of conditional statements? My understanidn says builder but the correct answer is presented as abstract factory. DO you agree?

Q4- Does the real SCEA part 1 exam tell us, how many correct options need to be selected? Like choose any 2 or 3 etc
 
David Byron
Rancher
Posts: 175
Clojure Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rajan Choudhary wrote:
... to query and read ... high volumes ... most scalable solution... accessed remotely by other Java applications.

...I am very positive that correct answer is "C" due to the scalability, clustering & distributed & pure java clients but the correct answer is shown as D in epractise of Oracle. Am I missing something?

Seems like C to me. Stateless sBeans address scalability, and RMI addresses remote access for external Java apps.

Q3- Which is the correct design pattern to avoid having lots of conditional statements? My understanidn says builder but the correct answer is presented as abstract factory. DO you agree?

Abstract Factory makes sense, as it eliminates the chained/nested instanceof™ phenomenon.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34672
367
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rajan,
Where did this question come from? We ask people to cite their sources for mock exam questions.

#4 - yes, you will be told how many correct answers there are on the real exam
 
Rajan Choudhary
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jeanne Boyarsky wrote:Rajan,
Where did this question come from? We ask people to cite their sources for mock exam questions.


from ePractise of Oracle. What is your opinion about the answer?
 
Anil Chowdary
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I go with answer C. I don't think answer D quite takes care of the non functional and other requirements mentioned in the question.
 
giuseppe fanuzzi
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The perfect answer would be C + D.
C because is about scalable and remoting, and D because DAO is the best choise when the amount of data is expensive and the query are complicated like analysis query.
So a real architect would implement a SLSB that uses a DAO.
 
Rajan Choudhary
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
giuseppe fanuzzi wrote:The perfect answer would be C + D.
C because is about scalable and remoting, and D because DAO is the best choise when the amount of data is expensive and the query are complicated like analysis query.
So a real architect would implement a SLSB that uses a DAO.


Well, the question says, only one correct answer so I was thinking about C due the scalability and deployment of ear within a cluster.

If they mean a cluster of DB servers then deployment of ear does not make any sense.

Now coming to C+D approaches, I kind of disagree because question clearly says scalability by clustering so if scalability is achieved in EJB side within app servers and if you try to use stored procs and DB servers are not clustered then you might not achieve the real goal.

 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34672
367
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rajan Choudhary wrote:from ePractise of Oracle. /quote]
Thank you.

Rajan Choudhary wrote: What is your opinion about the answer?

Definitely C.

 
Sharma Ashutosh
Bartender
Posts: 346
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Q1 -- Your organization is interested in building an application that will allow users to query and read volumes of statistical data for analysis. They anticipate high volumes of traffic and want the most scalable solution. This application will be distributed in a cluster and deployed as an enterprise archive. Components should be designed so that they can be accessed remotely by other Java applications.

A. Servlet accessed using HTTP.
B. Message-driven bean accessed using JMS.
C. Stateless session bean accessed using RMI.
D. Stored procedures and DAO's.


Correct answer is C

Q4- Does the real SCEA part 1 exam tell us, how many correct options need to be selected? Like choose any 2 or 3 etc

Yes, they specify how many answers should be chosen

 
Rajan Choudhary
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you all for confirming. The answer in ePractise test is wrong. I was just going thru sample questions on Oracle site and the correct answer is listed as "C".
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic