This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Finally Got the II & III SCORE (97%) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Finally Got the II & III SCORE (97%)" Watch "Finally Got the II & III SCORE (97%)" New topic
Author

Finally Got the II & III SCORE (97%)

leevisa asinveel
Ranch Hand

Joined: Jul 01, 2005
Posts: 35
This morning i checked the cert manager database(where we upload assignment),i was very glad to see my score.I wrote my exam on 8/19/05 and today i got the result.
Thanks to MATT REO for his great explaination about his preparation.I followed a lot in his discussion. Also i took notes from every ranchers almost every day while i was designing my assignment.

My sincere Thanks to SAHID AFRIDI, ARBAN DASS, RAJ B,Theoder and all other ranchers.


Comment: This report shows the total points that could have been awarded in each section and the actual amount of points you were awarded. This information is provided in order to give you feedback on your relative strengths on a section basis. The maximum number of points you could have received is 100, minimum to pass is 70. Class Diagram (44 maximum) .......................... 43 Component Diagram (44 maximum) ...................... 42 Sequence/Colloboration Diagrams (12 maximum) ........ 12

All the best.

Thanks,
vijay (leevisa asinveel)

[ September 15, 2005: Message edited by: leevisa asinveel ]

[ September 15, 2005: Message edited by: leevisa asinveel ]
[ September 19, 2005: Message edited by: leevisa asinveel ]
Marcelo Sousa Ancelmo
Ranch Hand

Joined: Jan 17, 2002
Posts: 497

Congrats, great job!



Regards,


Marcelo Sousa Ancelmo - Brazil
Theodore Casser
Ranch Hand

Joined: Mar 14, 2001
Posts: 1902

Congrats! Spectacular job, a score like that.


Theodore Jonathan Casser
SCJP/SCSNI/SCBCD/SCWCD/SCDJWS/SCMAD/SCEA/MCTS/MCPD... and so many more letters than you can shake a stick at!
vu lee
Ranch Hand

Joined: Apr 19, 2005
Posts: 189
Great score! leevisa.
Akar Rafidj
Ranch Hand

Joined: Aug 30, 2005
Posts: 44
Congratulatioms Leevisa

Really great score

Akar
Bobby Sh
Greenhorn

Joined: Jun 26, 2003
Posts: 17
congrats vijay
Jeremy Hsu
Ranch Hand

Joined: Mar 28, 2005
Posts: 79
super awesome score.

congrad on the accomplishment
Sanjay Saxena
Ranch Hand

Joined: Dec 12, 2001
Posts: 81
Great! Congratulations Vijay.
Your name itself means vitory.
Hong Anderson
Ranch Hand

Joined: Jul 05, 2005
Posts: 1936
Congrats


SCJA 1.0, SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCJP 5.0, SCEA 5, SCBCD 5; OCUP - Fundamental, Intermediate and Advanced; IBM Certified Solution Designer - OOAD, vUML 2; SpringSource Certified Spring Professional
Duren Lee
Greenhorn

Joined: Aug 24, 2005
Posts: 29
Congrats!asinveel! Good score!
How did u present your component diag? I'm sticking on this diag.

thk u in advance

duren


SCJP2,SCWCD,SCEA
leevisa asinveel
Ranch Hand

Joined: Jul 01, 2005
Posts: 35
Duren,

I would like to thank every ranchers for taking time to congratulate me.
I did,
3 separate component diagrams marked as main diagrams
Each one is more (or) like adher to the use case. But no duplicate
Components.

2 additional diagrams, marked as supporting diagrams.
(*)One for ACCOUNT management in TRAVEL AGENT and Frequent Flyer.
(*)One for missing components in all the above diagrams.

You may wonder how I should have these many. But each component diagram contains lots of NOTES.

Thanks
Vijay
Arun Prasath
Ranch Hand

Joined: Sep 17, 2003
Posts: 192
Congrats Vijay.. Great job.
Pankaj Mishra
Ranch Hand

Joined: Nov 01, 2004
Posts: 31
Congrats leevisa asinveel
!!Its a great score.

Could u pls tell me if u had shown the generalization(inheritance) relationships in your class diagrams.

I have seen people writing about other relationships(association, dependency, aggregation, composite etc) but have never seen any post saying that the generalization was shown.

The example in Mark Cade too doesn't show generalization .

If you too had not shown generalization then why ?

Pls throw light and clear my doubts.


Thanks
Pankaj
leevisa asinveel
Ranch Hand

Joined: Jul 01, 2005
Posts: 35
Thanks to all for congratulating me.

Yep i did use generalization and realization in my class diagram.When i
started designing, i too had the same question.Since i followed lot from cade. But later i felt those who designed with generalization and realization, got good score.I designed some elements in my class diagram through state pattern. Then you know what i am trying to insist.

Thanks

[ September 17, 2005: Message edited by: leevisa asinveel ]
[ September 17, 2005: Message edited by: leevisa asinveel ]
Akar Rafidj
Ranch Hand

Joined: Aug 30, 2005
Posts: 44
Leevesa

I agree with you that there're elements which may be designed with the State pattern, but I designed the class diagram as a blueprint (without any realization/generalization) which should be refactored iteratively in the construction phase. I mentionned that in my assumptions giving the names of candidate abstractions for polymorphism (i prefered delegation to pure inheritence).
I hope to submit in two days.
Any comment is really helpful.

Akar
Ajai
Ranch Hand

Joined: May 29, 2002
Posts: 198
Congrats on great score!!

Can u pls advice me on the below .

1.) For seat booking ,is documenting the ISOLATION LEVELS required ?
2.) The assgn does not talk about the points that are rewarded when a customer pays for itinerary either through CC or mileage (it only uses the points already earned).Do we need to add this functionality in pay for itinerary?


Thanks
leevisa asinveel
Ranch Hand

Joined: Jul 01, 2005
Posts: 35
Akar Rafidj,

1. My class diagram is an extension of DOMAIN object. I am sure that my high level design of class diagram significantly differs from the detailed design. So designing your element with abstraction means, there will be abstraction in your detail design also, for the classes represented by the element in the high level design. I do not think all my classes in the high level design will have place in my detail design. Your high level class diagram should stand some where between DOMAIN model and detailed design.

2. Visualizing the behavior of the system is one of the responsibilities of an architect. Here we should never forget UML diagrams provide an option of documenting your design through NOTE. Make use of it as much as possible. What I mean to say is, assumption document is a 3 rd choice for the grader to look for your explanation. Will he be able to look for his specific doubts quickly in your list of assumptions? So go with this option
1. Possibly Visualize through DIAGRAM.
2. UML Model Note
3. Assumptions (a last option).

Even I repeated some necessary stuff from the UML notes to get his attention. Still I did lose one mark in my class diagram.

All the best. Review like a grader, who starts looking in our assignment with zero idea about our approach? Is our sequential presentation is right? This is a task which is more than a good design. It is evident that we are not going to be there, when some one review our design.

Thanks and all the best,
vijay s
[ September 19, 2005: Message edited by: leevisa asinveel ]
leevisa asinveel
Ranch Hand

Joined: Jul 01, 2005
Posts: 35
Ajay Sandu,

Thanks,

1.)For seat booking ,is documenting the ISOLATION LEVELS required ?
If I understood this question correctly, I clearly showed the different types of seats available through my class diagram. You can also get some relevant information out my Earlier discussion with Akar Rafidj, about generalization and realization. It helps in visualizing this efficiently.

2.) The assgn does not talk about the points that are rewarded when a customer pays for itinerary either through CC or mileage (it only uses the points already earned).Do we need to add this functionality in pay for itinerary?

The reason for that is FREQUENT FLYER is a different application. We do not need to go that detail. But remember to visualize the use of existing points for billing in your interaction diagram.Also the requirement says they just wanted a way to see the points earned. If you go for that implementation it may end up in changing your architecture. Because they are 2 different application. Remember you just need to Provide ways to view the points earned.

Thanks and will that help.
vijay s
Ajai
Ranch Hand

Joined: May 29, 2002
Posts: 198
Thanks for response.

Just rephrasing my first question since if I was not very clear :- regarding seat booking in pay for itinerary ,when we have no. of tasks (like book seat ,cc authorisation,email sending ) in transaction ,and where the same seat record might be being accessed by multiple concurrent users ,hence there is a need for locking the record by setting some ISOALTION LEVELS .


Thanks
leevisa asinveel
Ranch Hand

Joined: Jul 01, 2005
Posts: 35
Ajay i completely miss understood your question. Yes you do need to care about a proper Trasaction in that scenario. I documented it in my assumptions as well as in my Interaction diagram.But i did not specifically mentioned ISOLATION LEVELS. Beyond all i had a great deal of describing trasaction for a XML-RPC call (A B2B call),i do for CC authorization in the first place. Also email is an asynchronous process it needs to be taken care properly.Since we need to keep in mind that we have already persisted the Itinerary.In case, email delivery fails it can be revisited.Now you know what i am suggesting.

**Also my design consist of CMP with Optimistic Locking Design Pattern.**
[ September 19, 2005: Message edited by: leevisa asinveel ]
Duren Lee
Greenhorn

Joined: Aug 24, 2005
Posts: 29
Originally posted by leevisa asinveel:
Duren,

I would like to thank every ranchers for taking time to congratulate me.
I did,
3 separate component diagrams marked as main diagrams
Each one is more (or) like adher to the use case. But no duplicate
Components.

2 additional diagrams, marked as supporting diagrams.
(*)One for ACCOUNT management in TRAVEL AGENT and Frequent Flyer.
(*)One for missing components in all the above diagrams.

You may wonder how I should have these many. But each component diagram contains lots of NOTES.

Thanks
Vijay


Vijay,thanks for your reply! you cleared my confusion.
I got some questions based on yr reply:

1. you said :"..But no duplicate Components..", in cade's book, there are three component diags based on package, 'Service Locator' component was presented in each diags, is it a duplicate component?
2. In Cade's book, i don't know the reason why 'Business Delegate' was not used? if used, only one 'Business Delegate' for all use cases or each 'BD' for each use case(e.g. orderBD for order, customerBD for customer)
3.in some threads, they said two 'BD's were designed for Web and Swing client, I'm very confused about this design, why we need two 'BD'(e.g. WebOrderBD for web client, ApplicationOrderBD for swing client), in my design i want to share one 'Business Delegate' in one use case, for e.g.:CustomerBD, two type front ends use 'CustomerBD' as delegator to access SessionFacade, is it reasonable?


thank you

duren
leevisa asinveel
Ranch Hand

Joined: Jul 01, 2005
Posts: 35
Duren,
Very good question.
Both service locator and decision to have business delegate depends on your physical seperation. The physical seperation in turn depends on the application server and the hardware available.

1. Cade has ServiceLocator only.Why?
This is because, he has no need of business delegate in his design.BD has its purpose other than decoupling the presentation and business service.
Now you know what i am trying to say. More to follow.

2. How many BD can be used?
One BD per Business Service. This should be configurable to work for SWING
application and WEB application.How we make it configurable? This will answer the questions.
What is the difference between a swing and web application, invoking business service? Your physical seperation will answer this.

3. I do not have duplicate components in my diagram means i was not trying to show the same component again and again. But at the same time component definition says they are re-usable. Thats how ServiceLocator in CADE's book came into picture.Such duplication is allowed.

will this work for u?

Thanks
vijay s
[ September 20, 2005: Message edited by: leevisa asinveel ]
Ajai
Ranch Hand

Joined: May 29, 2002
Posts: 198
Thanks !!!
I have few more questions.

1.Technology indepenedent class diagram to me means class without specifying whether it is entity/session and without specifying the return type/arguments of the methods since these tend to be language dependent.
Am I right here?
I have seen a no. of ranchers who have passed with v. good scores using sterotypes like session/entity on classes.

2.In the CT Arington book,in their class diagram examples they put even the UI as one class e.g withdrawFindsUI .They also mark the classes with sterotypes as boundary,control,entity etc.

What are your views on that?
leevisa asinveel
Ranch Hand

Joined: Jul 01, 2005
Posts: 35
Ajay,

You are absolutely right. Adding to that,

I initially designed class diagram as per CADE class diagram,which includes Session beans.I questioned myself, if so then why cade did not mention other controller layer elements in the class diagram.I did not see a reason to follow cade in designing class diagram.After some research and reading,i kept in mind 3 things:
1. I assumed,there is going to be one more CLASS DIAGRAM while doing DETAIL design.(Devlopers will do that)
2. My high level class diagram should be Detailed extension of DOMAIN model.
3. Always thinking about how this class diagram is going to help if i will be the DA to define the database schema.(This helped me not to miss any single relationship in my class diagram). Also this helped me since i was using CMP in my design.

Do not worry about including any JAVA related stuff in to the class diagram.
I have included SHOPING CART as cade did, also i did mention its SFSB in notes. But there was no stereotype.

I wrote lots of note in all the diagrams.

** I took lots of risk in my design decisions.***** But i reworked to confirm they are relevant and resonable. As a result my assumptions are very huge (7 pages in MS Word)

Thanks
vijay s.
[ September 21, 2005: Message edited by: leevisa asinveel ]
Duren Lee
Greenhorn

Joined: Aug 24, 2005
Posts: 29
Originally posted by leevisa asinveel:
Duren,
Very good question.
......

2. How many BD can be used?
One BD per Business Service. This should be configurable to work for SWING
application and WEB application.How we make it configurable? This will answer the questions.
What is the difference between a swing and web application, invoking business service? Your physical seperation will answer this.
......

will this work for u?

Thanks
vijay s

[ September 20, 2005: Message edited by: leevisa asinveel ]

Thank you,Vijay, your replies are very helpful for me!
Because my Swing clients directly call business service across a dedicated line, other than swing accessing business service through web tier. In my idea, we would implement only one BD per business service, but we can deploy one copy of the BD on the web client side and the other copy of the BD on the Swing stand-alone side. we don't need change the code of the BD, or make it changeable relying on deployment descriptor?
can I understand your configurable BD and physical seperation?

Vijay, could u give more help to me?
many thanks

duren
leevisa asinveel
Ranch Hand

Joined: Jul 01, 2005
Posts: 35
Duren,

You are almost there. Its not deployment descriptor, its the custom .properties(application specific & Key=value pair of EJB HOME names related) files you deploy with the SWING and WEB applicatiion. Now you can understand how flexible your BD is? You do not need to have different BD.

Thanks
Vijay S
Duren Lee
Greenhorn

Joined: Aug 24, 2005
Posts: 29
Originally posted by leevisa asinveel:
Duren,

You are almost there. Its not deployment descriptor, its the custom .properties(application specific & Key=value pair of EJB HOME names related) files you deploy with the SWING and WEB applicatiion. Now you can understand how flexible your BD is? You do not need to have different BD.

Thanks
Vijay S


Vijay, I got it! the way is very flexible, but I still have a root question:
as two types client(web & swing stand-alone client), they invoke the same busienss services(e.g. AccountManager.logon()) through service locator,
except the same business service, there is also the same RMI-IIOP protocol to access app server. There is no difference between both of them although they are deployed in the different envirments, I think.
Like 'core j2ee pattern'(Deepak Alur), in 'ResourceDelegate.java':EJB Home and JNDI name are hardcode, if this delegate is deployed in the different envirements, it works well,I think
we need not configration file, just put one copy on the web, the other one on the swing.
please correct me, Vijay

duren
mikeh Chang
Greenhorn

Joined: Sep 05, 2005
Posts: 6
-----------------------------------------------
Duren,

You are almost there. Its not deployment descriptor, its the custom .properties(application specific & Key=value pair of EJB HOME names related) files you deploy with the SWING and WEB applicatiion. Now you can understand how flexible your BD is? You do not need to have different BD.

Thanks
Vijay S
------------------------------------------------

Hello Vijay,

Yes, in most situation, you can reuse the business delegate.
But in the following case, you must have different business delegate for Swing and Web.

Web container and EJB container are deployed in the same JVM, so local EJB is used for Web BD. It use Local home interface and Local interface.
But Swing can only use Remote home interface and remote interface in its BD.
So their BD are difference.

Please correct me if I am wrong.

Regards,
Mike
leevisa asinveel
Ranch Hand

Joined: Jul 01, 2005
Posts: 35
Duren and Mike,

Mike you are right. Lets consider this,

How about an Intelligent BD which can work for both LOCAL and REMOTE EJBS.
Just an If and else. Then this decision should me made based on the application wide .properties file. Even a System property can work.

If it is local interface, all local homes related .properties are loaded and served. if it is remote, all locals homes related .properties are loaded and server. Beyond all just make all this a jar and deploy where ever you want (web,EJBContainer,swing).This makes your application very manageble.

Also there are different types of CLUSTER architecture (i do not mean vertical or horizontal clustering) available. It need not be always EJB CONTAINER and WEB CONATINER configured (or) Kept in the same JVM.

Thanks
vijay s.
[ September 22, 2005: Message edited by: leevisa asinveel ]
Duren Lee
Greenhorn

Joined: Aug 24, 2005
Posts: 29
Originally posted by leevisa asinveel:
Duren and Mike,

Mike you are right. Lets consider this,

How about an Intelligent BD which can work for both LOCAL and REMOTE EJBS.
Just an If and else. Then this decision should me made based on the application wide .properties file. Even a System property can work.

If it is local interface, all local homes related .properties are loaded and served. if it is remote, all locals homes related .properties are loaded and server. Beyond all just make all this a jar and deploy where ever you want (web,EJBContainer,swing).This makes your application very manageble.

Also there are different types of CLUSTER architecture (i do not mean vertical or horizontal clustering) available. It need not be always EJB CONTAINER and WEB CONATINER configured (or) Kept in the same JVM.

Thanks
vijay s.

[ September 22, 2005: Message edited by: leevisa asinveel ]


Hi,vijay and Mike
Maybe we don't care about if it's Local or Remote, please refer to the following the diag.:
BD--->ServiceLocator--->SF---->Remote or Local EJB service.

Because BD invokes Session Facade's service methods through serviceLocator, SF must be designed as Remote in order to expose its business service methods, however SF can invoke other EJB through local(performance) or remote interface.

We can deploy ServiceLocator both types clients.

Long for better advice

duren
Pankaj Mishra
Ranch Hand

Joined: Nov 01, 2004
Posts: 31
Hi Vijay,

One more question. Did you use a single sequence diagram to show both the web client(customer) and the swing client(Travel Agent).In case you used a
single diagram, how did you manage the size of the diagram(as it must have become huge).

How did you show Alternate Flows in your sequence diagrams.

Thanks
Pankaj
leevisa asinveel
Ranch Hand

Joined: Jul 01, 2005
Posts: 35
Pankaj Mishra,

1.I have one sequence diagram for each usecase.
2.I did not show SWING application interaction in my sequence diagrams.
3.My sequence diagram was visualizing the components interaction, not classes from class diagram.
4.I mentioned the alternate flow through the NOTE.I did not draw any single
sequence.beacuse it will clutter.

Note: I used COMPONENT diagram efficiently to show JAVA APPLICATION CLIENT interaction along with WEB client. Other than that assumptions and NOTE described my SWING related issues. No other diagrams.

Thanks
vijay s.
[ September 28, 2005: Message edited by: leevisa asinveel ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Finally Got the II & III SCORE (97%)