This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "abstract schema name" Watch "abstract schema name" New topic
Author

abstract schema name

Ben Hsu
Greenhorn

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
Sheriff

Joined: Oct 01, 2001
Posts: 2849
    
  11

<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: http://aspose.com/file-tools
 
subject: abstract schema name