Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB 3.0 : Advanced Topics  RSS feed

 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could you tell us more about the Advanced Topics discussed in Chapter 9 ?
 
Mike Keith
author
Ranch Hand
Posts: 304
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We actually introduce the chapter with a description of what "advanced topics" meant. For the most part the chapter discusses the kinds of things that we deemed to be of an advanced nature or to be used by advanced developers. There are a few exceptions, though, of some topics that are more common but just take more in-depth explaination.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Without entering into the details, if you could give us a few clues about what you consider to be advanced topics, this may interest potential buyers
 
Mike Keith
author
Ranch Hand
Posts: 304
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oops. Sorry, I forgot to give you the topics. (I wasn't intentionally trying to keep them secret...)

The advanced topics chapter contains information on:
- native SQL queries and how to use them to map to entities
- using life cycle callbacks
- concurrency issues
- locking and refreshing
- schema generation and how to dictate the generated schema

Other advanced topics are found in other chapters. For example there is an entire chapter on advanced O/R mapping concepts, including embedded objects, compound primary keys and relationships as part of the primary key, inheritance, and so forth.

Hope this gives you a taste.

-Mike
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Talking about inheritance in EJB 3.0, do you cover different database startegies i.e. mapping the class hierarchy to the same table , mapping each concrete class to a different table etc >?
 
Mike Keith
author
Ranch Hand
Posts: 304
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, as I mentioned, inheritance is discussed in the advanced O/R mapping chapter.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Mike.

And for those who still don't know, there's a sample of chapter 2 with the full table of contents here:
http://www.oracle.com/technology/products/ias/toplink/jpa/resources/Pro_EJB_3-Java_Persistence_API-Chapter2.pdf

(thanks Ram, http://www.coderanch.com/t/318571/EJB-JEE/java/sample-nd-chapter)
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!