File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

When to use session Beans and when to use entity Beans

 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hello ,

Entity Beans are so complex to develop , so why don’t people use Session Beans to do a DataBase operation

Why do they write Entity Bean to do the operation

Correct me if i am wrong
 
Ram Para
Ranch Hand
Posts: 50
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you are working on EJB 2

go through the how EJB 3 and how it works.

you are talking some think like "reinventing the wheels".
 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
(The question is realted to ejb 3.0 only)
I don't know , thats the reason i posted can you please tell me
 
Jaikiran Pai
Marshal
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ravi Kiran Varre wrote:(The question is realted to ejb 3.0 only)


There are no entity beans in EJB3.0. They are just Entities (i.e. Plain Old Java Object).
 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
THanks JaiKiran ,

But according to a Book "Mastering EJB3.0" the author has mentioned that There are no enhancements made to ENtity Beans in EJB3.0 version so it doesn't mean that they are deprecated know

I mean they are still there

share your suggestions on this
 
Jaikiran Pai
Marshal
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ravi Kiran Varre wrote:

I mean they are still there

share your suggestions on this


Already done here http://www.coderanch.com/t/463943/EJB-Other-Java-EE-Technologies/java/Are-ENtity-Beans-are-deprecated
 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ya , Thank you
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic