Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!

justin pra

Greenhorn
+ Follow
since Jul 14, 2008
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 justin pra

Hi Ashish,

I am also thinking delete segment in change itinerary means segment needs to be deleted from itinerary stored in session as the usecase says that flow will go to prepare itinerary usecase from here.
At the time of confirmation,i think this delete segment info can be got and deleted.
I have assumed that on confirmation of itinerary,the itinerary is going to be created/updated in DB.

KIndly let me know if this approach is logical at the earliest.

Thanks ,
Justin
Ashish,

Thanks for your reply.
I am now not so convinced with XQuery appraoch.It is used for data retreival. In the given scenario,if payment is made by award travel,mileage miles have to be debited if available.
I feel for this update option,xquery may not be able to do update. can we not use session bean and dao to update mileage DB. Other option is to use web service,i think.Am i missing something. KIndly let me know.
Thanks,
Justin
11 years ago
Hi Ashish ,

I have one clarification in one of the tasks.
It is required to interface to non java based web application for fetching mileage details. I have been thinking of screen scraping as an option.
(i would say XQuery to extract data). Few websites say screen scraping is not a very elegant solution(i think they say screen scraping- rerminal emaulation).Iam planning to go ahead with screen scraping.
What are your thoughts on this? Please let me know if there are any suggestions at the earliest possible.
Thanks,
Justin.
11 years ago
Hi Ashish ,

Thanks for your excellant replies . I think things are more clear now.

Best regards,
Justin.
12 years ago
Hi Ashish,
Thanks for your suggestions and reply.

Iam bit confused with treatment of BDOM with Segment and flight relationship.There are many threads in forum but none seem to give concrete solution.

Do we have to treat BDOM in Customer context/point of view.
If that is case,i think assigned DOM looks ok.

But if we take DOM as whole system not from customer angle,i think Segment-Flight relationship needs to be many-one. That is flight can have many segments where flightid is foreign key on segment table which acts as seat reservation table.
Kindly let me know your thoughts or which approach is right.
Best Regards,
Justin.
12 years ago
Hi Ashish ,

Thanks for your reply .
As you said,the domain model desn't explain about the entities . SO,i will document my understanding.
Iam not very clear on the relationship part of Segment with Seats as per current DOM.Iam reading about data modeling and looking for good material.
I think you had mentioned about data modeling in your SCEA messages.
Kindly suggest good approach or any good book for data modeling.

Best Regards,
Justin.
12 years ago
Thanks Ashish for your reply.

Aspects of design are more clear now.

I am in process of deciding if session facade needs to be stateful or stateless:
Stateful session facade helps to maintain state for swing client but may slow performance due to 200 web users.
but core j2ee book says Stateful session is ok when we have different clients.
But i think swing does some cache of state on client side. I have to check this.
What approach do you suggest?


Also, i think BDOM has to be modified bit to associate segment and seats. Is it ok to do this?.Did you use same DOM as given.
KIndly let me know.
Best regards,
Justin
12 years ago
Hi Ashish,

Thank you very much for your quick response.

I have two clarifications w.r.t seq dgms. They are :
1.In Cade�s book, they have drawn seq dgm at architectural level . meaning,they have used components as participants . In UML distilled book, I found classes being used in seq dgm and I have used mostly classes in seq dgm in my earlier projects .
1.1 What did you use in your seq dgms? Classes or components. What were your reasons for choosing class or components.

1.2.Also, there seems to be two approaches for showing messages in seq dgm.
One is showing actual method of class as message.
Another is showing the operation as message. For eg,in Core j2ee Patterns book, they show �get data� as message to DAO from Fa�ade object.
I feel the first approach looks to be good.
What approach you used and what was the reason for selecting that approach?

1.3 Also,do we need to show message paramters in method calls of classes in seq dgms.

2.I have confusion to what level of detail I should show participants in seq dgm.
Should I show flow from customer to controller , business tier and JSP�s or show flow from customer to business delegate and then to DAO.
I read that you also had same issue and you opted for JSP approach .Was there any reason for selecting this approach.
I feel first approach can be used but have GUI subsystem instead of JSPs if one has app clients in the assignment. However , the controller is different for web and application . So, it is not clear how to show this in seq dgm.

Kindly let me know your answer to my queries at the earliest.

Best regards,
Justin
12 years ago
Hi Ashish ,

Firstly,I would like to extend my Congrats to you for becoming SCEA certified.

I have the following clarification for SCEA part 2:

I have seen two approaches being given in site for:
Swing app to talk to Bus tier :
�Swing app talking to EJB tier thro biz delegate.
�Swing app talking to SocketServlet � which talks to EJB tier.

It is known that Application Controller like Command will take care of action or view management for Web layer.
It is not clear to me how action or view management will be done for Swing app .
Can you please suggest material to look for this or what could be best approach for this.

Awaiting your response .

Best Regards.
Justin.
12 years ago
Hi all,
In Alternative Flows of price itinerary:
Changed Itinerary,it is said that system calculates the changed segment and returns the additional payment.
Whereas in change itinerary,it says:
In order to change, the segment is deleted and the Prepare Itinerary Use Case is executed.
The two statements seem to contradict each other.
IN post-condition of change itinerary,it says unpaid itinerary.
So,I think pricing is done only for prepare itinerary usecase . Kindly let me know if my understanding is not ok.
[ July 15, 2008: Message edited by: justin pra ]