Originally posted by Jibu Thomas:
SCEA looks for a design that supports both web and application clients.
BTB, AA, Please give your name
Originally posted by Sam Gehouse:
I will appreciate your input on the questions below.
Question 1) Is my understanding below correct?
Travel Agent : Uses thick client Java app for Freq Flyer and Booking Travel.
Customer : Uses web client for Freq Flyer, Booking Travel and Payment.
Is this correct?
Question 2) What client (web or thick) does the Travel Agent use for making payment for the customer.
The requirement says that the new TransMaster payemnt system will use XML-RPC over HTTPS.
Does that mean that the Travel Agent will switch to web client for making payment for the Customer? Or, should the Customer use thick client for making payment??
3) If the Travel Agent has to use thick client (Swing) for making payment, is it sufficient to mention that the Swing client will use JSSE?
What would be other approaches to connect to TransMaster payment system securely from the Swing client?
4) Need your opinion on if it is still needed to show Business Delegate for each of the apps (web and Swing)?
The web client app (created for Customer) and Swing client app (created for Customers) are two separate apps. These two apps are deployed separately.
My design is:
UI -> Controller -> StatelessSessionEJB (SLSB)->DAO.
For web app (used by Customers), UI is JSP, and Controller is Servlet.
For non-web thick client (used by Travel Agent), UI is Swing and Controller is POJO. However, both the Swing app and web app use the same SLSB and DAO.
Is there still any need to introduce Business Delegate in between UI and Controller for each of the web app and the Swing app?
Business Delegate does decoupling of presentation and SLSB. I believe that my Controller does that. Business delegate is the strong solution if different flavors of UI clients (e.g. thick client, web and others) try to connect to SLSB (stateless Session EJB). However, as both the apps (Swing and web) are deployed separately, do I still have any need to show Delegate pattern for each of the apps (Swing and web)?
5) Do I need to show UI classes in Class diagram?
The UI classes are JSP for web and Swing for thick client. As I read the difference between class and Componet diagram,it is valid to show JSP in Component diagram. In the same token, it is valid to show Swing classes in Class diagram.
That being said, should I show UI components in both Class and Componet Diagram?
In Class diagram, the UI would refer to Swing classes. In Component diagram, the UI would refer to JSP.
Is my assumption correct?
6) Are both Travel Agent and ustomer ators for all the 4 Use Cases (for which Sequence Diagrams need to be drawn)?
I ask the question because, the the Brief Description says the actor is both Travel Agent and Customer. In the Flow of Events, it only mentions Customer.
7) Can I show all the other classes (Controller, DAO, SLSB etc.) in the Class diagram?
Or, does the Class diagram require me to show only the domain types classes and their extensions only?
Originally posted by Lakshmi Kalidindi:
Thanks for your suggetions.
Yesterday I passed SCEA level 1. Can you pl advice me how to start with
for Level 2. I would appreciate if you can send me any links or material which you used for your preparation.
When uploading your assignment, some candidates experience problems uploading files greater than a 1000K. We suggest optimizing the graphics to reduce the file size to between 200k and 400k.
If the password you have created contains the # sign, please create a new password without the # sign as this may possibly cause problems when you are trying to upload your assignment.
Please be aware that you are allowed only one upload. Make sure to review your assignment thoroughly prior to uploading it. Should you need to upload a revised version of your assignment before it is graded
or if you fail the assignment, you will need to contact your local Sun office to pay the respective resubmisson fee.
Originally posted by Sam Gehouse:
Can I produce separate sequence diagrams for swing client and web client for each use use?
Originally posted by Subramanian Narayanaswamy:
Just to add on to this discussion - what is the impact of using a stateful session bean with a DAO ? Why is it a bad practice - or is it just that stateless session + DAO is better than stateful session + DAO?