Originally posted by Peter Heide: ... One comment: You say that the char primitive is known as one of the floating point datatypes I disagree because char is unicode 16 bit whole numbers from 0 to 65535
Yeah, that caught my eye too. I sent some feedback.
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer sscce.org
Very nice site, thanks for making that available - its helpful to get questions from different places, and authors - hopefully all the practice will help me pass at the end of the week.
I'm hoping to get clarification on one question - detailed below:
Question 8-5 The vendor of an J2EE Container is responsible for coding database access in a BMP entity bean. Select the correct answer : a.The statement is true. b.The statement is false. Answer a. is correct.
I was my understandidng the answer would be false; as Vendors code and supply CMP entity beans. Cameron McKenzie's study guide explains it that way, as well as other sources I've read.
I'm hoping somebody can clarify for me - any info would be great. Thanks.
Yes, for a BMP, or Bean Managed Persistence entity bean, the database access data is coded into the BMP. Essentially, the SQL statements will be in the ejbCreate, ejbStore, ejbUpdate methods etc, although that does go a bit far into the topic of EJBs for the SCJA exam. But yes, you code SQL code into your own BMPs.
If you'd like more information about what goes into creating a BMP, I have a free multimedia tutorial on the subject: Creating and Testing Bean Managed Persistence Entity Beans The tutorial is less about database access, and more about how a BMP works.
Still, don't let it scare you. For the SCJA exam, you need to know what a BMP does, and how it is different from CMP beans, but the ins and outs of creating and testing them is beyond the scope of SCJA.
Oh, and I'm glad you picked something up from the SCJA guide. I never actually thought anyone ever reads past chapter two of a technical book. I know I never do.