• Post Reply Bookmark Topic Watch Topic
  • New Topic

session Vs Entity  RSS feed

 
nitin tonk
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is difference b/w Session bean And Entity Bean
 
james edwin
Ranch Hand
Posts: 393
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You will find a lot of links for the same.But let me try to brief you in short :-

Entity Beans :- Used to represent values/data which is stored in persistence layer.

Session Beans :- When you want to do all the work/actions on the data.But session beans are not stored in persistence layer.

for example :- CREDIT CARD (CCNo,Expiry Date,Name) data will be saved in persistence layer and will be represented through entity bean,but credit card verification/processing will be done through session bean.

I hope above is clear,incase of doubts,please shoot your queries !!!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!