I have a doubt on enity bean. Just to explain i am giving an example.
In a J2ee project say i have some page which takes some input from a user, Then on submit i pass these inputs to a session bean which does some processing of the data and finally store it in database. Later i can display the processed information to the user.
now what i want to know is in such kind of scenario where does entity bean fit into picture, what i mean i can directly query some records and display it to the user.
Note :- I just taken an example to explain the condition, what i want to now is in high level project where at broad level , typically the scenario will be same so with respect to that please let me know where exactly do we use entity bean, and how it is beneficial.