Forums Register Login

entity bean,session bean

+Pie Number of slices to send: Send
Dear All,
When could one use entity bean?when could one use session Bean?can we use entity bean with session bean at which situation?
your help is highly appreciated!!!
regards,
vandiyadevan senthan.
+Pie Number of slices to send: Send
You can use Entity Beans to create an object-relational mapping. It boils to doing database access via objects.
Session Beans are used for business methods (calculate interest rates, for example). You could use a combination of session and entity beans, if you want.
A lot of people stay away from entity beans(including me...) and just use session beans, but, entity beans are good and are used quite a bit. You may want to read up on EJB design patterns to learn more about how and when to use the two types.
-Sri
+Pie Number of slices to send: Send
Dear Sri Basavanahally,
Thank you very much for your reply.
regards,
Vandiyadevan
Eat that pie! EAT IT! Now read this tiny ad. READ IT!
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 620 times.
Similar Threads
on EJB Topic
session bean versus entity bean
Why do we need Entity Bean Local Component Interface ?
session bean contact an entity bean
Entity Bean Passiavtion?
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 06:33:09.