• Post Reply Bookmark Topic Watch Topic
  • New Topic

Choice of ejb  RSS feed

 
venkat bagavathi subramanian
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • 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
 
Torsten Schippel
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • 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
  • 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!