File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes abstract schema name Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "abstract schema name" Watch "abstract schema name" New topic

abstract schema name

Ben Hsu

Joined: Dec 16, 2005
Posts: 8
Hello again

what is the difference between an "abstract schema" and an entity bean? It seems they are both representations of data in the db.
Greg Charles

Joined: Oct 01, 2001
Posts: 2963

<abstract-schema-name> is simply a tag in the entity beans's deployment descriptor. The name that it specifies is what you must use to refer to the bean in EJB-QL. Usually you just set it to the same value as the EJB name. Can you think what advantage you could gain by setting it to something other than the EJB name? In other words, can you figure out why the specifiers felt it necessary to have an <abstract-schema-name> tag at all, instead of just using the EJB name? If so, you're smarter than I am.
I agree. Here's the link:
subject: abstract schema name
jQuery in Action, 3rd edition