Win a copy of Event Streams in Action this week in the Java in General forum!

Cindy Li

+ Follow
since Jan 29, 2003
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 Cindy Li

here is a summary of my design

1. class diagram - I have 17 classes. The diagram is based on BDN. I added only one or two new classes based on the BDN. So, my class diagram is quite simple. If you view the BDN as core, I added surrounding classes using common design pattern. They are presented in stereotype, e.g. SLSB.
I didn't add any method() or attribute, because I think these should be development issues.

2. component diagram - I used MVC, but didn't use any specific framework. based on cade's example, I elaborate each view/controller/model/external system/legacy system. Most of the components is to be implemented in development. Quite detail, but I didn't use package to represent components. If you read cade's book, you will get my idea.

The main reason I use detail component is I have very little idea how to use only package, consolidated component to elaborate. if you design the package and have corresponding classes inside, pls refer other posts.

3. sequence diagram - I have 7 sequence diagram. each use case has one. alternative solution has their own.

addtional: one deployment diagram,

Assumptions are explained for each diagram. You may think a consolidated assumptions will be better. I also addressed functional, non-functional services.

Overall, I used common design patterns. Not heavy, cause I think unless necessary, it is not really needed to put too many patterns. Also, the project, if it is to be implemented, it has to follow some general approach supported oy particular app server. So, I didn't really use all design patterns in the petstore.

The percentage of lossing mark for each part is similar. It might be because I ommited details of BDN.

Hope this is helpful!

Congrat! Excellent.

I wish I had talked to you earlier for some tips in the assignment.
sincerely congrat!
I have just checked the result that I have passed the SCEA, and now is a
certified SCEA. Today is really a relief to me.

Yet, my score is not perfect, I should be still proud of it. I got 84 marks.

Here is the report
Class Diagram (44 maximum) .......................... 39
Component Diagram (44 maximum) ...................... 37 Sequence/Collaboration Diagrams (12 maximum) ........ 8

I ommitted the complex design and discussion of flight object and all
details, such as seats, date/time, etc. I used a VO to represent the
compelx detail. That could be a reason why I lost the marks.

For me, There are lots of future efforts need to put on real projects.

Thanks so much for all the helps from the forum. I leaned a lot during the preparation in the last two years.

Wish to hear good news from all of you!

Cindy Li
[ August 17, 2004: Message edited by: Cindy Li Xin ]
If a java client talks to ejb, and the container needs to create a unique session for this client (e.g. online shooping), is the ejb referrence stored in an object on java client, or similar to web client, there should be some object on the application server to store referrence?

I only know that web client use httpSession object to keep referrence to ejb object. HOw about java client? confusing.

Any help, will be very much appreciated.

I am still confused over this problem.

How does a Java client talk to ejb on an application server ? Should use RML? but if ssl access is required, is there protocol for SSL over TCP/IP?

THanks for any help
When you implement Business Domain Model in class diagram, do we need to change the default assocation?
do we need to change the classes into aggregation or composite association?
In UML dictionary, does association with no arrow on both side mean bi-directional?
Can anyone help on this? Thanks
[ May 10, 2004: Message edited by: Li Xin ]
And I just checked with SUN people. They mentioned that high end server like E10k supports clustering.
It can be assumed that load balance and failover is supported also for ejb components.
I think the state should be stored in SFSB, even for Java Client. If you use Swing client to store states, it takes lots of overhead to transfer the heavy weight objects.
Use SFSB, the state transfer is avoided. all states are maintained by ejb container. Only the lightweight stub is returned to client.
So i think both web client and java client should use SFSB
Does it mean that I should use BMP,and DAO to embed http request/response?
Since the persistence doesn't occur directly between Eejb and database, Will performance be an issue?
Should I deploy the bean twice as read only and r/w bean?
Li Xin
Would anyone help on this?
How does an EJB (or container) talk to an existing system, which is built on html,CGI and Oracle?
Can EJB talk to that database without going through the existing system? Especially if an entity bean is to be created in the container from the tables in the database, how does persistence work in this case??
What is the protocol to use, RMI or IIOP?
From your experience, if the system need to support web client and Java client, do we need to design two sets of controller? One set for web clients deployed on web server, another set for Java client deployed on the app server?
For web client, the request goes to web server, and then app server.
For Java client, the request goes to app server directly through JRMP?
However, I feel this approach doesn't reuse the component which are actually doing the same work.
How do you handle this issue?
Could any one kindly help on this question? Thanks for your reply
HI, Roger,
congradulation for the high scores
As you used Together 6 for sequence diagram, could you help me on this question,
How to turn off the sequence number (e.g. 1.1.1... ) which is mainly for collaboration diagram in the sequence diagram?
It looks messy when each step comes with the sequence number. I am using Together 6.1. I couldn't find any option for this in the menu.
Li Xin
What are the design patterns you used in the project?
Li Xin
I am using Togerther 6.1 Trail to generate sequence diagram. Together generates a collaboration number for each step I create.
I want to hide all the collaboration number, because it looks very messy.
I couldn't find any switch from the menu to do that.
Could you let me know how I should handle this?
By the way, if I use other tools (e.g. Enterprise Architect trial),the diagram and objects it creates not 100% the same as Mark Cade's study case(SUN MICRO publication), will that be any problem?
Thank you,
Li Xin
Wish to get your help.
I am studying the SUN Micro guide of SAEA. I am working on part II.
As for the class diagram, it seems that the classes included are all from
EJB side. none of the JSP or servlet is included.
Can anyone give some suggestion? Should I include Servlet into class diagram?
Thanks a lot
[ January 07, 2004: Message edited by: Li Xin ]