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

Sample question from Oracle - SCEA Part 1

 
Teja Saab
Rancher
Posts: 152
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am referring to question 6 from the link here

In case the above link does not work, you can go to the Oracle certification page and look up the part 1 assignment and click on 'Sample questions' at the bottom of the page.

6) You are architecting a new web deployed portfolio management application. In the current system, the Portfolio Managers have a desktop application running on their local PCs, and you want to implement the new solution with a GUI that is similar to their desktop application. Once the users have set up and approved a portfolio, you must use a Web service to send the trade to a fund trading system.

What two technologies are required for this new application? (Choose two.)
a) JAX-WS (*)
b) JMS
c) JSSE
d) JCE
e) JSP
f) JSF (*)

REFERENCE:
JSF 1.2 spec.
Options A, F are correct.
Options B, C, D are incorrect because they are not indicated by the requirements.
Option E is incorrect because it could be used, but only by adding Ajax, which is not mentioned in the requirements.



Look at the explanation given for Option E. What the does Option E have anything to do with Ajax? Besides JSF files are JSP files first. So by that logic Option E should be correct as well. I know that I am allowed to select only two correct entries. I think that JSP is a better answer than JSF since JSF files are JSP files too.

Ranchers please provide your feedback.

Thanks
 
Dmitri Ericsson
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think that the solution provided is absolutely correct.
Generally, when solving SCEA Part 1 questions you should know the pros and cons of major Java EE components and then find the corresponding buzzwords from the requirements.
So you should have in your mind that:
JSF: Modern, component-based, can render into many formats including mobile devices, user-friendly and Ajax-ready
JSP: Old standard, simple, performance-friendly, does not have many JSF benefits

So the question has hints that the new system should have a high level of usability, because desktop applications are generally more usable than web ones. So taking into account that in order to provide better user expirience JSF has ajax support and when using JSP you should add it manulally, the answer is clear.
 
Teja Saab
Rancher
Posts: 152
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Dmitri.
 
J Bajada
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You have to watch out for key hints in the question.
The key here is: 'and you want to implement the new solution with a GUI that is similar to their desktop application.'

To achieve this requirement you need to have a rich internet application and JSF (like it or not) provides components, similar to how swing works in desktop applications, which simulate 2 way interaction through AJAX. If you think about it a developer could simply map one-to-one each widget in the desktop application to an equivalent or similar JSF component.

It is not going into the technical details of whether the JSF is in fact a JSP.
As an architect you normally take decisions based also on time-to-market, ease of use, elegance and maintainability of solution etc., apart from the technical adequacy of the solution.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic