aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes When to use session Beans and when to use entity Beans Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "When to use session Beans and when to use entity Beans " Watch "When to use session Beans and when to use entity Beans " New topic
Author

When to use session Beans and when to use entity Beans

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234


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


Save India From Corruption - Anna Hazare.
Ram Para
Ranch Hand

Joined: Jul 09, 2008
Posts: 50
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".


Ram Parashar
http://doinfinite.com
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

(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

Joined: Jul 20, 2005
Posts: 10102
    
165

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).


[My Blog] [JavaRanch Journal]
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

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

Joined: Jul 20, 2005
Posts: 10102
    
165

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

Joined: Apr 18, 2009
Posts: 2234

Ya , Thank you
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: When to use session Beans and when to use entity Beans