This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 9953
    
161

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: 9953
    
161

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
 
Consider Paul's rocket mass heater.
 
subject: When to use session Beans and when to use entity Beans
 
Similar Threads
a few questions
Whether to go for JDO or Entity Bean
Please reply fast
Idempotency
Why do we need Entity Bean Local Component Interface ?