Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Passed Part 2/3 - 99%

 
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Harish,
Thanks very much for the help.

-tomas
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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,
 
Harish Ramchandani
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
 
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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



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.
 
Harish Ramchandani
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
 
James J Xu
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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



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.
 
Harish Ramchandani
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
 
Ranch Hand
Posts: 317
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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




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
 
James J Xu
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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



Harish,
Sorry I have one more question regarding Business Delegate. Right now my both Web-client and Swing-client interacts with Web-tier, which in turn talks with EJB-tier so Web-tier components can be shared between all different types of client. And I used Petstore's web-tier example such HTMLActions and WEBController, but it seems no Business Delegate is used in Web-tier components. Should it be ok if we don't use this J@EE pattern?

Thanks.
 
Harish Ramchandani
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
 
Ranch Hand
Posts: 463
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Dhiren Joshi
Ranch Hand
Posts: 463
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Harish,
For component diagrams..

DId u show any dependency links within a package for components or u showed dependency links only from a package to package.
Thanks
Dhiren
 
Harish Ramchandani
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
Can you tell me if Core J2EE patterns by DEEPAK ALUR is usefull for Part 2 and Part 3.

Thanks
Saket
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Harish,

have you demarked transactions in your sequence diagrams?
It's relevant from an architectural point of view, isn't it?

Thank you,
Eduardo.
 
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.



It definitely is!
Most useful to me, e.g., are those sequence diagrams the book uses to explain the usage of patterns.


Cheers,
Harbo
 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Congrats Harish!!
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Harish,

Three questions regarding to SCEA part 2,

1. How to handle the incomplete use case specification?

2. How to handle the conflicts in the use case specification?

3. How to treat web user and travel agent differently?

Thanks in advance,

Charlie
 
Ranch Hand
Posts: 1327
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Of course you have to make some assumptions, users dont always know what they want most of the time or how the website page is gonna look like, sometimes u have to propose a solution to the users and explain the pro and cons to them for them to decide which solution to use, or assume certain factors and use a certain solutions and why u used it.
 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Can you please let me know some good sites for taking the mock-up exams.
Thanks
manojkumar
 
reply
    Bookmark Topic Watch Topic
  • New Topic