I believe there is a fairly extensive set of working examples in the testsuite (under cmp2). These are run several times a day, so if they stop working we might notice.
> The example with the JBossCMPDoc does not work.
Did you buy the documentation with in the last month? If so, send FlashLine an email; they gave you the old documentation.