my dog learned polymorphism
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes SCEA Sun's book Part2 example - WebServices VS. Web App in MVC pattern Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "SCEA Sun Watch "SCEA Sun New topic

SCEA Sun's book Part2 example - WebServices VS. Web App in MVC pattern

Sorin Ciolofan

Joined: Feb 07, 2011
Posts: 17

I'd like to refer to Cade's book for preparation of the SCEA exam and also to the tackling of Part 2.
In the mentioned book there is an example for the JustBuildIt company. For the text that is given for the assignment one can infer that a web service application needs to be done. There is nothing in the requirements of the problem about the fact that a web application with presentation layer in the form of jsp's would be required.
My impression is that the proposed solution though is about how to build a web application in the MVC paradigm rather than how to solve the problem of the web services. Did anyone else have the same impression?
I'm wondering why it was proposed a solution with JSP's, Controllers, etc when the text of the problem does not require that? The solution presents jsp's on how to search for bids, orders etc, while from the text of the problem we can infer that the clients of the application will use web services and not jsp's.

Any comments on this will be highly appreciated, since my impression is that the same kind of confusion could exist in REAL Part2 assignments.

Thank you
With best regards,

Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 33124

There has to be some sort of front end for the human users to post products, bid on availability notices and select winners. (The three use cases.) A web service means those screens could be in another system. But there's nothing in the scenario description to suggest that is the case either. And assuming another system does the bulk of the work trivializes the problem making it a risky part 2 strategy.

If you haven't seen the Cade & Sheil FAQ page, take a look before you start part 2. It lists the things people have found in the sample solution in the book that aren't advisable.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Jari Timonen
Ranch Hand

Joined: Jan 16, 2004
Posts: 232
The solution is quite "unique" in the book. Class-diagram is front-end centric. Whole back-end is missing.

SCJP 5.0, SCJD URLyBird 1.3.3, OCMJEA 5 (SCEA) Factory Homes
I agree. Here's the link:
subject: SCEA Sun's book Part2 example - WebServices VS. Web App in MVC pattern
jQuery in Action, 3rd edition