Confusion on whether to use Session or Entity beans for database
843830Sep 4 2005 — edited Sep 13 2005I am quite new to EJB and have a question with regards to either choosing Session or Entity beans for database transactions.
For example currently i have created MyTestEJB, which is an entity bean. My question is i have added both the write and read functionality to this bean. But because i may want to perform only read type transactions sometimes, i dont believe entity beans would be suitable for such a job. As such i think session beans would be ideal.
So is it appropiate to seperate the read and write functionality into a session and Entity bean.
Thanks in advance