• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

entity only or entity bean?

 
Ranch Hand
Posts: 339
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
I am reading Enterprise JavaBean (orielly book) 5 th edition.In that it is mentioned entity bean not entity.
But someone told me that entity beans are not in EJB 3.0
Is entity bean is equivalent to entity?
 
Ranch Hand
Posts: 2187
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

In that it is mentioned entity bean not entity.



What does this sentence mean? What you are trying to say is unclear.

But someone told me that entity beans are not in EJB 3.0



Not true. Is this mentioned in the book you are reading?

Is entity bean is equivalent to entity?



An Entity Enterprise JavaBean is an object-oriented representation of an entity. They are not the same. An example of an "entity" is a Customer.

A Customer is an entity. A Customer is typically represented in a computer system by a record in a relational database.

Customer (Human) --> One or more records in database --> Customer Entity EJB

Supplier (Company) --> One or more records in database --> Supplier Entity EJB

Account (Business concept) --> One or more records in database --> Account Entity EJB
[ October 20, 2008: Message edited by: James Clark ]
 
author
Posts: 580
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Pradeep,

It is incorrect to refer to EJB 3.0/JPA Entities as Entity Beans. That term refers to EJB 2.x Entity Beans.

Cheers,
Reza
 
pradeep singh
Ranch Hand
Posts: 339
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thankx to you all
But it is given in Orielly book 5th edition for EJB 3.0 .So it is wrong mentioned in this book.
[ October 20, 2008: Message edited by: pradeep singh ]
 
Sheriff
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

So it is wrong mentioned in this book.


Yes, if they are talking about JPA entities, then they misused the term.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic