Peter Lee

+ Follow
since Jun 25, 2003
Merit badge: grant badges
For More
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Peter Lee

Is there any prerequisite to take the exam?

From its web is it required to take the training course?

14 years ago

Originally posted by Anil Vupputuri:

Does it mean no Manager classes or Stateless Session Beans in your 21 Classes (in Class Diagram).
Did you change BDOM interms of Association, Navigability and Multiplicity.

Yes.. no stateless session bean. If your "Manager" class refer to some design pattern, then no too. I didn't change the BDOM, just added more classes to interact with them.

Originally posted by Ramon Gill:
Hi Peter,
You've stated your class and sequence diagrams did not mention J2EE technology. Did you include any J2EE terms in any notes? (i.e. did you state whether you chose BMP or CMP?)


HI Ray,

No mention in sequence and class diagram, they are technology independent. Technology stuffs were mentioned in component diagram.

Originally posted by Dhiren Joshi:
Congratulations Peter.

CAn you give some important tips on Part-2.
Especially on component diagram.. Did u have subsystems in component diagram.
I am kinda of stuck at the component diagram for a while now . Not knowing how to proceed.
I have tried different UML methodology for component diagram .
Defining components in per tier ( web tier EBJ tier EIS tier etc) and also keeping them separate. I get stuck at the point of linking the dependency among them and what defines a component as a component. Sometimes I feel I have created a component which may not be a component. Which methodology did u follow.
Can you give me some pointers to get started on it correctly.

For sequence diagram did u show interactions only at the business level or also at the J2EE level.


HI Dhiren,

I don't have subsystem in my component diagram. The link of the diagram I posted in my previous really useful to my design.

For the class and sequence diagrams, I only reference to business entities, nothing related to J2EE technology. The sequence diagrams is to show the interaction between objects used in class diagrams. So make sure your sequence diagrams contains most of your objects used in class diagram.

Hope this helps.


Originally posted by Ramon Gill:
Well done Peter. Fabulous score. Can you give us a few tips about your diagrams?


HI Ray,

My design approach mainly follow petstore design and my diagram style looks like cade book.

For class diagram (42%):
Based on the BDM on the assignment, I have 21 classes. Actually I wonder why this part worth 44 marks (I got 42) because the efforts seem not much. I have added some operations and attributes to the classes, but it is completed.

For sequence diagram (10%):
I have 4 sequence diagrams, one for each use cases.

For component diagram (42%):
I think use more design pattern can get higher marks. The book "Core J2EE Pattern" is a very good book. One of the architectural diagram in the petstore design document is useful.

Hopes this help.

Thanks for this forum and thanks for all who answered my questions before.
HI All,

I am new to OR tools and not very experienced in EJB and would like to ask some questions.

What is the drawback of using OR tools instead of CMP?
Is OR tools really save a lot of programming works compared with EJB?
Do you think it is a trend to use OR tools for persistence?


Oh, I just find out the way.
Simple select all objects (Ctrl+A) then paste in paint brush is ok.


Hi all,

I am using Rational Rose Enterprise Edition 2003 for drawing my diagrams, however I cannot find the function to export the diagrams into image format. Could anyone please help me or if no such function, any work around you have used before?


HI Renee,

Congratulation to you!

I got some questions about component diagram, hope you can help me on this, or anyone are welcomed to discuss.

1. How many component diagram have you submitted?
2. Have you show every single JSPs in the component diagram?
3. If I want to use WAF, do I need to supply every single HTMLAction or EJBAction, or just represent a package named HTMLAction?

Many thanks.

Dear all,

Since class diagram should depict the static design of the system, however, in Cade's book example (Figure 8-6), it shows a class ShoppingCart which should not be one of the static design class, am I right?


Dear All,

Is it reasonable to make that assumption? If travel agent within FBN intranet, then there is no firewall problem for java client to access FBN EJB tier through RMI.


HI all,
Referring to Petstore 1.3.2 source code cart.jsp, why in following line 5, it can refer to cart directly without declaring cart before?
1: <%@ taglib prefix="waf" uri="/WEB-INF/waftags.tld" %>
2: <%@ taglib prefix="c" uri="/WEB-INF/c.tld" %>
3: <%@ taglib prefix="fmt" uri="/WEB-INF/fmt.tld" %>
4: <c:choose>
5: <c:when test="${cart.count == 0}">
6: <p class="petstore_title">Your Shopping Cart is Empty.</p>
7: </c:when>
19 years ago
1. I don't want to include many pattern related objects (e.g. HTMLAction, create event) in the sequence diagram and I read other experiences that it is not necessary too. However, if not include those objects in sequence diagrams but only keep in component diagrams, how come developers know the communication between objects? Is my view point right?
2. Is it required to draw sequence diagrams for user creation and user signon?
Sorry, missing one word, I mean most samples use stateful EJB to implement shopping cart rather than HttpSession.