You can define entity beans with container-managed-relationship & map them to table-raltionships.
All you have to do is define the relationship in deployment descriptor (ofcourse some codeing is required) and have precise details on how the tables are related so that you can design your entity beans accordingly.
There are some tricky details you need to know to correctly implement this but its not that difficult.
Hope this help!
Cheers.