Harish Ramchandani

Ranch Hand
+ Follow
since Mar 18, 2004
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Harish Ramchandani

Congratulations Sangmin. I am glad to know that my comments were useful to you.

Thanks -
Harish
Part 2 And 3 Discussion notes
Part 1 Mock Exam
On
http://www.harishramchandani.com

Originally posted by Dhiren Joshi:
Hi Harish ,
I have a few more questions for you.
1.Did you show steoreo types in your sequence diagram .Were u using Rational rose as the UML tool. IF so can you explain how u added stereo typing for sequence diagrams
2. If u did make a component diagram and showed logical packages did u show a package dependecy diagram to relate the two ?

Thanks
Dhiren



Hello Dhiren,

1.Did you show steoreo types in your sequence diagram .Were u using Rational rose as the UML tool. IF so can you explain how u added stereo typing for sequence diagrams

>> No, I did not show the steoreotypes in my sequence diagrams. Based on the fact that it was based on messages exchanged between components and my component diagram had steoreotypes already.

2. If u did make a component diagram and showed logical packages did u show a package dependecy diagram to relate the two ?

>> The dependency is in between components and not between packages.


Hope this helps.

- Harish
http://www.harishramchandani.com

Originally posted by Parag Doshi:



Harish,
Is it alrite if we avoid showing the Web/EJB Action, SearchServices and BusinessDelegate classes in the class diagram? I feel it gets too cluttered..or do we need to show that the user <<uses>> [sterotype] these classes to get what it needs?

Parag



Hello Parag,

Try to make Class Diagram as simple as possible. Just make sure that you have all business-relevant classes in the diagram. You should avoid to include classes that you mentioned above.

Hope this helps.
- Harish
http://www.harishramchandani.com

Originally posted by James J Xu:


Harish,
Thanks so much for your previous reply.

Here I have another question regarding Web Action and EJB Action in the component diagram. From Petstore example, it seems these two kinds of Actions are used for Web client, while Swing client just uses Business delegate to access EJB tier directly. Is this correct?

Thanks.




James,

You are absolutely correct. I think that you are going in right direction.


Take Care
- Harish
http://www.harishramchandani.com

Originally posted by James J Xu:


Harish,
In your component diagram, did you show the dependency between package's components? And have you put all packages into a single diagram or each package for each diagram?
Many thanks.



All packages in one component diagram. And yes, I did show dependency between package's components.

Good Luck.
- Harish

http://www.harishramchandani.com

Originally posted by Arnab Das:
Hi Harish,

Congratulations on a great score!

Could you please give me an answer to a question regarding the business domain model? In the diagram, there is a 1..* relationship between Equipment and Seats. Does it signify that an equipment has many seats? Or, does it mean that the customer may book one or more seats (for him/herself and say, the family members) in an equipment? This is to confirm the assumption that the customer may book multiple seats for each segment.

I would greatly appreciate your comments.

Thanks,



Hello Arnab,

This essentially means that an Equipment (i.e. Aircraft) contains (i.e. composition) many seats. This relationship doesn't imply that a customer can book many seats.
You can, however, make your assumption anyways .

HTH
- Harish
http://www.harishramchandani.com

Originally posted by tomas suzuki:


Harish,
Thanks very much for your reply.
Did you use the Mark Cade book as a reference? I am asking this because the component diagram examples in his book do not contain any packages. They contains indiviual JSPs and servlets, etc. This is what my diagram is based on. Since you had a perfect score, I am not sure what to follow now.
Did you apply the same approach to the business-tier by specifying EJBs only in a note?

rgds,
- tomas



Tomas,

I have seen Mark Cade's book but did not follow it. I think, you can draw component diagram in both ways. There is nothing right or wrong. It all depends on how your diagram communicates with your diagram audiences.

I took the approach to draw components within packages because I wanted to group and show components in logical tiers. Based on the requirement of having only one component diagram, I chose NOT to include individual JSP/Swing components. I, rather, added note with all screen names. It helped me to avoid cluttering. I opted the same approach for EJB Action and Web Action classes. Nevertheless, I made sure that all key components are shown in my diagram.

Please let me know if you still have any questions.

Take Care
- Harish

http://www.harishramchandani.com

Originally posted by Joyce Lee:
Harish, for the class diagram, did you use dependency relationship?

Thanks.




Joyce,

Yes, I did.

- Harish

Originally posted by tomas suzuki:
Excellent score!
I have a question regarding your component diagram. You mentioned including components for the Java app in your component diagram. So far, I only included components for the web app, such as JSPs, Servlets and EJBs in my component diagram. Wouldn't it look redundant if I include presentation layer components for the java app? How did you handle the problem?
Thanks for the help.

Tomas



Hello Tomas,

The most important thing to remember is to keep your diagrams simple and easy to understand. As you know that one of the objective of UML diagrams is to communicate the solution effectively with designers, team members and business analysts etc.etc.

Based on the same lines, here is what I did in Component diagram -

In the 'client-tier' package, I had two subpackage (One for each type of client). To make it simple, I just put only ONE component in each package and attached a note containing all screen names that the system will have. In this way, you can avoid putting so many components (one for each screen ) in your component diagram without loosing any information.

And ofcourse, your core business logic will be implemented in EJB-Tier that will be used by both type of clients. That means, there is no duplication there. You just have to use different business delegates that will delegate the client request to EJB-Tier.

Hope this helps.

- Harish
http://www.harishramchandani.com

Originally posted by Dhiren Joshi:
Congratulations Harish for an excellent score.

I have few doubts about the assignment if you could clarify

1. Did your class diagram have private identifiers or only public ?
2. Did u define attributes and methods too for all diagrams?
3. What references did u use for creating the component diagram .. Any helpful resources/links u referred .. I didnt find much yt for component diagram
4. Did u create any additional diagram like package and deployement. ?
5. Did u use sub systems in class diagrams ?

Is it all right duplicating information by dog ear notes (design diagram notes) and putting it down in the document as well as for clarity and document flow.

Thanks
Dhiren




Dhiren,
Sorry for the late reply. Just got caught in work. Here are answers to your questions -

1. Did your class diagram have private identifiers or only public ?
ANS: Both.

2. Did u define attributes and methods too for all diagrams?
ANS: Only relevant methods and attributes in class diagram.

3. What references did u use for creating the component diagram .. Any helpful resources/links u referred .. I didnt find much yt for component diagram
ANS: Check out - http://www.agilemodeling.com/style/componentDiagram.htm

4. Did u create any additional diagram like package and deployement. ?
ANS : No.

5. Did u use sub systems in class diagrams ?
ANS: No.

HTH
- Harish
Mock Exam available at http://www.harishramchandani.com
Just saw the results today. Yepp, It was 99% . Thanks a lot to all of you.

Grade: P
Score: 99
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) .......................... 44
Component Diagram (44 maximum) ...................... 44 Sequence/Colloboration Diagrams (12 maximum) ........ 11


Check out the thread at http://www.coderanch.com/t/152466/java-Architect-SCEA/certification/Passed-Part if you have any questions.
I have passed part I with 89%.

Best Regards,
Harish Ramchandani
Mock Exam for part I available at http://www.harishramchandani.com
14 years ago

Originally posted by James J Xu:
Hi, Harish,
Excellent score. Congratulation!

Would you tell us how many sequence diagrams you have? Should we follow the instuctions to have a sequence diagram for each use case?

many thanks,



Hello James,

Its funny to know that I have put a lot more efforts in Sequence diagram than other two diagrams, but lost the only mark there. :roll:
Well, I had 10 Sequence diagrams. Yeah, you heard right..Its TEN. Here is the break-up

- 2 Diagrams : Just to explain how MVC will work for 2 different clients (Web and Swing)

- 2 Diagrams : For 'Login' use case. One for each client type.

- 6 Diagrams : One for each Use case. These diagrams shows the core business logic in client-independent manner.

All Sequence diagrams started with Use Case description. This description was placed at the left margin of the diagram. In this way, it is easy to map the action flow with the use case.

I know that people have scored 100% on sequence diagram by providing just 4 diagrams. It is all up to you.

Best Regards
- Harish
http://www.harishramchandani.com

Originally posted by James Wang Ye:
Harish,

Could you tell me where you checked and found your part II & part III score?

I got my certificate in the post office mail today. But I checked on http://www.certmanager.net/sun_assignment/, click on the "Test History" button after login, I still do not see the result. I only saw my part I test result there.

Thanks
James




James,

It sounds strange. My results were posted on the http://www.certmanager.net/sun_assignment/ only. The exact same path as you mentioned above. I think, you should send an email to Sun/Prometric for inquiry.
Well, Congratulations for passing the exam . How much did you score?

- Harish

Originally posted by Luciano Queiroz:
Did you aldo represent the relationships among entity beans inside the component diagram?
For example, did you link Customer with Account? Account with ContactInfo?




No, I did not draw any of the dependent objects. Rather, I attached a note to Customer component with the description that it implements Composit Entity (formerly Aggregate Entity) design patterns with Account, ContactInfo etc. dependent objects.
You may find detailed information about this pattern at
http://java.sun.com/blueprints/patterns/CompositeEntity.html

Take Care
- Harish
http://www.harishramchandani.com

Originally posted by Parag Doshi:
Hi Harish,
Congratulations on your fine efforts ! I had a question. Did you ever feel the need to change the business model (associations, relationships etc )during your design phase?

Would appreciate your insight on this.

Thanks,
Parag



Thanks Parag,

No, I did not feel any need to change the BOM. Just extended it for my Class Diagram.

Take Care
- Harish
Mock Exam available at http://www.harishramchandani.com