deepak carter wrote:somebody told me to go for framework like hibernate instead of ejb.can you advice me on this
Any answer you get is likely to be subjective. Personally, I love Hibernate, but then, I'm an old DBA.
One other thing you might think about is to read up on something like JPA, on which Hibernate is based. Think of it as the difference between pure Maths and Economics, or Physics and Engineering: the first will help you to the second, but you can't really get the second without the first. It may also help you with other persistence architectures.
Winston