Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!

leevisa asinveel

Ranch Hand
+ Follow
since Jul 01, 2005
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 leevisa asinveel

In Websphere Portal 5.0 PORTLET messaging is available in 2 flavours

1. Message Broadcast 2. Portlet to Portlet Messaging

thanks
14 years ago
In a good architecture, SUBSYSTEMS are highly decoupled and classes inside a SUBSYTSEM are closely related to have maximum COHESION. This we need to achieve in our architecture and design.
What i understood from the thread is, u want your SESSION FACADE to choose and work between different DATA ACCESS MECHANISM exposing a single interface, this is a good input for choosing a pattern like STATERGIC. But this should not impact tiers.All the mentioned techs (HIBERNATE or JDO or TOPLINK) are data access mechanisms may have common INTERFACE to decouple. I always go with Integration Tier as my choice for DATA ACCESS irrespective of what TECH to implement it.
I do not think we need to document or specify much about this in PART 2.

vijay s
SJCP4,SCEA
I do not know how you see VLH and SHOPPING CART. They are definetely a good and needed candidte to show in Component Diagram. In my design VLH was a ststefull session EJB and SHOPPING CART too. I did show them in component diagram.

Thanks. Sorry if i did not understand your question clearly.
In my Opinion. I did not know any specific questions related to J2EE Patterns. But i do know i had some EJB questions related to COMPOSITE entities.What i mean to say is they asked some indirect questions.
Guys,

Have anyone heared about PRESERVATION in java. I recently came across people asking difference between PERSISTANCE and PRESERVATION.

Thanks in advance
vijay s.
SCEA,SJCP1.4
14 years ago
chao cai,

If so read your assumptions once or twice and other decisions you have made
to cover non-functional requirements. I repeated most of the things exactly
from my assumptions documents. I was carefull bcoz the time is minimum, and was always trying to provide maximum information out there from my assumptions and from the NOTE in my UML diagrams. It was very successfull and i scored 97% in my part II and III.

Thanks
vijay s.
[ September 27, 2005: Message edited by: leevisa asinveel ]
Pankaj Mishra,

1.I have one sequence diagram for each usecase.
2.I did not show SWING application interaction in my sequence diagrams.
3.My sequence diagram was visualizing the components interaction, not classes from class diagram.
4.I mentioned the alternate flow through the NOTE.I did not draw any single
sequence.beacuse it will clutter.

Note: I used COMPONENT diagram efficiently to show JAVA APPLICATION CLIENT interaction along with WEB client. Other than that assumptions and NOTE described my SWING related issues. No other diagrams.

Thanks
vijay s.
[ September 28, 2005: Message edited by: leevisa asinveel ]
Duren and Mike,

Mike you are right. Lets consider this,

How about an Intelligent BD which can work for both LOCAL and REMOTE EJBS.
Just an If and else. Then this decision should me made based on the application wide .properties file. Even a System property can work.

If it is local interface, all local homes related .properties are loaded and served. if it is remote, all locals homes related .properties are loaded and server. Beyond all just make all this a jar and deploy where ever you want (web,EJBContainer,swing).This makes your application very manageble.

Also there are different types of CLUSTER architecture (i do not mean vertical or horizontal clustering) available. It need not be always EJB CONTAINER and WEB CONATINER configured (or) Kept in the same JVM.

Thanks
vijay s.
[ September 22, 2005: Message edited by: leevisa asinveel ]
Duren,

You are almost there. Its not deployment descriptor, its the custom .properties(application specific & Key=value pair of EJB HOME names related) files you deploy with the SWING and WEB applicatiion. Now you can understand how flexible your BD is? You do not need to have different BD.

Thanks
Vijay S
Ajay,

You are absolutely right. Adding to that,

I initially designed class diagram as per CADE class diagram,which includes Session beans.I questioned myself, if so then why cade did not mention other controller layer elements in the class diagram.I did not see a reason to follow cade in designing class diagram.After some research and reading,i kept in mind 3 things:
1. I assumed,there is going to be one more CLASS DIAGRAM while doing DETAIL design.(Devlopers will do that)
2. My high level class diagram should be Detailed extension of DOMAIN model.
3. Always thinking about how this class diagram is going to help if i will be the DA to define the database schema.(This helped me not to miss any single relationship in my class diagram). Also this helped me since i was using CMP in my design.

Do not worry about including any JAVA related stuff in to the class diagram.
I have included SHOPING CART as cade did, also i did mention its SFSB in notes. But there was no stereotype.

I wrote lots of note in all the diagrams.

** I took lots of risk in my design decisions.***** But i reworked to confirm they are relevant and resonable. As a result my assumptions are very huge (7 pages in MS Word)

Thanks
vijay s.
[ September 21, 2005: Message edited by: leevisa asinveel ]
Duren,
Very good question.
Both service locator and decision to have business delegate depends on your physical seperation. The physical seperation in turn depends on the application server and the hardware available.

1. Cade has ServiceLocator only.Why?
This is because, he has no need of business delegate in his design.BD has its purpose other than decoupling the presentation and business service.
Now you know what i am trying to say. More to follow.

2. How many BD can be used?
One BD per Business Service. This should be configurable to work for SWING
application and WEB application.How we make it configurable? This will answer the questions.
What is the difference between a swing and web application, invoking business service? Your physical seperation will answer this.

3. I do not have duplicate components in my diagram means i was not trying to show the same component again and again. But at the same time component definition says they are re-usable. Thats how ServiceLocator in CADE's book came into picture.Such duplication is allowed.

will this work for u?

Thanks
vijay s
[ September 20, 2005: Message edited by: leevisa asinveel ]
Ajay i completely miss understood your question. Yes you do need to care about a proper Trasaction in that scenario. I documented it in my assumptions as well as in my Interaction diagram.But i did not specifically mentioned ISOLATION LEVELS. Beyond all i had a great deal of describing trasaction for a XML-RPC call (A B2B call),i do for CC authorization in the first place. Also email is an asynchronous process it needs to be taken care properly.Since we need to keep in mind that we have already persisted the Itinerary.In case, email delivery fails it can be revisited.Now you know what i am suggesting.

**Also my design consist of CMP with Optimistic Locking Design Pattern.**
[ September 19, 2005: Message edited by: leevisa asinveel ]
Mail to Sheron requesting upload permission.Please give details(ProMetric ID and NAME) They will set up the database for u.U will get a following mail in 2 days.

i think you can take PART III before uploading PART II. Because i did that way. Confirm with these people. Also it will take atleast 2 to 3 days for there reply. Take this id also, for very critical issues.

Monica.Green@Sun.COM (she responds very quickly. But SUN related questions)

Dear XXXX,
Thank you for contacting Thomson Prometric.

We have now set the database to accept your upload.

Please go to:
https://www.certmanager.net/~sun_s/assignment.html
and log in to your file there.

Then select the "test history" button and then click the "assignments" button and follow the links. You shouldn't have any problems getting to the instructions.

After you upload you will need to take the essay exam as soon as you are able because the upload and essay are graded together.

If you need to resubmit you will need to contact the Sun registrars to pay an additional fee for each submission. (to find Sun Registration number closest to you please go to:
http://suned.sun.com/US/locations/index.html)

You will not see updates regarding this certification at the i-7 cert tracker database http://i7lp.integral7.com/sun
until after your assignment grade has been returned, which normally takes 2-4 weeks.

Please respond to this email if we may be of further assistance to you.

Thank you for testing with Prometric!


Best Regards,
Shareon
SUN CertManager Support
suncert@Thomson.com
Ajay Sandu,

Thanks,

1.)For seat booking ,is documenting the ISOLATION LEVELS required ?
If I understood this question correctly, I clearly showed the different types of seats available through my class diagram. You can also get some relevant information out my Earlier discussion with Akar Rafidj, about generalization and realization. It helps in visualizing this efficiently.

2.) The assgn does not talk about the points that are rewarded when a customer pays for itinerary either through CC or mileage (it only uses the points already earned).Do we need to add this functionality in pay for itinerary?

The reason for that is FREQUENT FLYER is a different application. We do not need to go that detail. But remember to visualize the use of existing points for billing in your interaction diagram.Also the requirement says they just wanted a way to see the points earned. If you go for that implementation it may end up in changing your architecture. Because they are 2 different application. Remember you just need to Provide ways to view the points earned.

Thanks and will that help.
vijay s
Akar Rafidj,

1. My class diagram is an extension of DOMAIN object. I am sure that my high level design of class diagram significantly differs from the detailed design. So designing your element with abstraction means, there will be abstraction in your detail design also, for the classes represented by the element in the high level design. I do not think all my classes in the high level design will have place in my detail design. Your high level class diagram should stand some where between DOMAIN model and detailed design.

2. Visualizing the behavior of the system is one of the responsibilities of an architect. Here we should never forget UML diagrams provide an option of documenting your design through NOTE. Make use of it as much as possible. What I mean to say is, assumption document is a 3 rd choice for the grader to look for your explanation. Will he be able to look for his specific doubts quickly in your list of assumptions? So go with this option
1. Possibly Visualize through DIAGRAM.
2. UML Model Note
3. Assumptions (a last option).

Even I repeated some necessary stuff from the UML notes to get his attention. Still I did lose one mark in my class diagram.

All the best. Review like a grader, who starts looking in our assignment with zero idea about our approach? Is our sequential presentation is right? This is a task which is more than a good design. It is evident that we are not going to be there, when some one review our design.

Thanks and all the best,
vijay s
[ September 19, 2005: Message edited by: leevisa asinveel ]