Win a copy of Micro Frontends in Action this week in the Server-Side JavaScript and NodeJS forum!

veena madhukar

Ranch Hand
+ Follow
since Apr 28, 2006
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 veena madhukar

Can Part 3 be taken immediately after uploading the assignment...or do we need to wait for a day or two for any kind of confirmation?

Will there be access (online or physical) to our submitted Assignment while taking the Part 3 exam?

Veena
Thank you so much. I will try. regards, Veena
my jar size is 1.5 mb. is it ok? it is recommended in the mail from sun that it shd be less than 1 mb. comments or suggestions pls. from anybody who have uploaded in the past...?

i have all my drawings as jpg. any inputs would be appreciated.
I am following Form based authentication. I have a login page. I have specified the security constraints in the web.xml.

I would like to know after the execution of login where will the controller go to?? will it go the controller servlet, followed by an action class??

For any typical event (such as create customer)---the following has been the flow:
controller servlet--> createAction-->createUserBD (business delegate) --> customerManagerEJB --> customerDAO;

Now in case of login..
After the execution of login (authentication is by form based authentication ) where will the controll go to?
My requirement is to store the logged in userID details in Stateful Session bean. how will the flow look like?
I am following Form based authentication. I have a login page. I have specified the security constraints in the web.xml.

I would like to know after the execution of login where will the controller go to?? will it go the controller servlet, followed by an action class??

For any typical event (such as create customer)---the following has been the flow:
controller servlet--> createAction-->createUserBD (business delegate) --> customerManagerEJB --> customerDAO;

Now in case of login..
After the execution of login (authentication is by form based authentication ) where will the controller go to?
My requirement is to store the logged in userID details in Stateful Session bean.

Thanks.
Isn't that happening by Itinerary table. The way to read is...Any Itinerary will be composed of 1 to many segments. Every segment will have a flight associated with it.
1> can we show composition, aggregation kind of relations for the classes which would get picked up from BDM -- ?

2> Also, in the class diagram, do we need to show datamembers in following instances:
showing equipment as a data member in the flight class which is already indicated by the relationship?

3> Class diagram is techonology independent -- does this mean that we do not show DAOs in the class diagram? then do we show any class which is equivalent to that in terms of actions that a DAO performs. basically retrieveing data from database, or in case of an session bean -- some controller needs to be shown right? how do we manage this "technology independent"?
I am not very clear about the usage of session bean for booking, if the controlling logic will reside in the controller - servlet class;

Prepare Itinerary = Search Itinerary + Booking Flights (unpaid but price computed saved itinerary);

Any thoughts???
In which case the entire controlling logic for Prepare Itinerary would be sitting in the Controller Servlet...right.

But i am really curious (even from the point of view of understanding ...not just from solving this assignment) how could one address this requirement of bringing up the login / create customer profile screens if one were to go ahead with using stateful session bean instead of using Http Session. Java Ranchers....pls. share your thoughts. how could one manage with the controlling logic? where could the controlling logic be sitting then?
I have been looking at Prepare Itinerary to be made up of the following tasks:

1> Search Itinerary -- Use SLSB (search data would be in httpsession for web client; for application client -- storing search data is not a problem);
2> Booking Itinerary -- Use SFSB

Search Itinerary consists -- first search followed by second search (which comprises of search for flights within 1 hour of the selected flight and cost less than the same ) would be shown;
User selects the flights; till user select seats;

Booking Itinerary -- Store the selected flight data and seat information in the Session Bean.
check if user account created, if not force him to create;
Check if user logged in, if not force him to login;
compute price;
save itinerary;

As I draw sequence diagram ...i am not getting convinced about trigerring the need for user login/ user account creation screen /process from stateful session bean.
Can anybody point me to any url or share any thoughts on invoking JSP from stateful session bean and then getting the control back???

I have almost started feeling that stateful session is required only bez of these alternative flows, as otherwise one could have managed just with the stateless session bean.

Thanks in advance.
i am not understanding what you mean by bean type. Which bean are you referring to?

Any thoughts on having the above mentioned type of controlling logic in stateful session bean?
I am in the middle of some function in a stateful session bean. I need to check if the "user is logged in", "user login account is created", if not then i need to force them to happen and then continue executing remaining part of my function.

Let us say function A() in stateful session bean
{
perform step 1;
check if user account not created in
force user account creation
end if

check if user not logged in
force user login
end if
perform step 2
perform step 3
}

1> Does it make sense to have this kind of controlling logic in a stateful session bean? Any thoughts?
2> If i am using declarative authentication mechanism, then how do i control the login ui, user act creation ui to be displayed from stateful session bean.

Any thoughts or any useful relevant url pointers woule be very helpful.
I would prefer to go ahead with pay either only using credit card or using using only award mile. Though in reality it could be a combination, am not considering for the assignment as it is not in the scope.

Coming to FFMS: there are two instances where in we will need to get data from this system. One is in developing the application client for "view frequent flyer miles". For this an Adapter approach is assured -- as an view frequent flyer miles equivalent web application is available. hence you are likely to easily implement that adapter class.

Another instance is while doing the pay itinerary by award travel. For this we will have to assume that (based on what is said in the background -- "tracks mileage earned and used") that it is possible to redeem miles.

I would appreciate any thoughts on the above.

Also...am not able to see any use of mileage account which is there in BDM. any comments on this? am i missing something?
Are you providing all diagrams (gifs) as links in the word document. later convert the word document to html...right? Put the html and gifs in the jar file ...right?
i plan to show the system related DAOs in the component diagram. still to draw. hope will not change my mind !!.

what is this oracleDAO??