• 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

Choice of ejb

 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
I have a very elementary question.
For the following situations which ejb(session/entity) will one use
a)dating service match up
b)booking of rock concert tkt
c)serching product database
d)receiving expert advice after one submits the symptoms
I am beginner, pl help me!!!
Thanks
 
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Venkat,
keep in mind use session beans for the verbs or actions (booking, searching, receiving and also "service") and entity beans for the nouns (date, ticket,...).
a) You may use a session bean DatingService, a DAO for serching process and an entity bean for the date.
b) BookingService-session bean, Ticket-entity
c) SearchService-session bean, DAO for the database search. If you only need a read only functionality you don't need the entity bean services.
d) I don't understand how it should work. It may be a fuzzy search. So it's like c)
Regards
Torsten
 
venkat bagavathi subramanian
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanks Torsten.
d)is a simple search - for now lets take it to be a simple search-result display seq.
thanks again
 
Friends help you move. Good friends help you move bodies. This tiny ad will help:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic