[OCP 17 book] | [OCP 11 book] | [OCA 8 book] [OCP 8 book] [Practice tests book] [Blog] [JavaRanch FAQ] [How To Ask Questions] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Originally posted by Jeanne Boyarsky:
One thing you can do to help debug this is to add
System.out.println(homeObject);
before doing the cast. This will tell you what java thinks that class is.
Avi, "M Burke"'s name is fine. If you double check the naming policy, it states
"You can even use initials for the first name if you like."
[OCP 17 book] | [OCP 11 book] | [OCA 8 book] [OCP 8 book] [Practice tests book] [Blog] [JavaRanch FAQ] [How To Ask Questions] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
ejb/entities/Entity1LocalHome could not be located
I did set the jndi name in the server as a datasourse. I saw a message when the server was starting up: Binding Data source 1 as ejb/entities/Entity1LocalHome
I think, therefore I exist -- Rene Descartes
[OCP 17 book] | [OCP 11 book] | [OCA 8 book] [OCP 8 book] [Practice tests book] [Blog] [JavaRanch FAQ] [How To Ask Questions] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Consider Paul's rocket mass heater. |