aspose file tools*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes VLH accessible via shopping cart Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "VLH accessible via shopping cart" Watch "VLH accessible via shopping cart" New topic
Author

VLH accessible via shopping cart

Dhiren Joshi
Ranch Hand

Joined: Dec 09, 2003
Posts: 463
Can VLH be accessible via shopping cart during the search.
How else is search efficiency made faster.?
Thanks
Dhiren
Deepak Pant
Ranch Hand

Joined: Feb 13, 2004
Posts: 443
Dhiren,

Why would you like to reference VLH from Shopping Cart ?

I am not clear on whats the problem you are trying to solve?

regards,
Deepak
Dhiren Joshi
Ranch Hand

Joined: Dec 09, 2003
Posts: 463
Why would you like to reference VLH from Shopping Cart ?

I am not clear on whats the problem you are trying to solve?


When I come in for a second search request (next,previous) I need come thru a SFSB and the ref is stored in the cart, thats when I need that reference.
I am using a VLH to store the search results but not sure how to keep the ref of the VLH per session alive.
Thanks
Dhiren
Deepak Pant
Ranch Hand

Joined: Feb 13, 2004
Posts: 443
Originally posted by Dhiren Joshi:


When I come in for a second search request (next,previous) I need come thru a SFSB and the ref is stored in the cart, thats when I need that reference.
I am using a VLH to store the search results but not sure how to keep the ref of the VLH per session alive.
Thanks
Dhiren


Hmmmm.... now I see where you are coming from...

You have two SFSB's. One for the Shopping Cart and One for the VLH implementation.

The previous/next will happen much before the items gets added to the shopping cart. I mean the usage of VLH will end once the Itinerary (with all the segments) has been added to the cart. So they are mutually exclusive.

I think for both the SFSB's you will need to store the handle of SFSB in HTTPSession.
Dhiren Joshi
Ranch Hand

Joined: Dec 09, 2003
Posts: 463
Hmmmm.... now I see where you are coming from...

You have two SFSB's. One for the Shopping Cart and One for the VLH implementation.

The previous/next will happen much before the items gets added to the shopping cart. I mean the usage of VLH will end once the Itinerary (with all the segments) has been added to the cart. So they are mutually exclusive.

I think for both the SFSB's you will need to store the handle of SFSB in HTTPSession.

Deepak I was storing the VLH ref in the shopping cart upto till now but it makes more sense now that u mention to move that to its own SLSB becuase shopping cart shd not be involved with search.
So now that I move it I think I will move it to the searchmanager and make that a SLSB.

Thanks
Dhiren
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: VLH accessible via shopping cart
 
Similar Threads
usage of stateful session beans
VLH of petstore
unpaid itinerary once again
Which is better for a general search call (ref PetStore)
It's possible insert Classes in Component Diagram ??