1 of 1 people found this helpful
You'll need the hiberate jar files in your client classpath since the jboss-client.jar doesn't include hibernate classes.
It's a pity that the client will be so ugly. At worst, I was expecting to catch an exception from the package javax. Thank you for answer, jaikiran pai.
Again there was a problem with UndeclaredThrowableException. I put hiberate jar files in client classpath. But now I catch an exception for a different reason. Now the client needs a domain model. Apparently the domain model objects needed for OptimisticLockException. Tell me, please, where to dig to solve the problem. Maybe I should not catch OptimisticLockException on the client side?