Pamir Bahret

Greenhorn
+ Follow
since Jul 17, 2003
Merit badge: grant badges
For More
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 Pamir Bahret

Originally posted by Raj Raj:
Thanxs for your response, was really helpful...
Have more question --
1) Have you shown VOs or objects that are used in messaging passing parameters, etc in class diagrams..
2) Also wanted to know whether you have shown VOs etc in the component diagram. Do we need to show the objects passing between the component etc in the component Diagram and sequence diagram
Thanks for the help
Raj


1) No. It is a architecture diagram not a design diagram. I didn�t show methods in class diagram.
2) I didn�t show parameters in interaction diagram. VO�s are not components. Components from my point of view are classes which implement a common interface and could be interchanged at deployment

Originally posted by sh yh:

Thank you for your answers.
One more question:
Did you use the design pattern "View Helper" and/or "Dispatcher View" in any of your diagrams?
TIA


View Helper but I don�t insist too much on this. Only in web mvc interaction diagram and component diagram

Originally posted by Rudi Vaum:
no, I have Java everywhere; it's like this:
client --> business delegate --> session facade (SLSB) --> various business objects (EJBs)
the controller should be somewhere between client and BD; maybe in the client..
At present time, it is nowhere to see on my UML diags - that is bad ;-(


you can have :
1) BD instantiate an event
2) BD send event to business layer controller
3) Business layer controller dispatch the event to a state machine
4) SM start the business action for this event

Originally posted by Raj Raj:
Congratulations Pamir...
Have got few quetions........
1) What level of details are need in the class diagram. Is it necessary to show all the attributes/operation for the class.
2) Do the class diagram needs to be J2EE dependent (means show the EntityEJBs,SessionEJBs,etc). If it is J2EE independent then do we need to show the command classes as simple classes and make that SessionEntityEJBs in the component Diagram.
3) JSPs can be a different component but how about the application client. Can the application client be shown as a component or need to create a Class Diagrams for that too.
4) Do we need to create the package diagram
5) In sequence diagram for each different type of client do we need to show the different sequence diagram or can be represented as a "Client".
6) Can class diagram and component diagrams can be broken into multiple diagrams or needs to be shown as single diagram.

Answer to above questions are truely appreciated. Do not need the specifics but any suggestions will be helpful.

Thanks in advance for the help

Raj


1.No. Show them only where is necessary to communicate something. I only show in one class and only attributes
2.I made the class diagram J2EE semi-independent like Cade book. I show only facades as J2EE stereotypes
3.Client application is a component for me which use BD to communicate with business layer using a business controller
4.If you only want to make more clear the design. I made the PD
5.see the last post
6.You can break them but my opinion is that: If you put all the class / components in the same diagram and the diagram is not so huge and hard to understand then is better to have only one.

Originally posted by sh yh:
Congratulations.
A question for you:
In your sequence diagrams, assume the User Actor is the one who starts the message calls?
Did you first send a message from the User Actor to a Controller or to a (JSP) Page?
I find out that if I choose to send the message to a page first, then the active status of that page will be messed up later (the page will be active even when it shouldn't).
TIA


For the sequence diagrams my approach was:
- one generic for the mvc web interactions (The Browser initiate the message which is sent to a filter / controller)
- one generic for the swing client interactions with a BD sending the message
- one for each usecase on bussiness tier with a generic client initiating the message

Originally posted by Roger Zacharias:
Concerning your class-diagram (I think this is the crux in most assignments and you have negotiated it):
- Did you show attributes and ops in the class diagram?
- How many classes do you have?
- Have you changed the BDM?
- Have you consolidated some BDM classes?
---------------------------------------------------------------------------
1. only for a single class representing an object which must be aged .. )
2. aprox 20
3. Yes cardinality in one place and I introduced some classes between others
3. no, I have deconsolidated some
---------------------------------------------------------------------------
1. Sorry - what means �aged�?
2. Did you show EJBs in the class diagram or is it J2EE-independend?
3. Let me suggest: You changed the cardinality of "where the person is placed on his journey" from n to 1 ? :-) How did you justify that?
Roger


1. I cant explain because reveal my assumptions. sorry
2. no, is j2ee independent
3. nope, in some other place

Originally posted by Roger Zacharias:
Hi Pamir,
concratz! Go and party!
Concerning your class-diagram (I think this is the crux in most assignments and you have negotiated it):
- Did you show attributes and ops in the class diagram?
- How many classes do you have?
- Have you changed the BDM?
- Have you consolidated some BDM classes?
Best regards
Roger


1. only for a single class representing an object which must be aged .. )
2. aprox 20
3. Yes cardinality in one place and I introduced some classes between others
3. no, I have deconsolidated some
[ September 19, 2003: Message edited by: Pamir Bahret ]

Originally posted by dbala subramaniam:
Mr.Pahmir
Could you tell us what are the questions in the Part III about your Assignment
How long is the time taken
how many questions
I already submitted Part II waiting for my results
I have submitted Aug 11th so far no result
with regards
bala


There are only 4 questions about how you make the decisions in your design. The questions are really simple if you make the design. The questions are not really made secial for you based on the design you have been submited.

Originally posted by Billy Tsai:
did u check ur exam status from ur candidate history on the prometric's website after u took ur part3 essay exam and what did it display?


Only the part I was checked
Thanx to all group !
Test:
Sun Certified Enterprise Architect for Java 2 Platform Enterprise Edition Technology Part II (310-061)
Date Taken:
2003-09-15 22:48:30.670
Registration Number:
j6edus5084
Site:
rm2
Grade:
P
Score:
97
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) ...................... 43 Sequence/Colloboration Diagrams (12 maximum) ........ 11

Originally posted by john prieur:

Hello,
It seems to me that the Component Diagram should demonstrate that you know how to organize your system into components that. The components should
serve to describe the system, and they should delineate software "units" from the point of view of deployment. - that's my thought.


Hi!
I saw in a book for UML something like that: If an object implements some interfaces and can be changed with other implementation and not affect the system than this object can be considered a component (This is the case for all DAO's). In this case the EJBAction. HTMLAction and Event are all components? Some architects say that the component diagram represents a class diagram but with only dependencies.
I think the answer for problem two is compensating transactions. What do you think ?
But if you have two not transactional calls, let say one for payment system and one for mileage system? How you deal with that case? Is compensating transactions useful?
In your example I think the last operation in the path of payment must be the access to not transactional service because if method xxxx() fail how you deal with rollback?
[ August 11, 2003: Message edited by: Pamir Bahret ]
Your approach is ok, is the same approach from petstore 1.3.1 with only one little diference: the first statefull facade is named ejbcontroller but it is a facade
Hope this help ..