Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Value List Handler

 
Siddhartha G Baruah
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am planning to use a Value List handler for the search results. I am little confused about what details should i show in Class and Component diagram? Should i show the ValueList and the value Object too? Or just VLH (as SFSB) in Business tier and DAO in the integration tier with other presentation tier component are sufficient?

Thanks in advance.
 
Sharma Ashutosh
Bartender
Posts: 346
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you using JEE5 and JPA?
If yes-VLH comes automatically with EntityManager and you don't have to specify/use it explicitly.
 
Siddhartha G Baruah
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Ashutosh. VLH comes automatically with Entitymanager (JEE)? Oh, I didn't know that. But can it handle large searches like VLH and won't it use the finder method against of which VLH is born?

I decided to include the list and VO with VLH. Initially i was inclined to include more business related component than framework related and got this idea of not including the list and VO.

Thanks.
 
Sharma Ashutosh
Bartender
Posts: 346
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
But can it handle large searches like VLH and won't it use the finder method against of which VLH is born?


I think it can but not 100% sure.
 
Antoni Mysliborski
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
EntityManager has methods to execute arbitrary queries and supports pagination. So VLH is no longer needed.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic