• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

SCEA Question answer confirmation

 
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Rancher
Posts: 175
Clojure Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

 
Bartender
Posts: 361
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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".
 
reply
    Bookmark Topic Watch Topic
  • New Topic