• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Value List Handler

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Bartender
Posts: 361
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 361
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
EntityManager has methods to execute arbitrary queries and supports pagination. So VLH is no longer needed.
 
We don't have time to be charming! Quick, read this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic