Troubleshooting

Deployment Problems

Q1:Why does the deployment tool complain that my primary key is invalid?
There are any number of reasons why this might happen. First, make sure that you actually specify the name of the primary key class in the deployment tool, including the package name. If you omit the package name, the deployment tool won't recognize the class. Next, make sure that the primary key is serializable, has a public constructor, and has valid hashCode and equals methods.
Q2:Why does the deployment tool complain that there are no transactions defined for some of my methods?
Some deployment tools don't make any assumptions about the transactional requirements for your bean's methods. When using one of these deployment tools, you must ...

Get Special Edition Using Java™ 2 Enterprise Edition 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.