• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

session bean

 
trupti nigam
Ranch Hand
Posts: 626
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
Can we have data base related operations within session beans?
i know we can do this through entity beans..
thanks,
trupti
 
Manjunath Reddy
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
YES, session beans can have database access/operations in it.
Practically most of the complex database operations are encapsulated in the session beans(especially stored procs).
regards,
mpr
 
Mahesh Kulkarni
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Trupti,
Please go through the examples of J2EE / Weblogic installation.
You will find the eg of session bean code for accessing the database.
Thanx,
Mahesh.
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18098
50
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually, for most purposes, you can think of an entity bean as a special type of session bean whose persistency is specified (and, in the case of CMP assisted) by the implementation of the entity bean interface.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic