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
SCEA, SCJP, CPD
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,
Originally posted by Harish Ramchandani:
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.
- 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.
Originally posted by Harish Ramchandani:
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.
- 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.
Originally posted by Harish Ramchandani:
James,
You are absolutely correct. I think that you are going in right direction.
Take Care
- Harish
http://www.harishramchandani.com
Originally posted by Harish Ramchandani:
James,
You are absolutely correct. I think that you are going in right direction.
Take Care
- 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
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
Originally posted by Saket Agrawal:
Hi
Can you tell me if Core J2EE patterns by DEEPAK ALUR is usefull for Part 2 and Part 3.
SCJP, SCWCD, SCEA
BEA 8.1 Certified Administrator, IBM Certified Solution Developer For XML 1.1 and Related Technologies, SCJP, SCWCD, SCBCD, SCDJWS, SCJD, SCEA,
Oracle Certified Master Java EE 5 Enterprise Architect
Systems Analyst,JCP