Troubleshooting

EntityBean Interface Not Implemented

I get an error when I’m attempting to deploy an entity bean stating that a method from the EntityBean interface isn’t implemented.

Even though the container tools are responsible for creating a concrete class that extends your bean class, you’re still responsible for implementing the methods declared by the EntityBean interface. You have to pay careful attention to this because a side effect of declaring your entity bean classes as abstract is that the compiler won’t consider the fact that you haven’t implemented a particular interface method as an error.

Incorrect Value for multiplicity Element

I get an error stating that the multiplicity element must be assigned a value of one or many ...

Get Special Edition Using Enterprise JavaBeans™ 2.0 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.