Greg Mandel

Greenhorn
+ Follow
since Sep 14, 2008
Merit badge: grant badges
For More
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 Greg Mandel

Hi There

Just a quick question. Something I have never 100% understood is why DI is any better than using the Service Locator pattern?

Thanks

Greg
Just check the database design section in the instructions, it explains the format of the data.
Hey, that is the deleted flag (oxFF) isn't it? I mean, when you read it back, you are casting the value to a char and writing it to the screen.
Hi

I am doing the old SCEA exam, and I have bypassed the session facade which is stateful for searches. When searching for flights, a stateless session bean is used so that the system can scale. I am using a fast lane reader to return a potentially large data set. My problem is that now I want to use a value list handler to cache the search results, I realise that the search thing might actually have to be stateful.

How can I take advantage of stateless session bean/DAO (fast lane reader) as well as implementing a value list handler? If I don't make it stateful, I am going to have to store the value list somewhere, and this seems to negate the benefit of bypassing my stateful facade.

This is quite confusing to me!
I think a facade implies that it hides some complexity.
A proxy implies that it makes a request on behalf of something else.

So I guess it could be either/both of these depending on your design.
Hi
I have read many posts that mention the use of DAO. I was going to access the database using CMP Entity Bean. To me this is much simpler, potentially more efficient, and as the data model is simple, can't see that this will be a problem. My worry is that I am missing something here. Does this seems like a reasonable desgin. What would be the benefit of using Session Bean > DAO > Database?

Thanks for this. I am a "long time listener, first time caller"