wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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: 2833
    
  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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: abstract schema name
 
Similar Threads
WA #1.....word association
what is abstract schema?
Abstract Persistence Schema in EJB
abstract-schema-name
abstract schema