Best practice question? [message #640345] |
Sat, 20 November 2010 19:09  |
Eclipse User |
|
|
|
Hi,
My question is regarding architecture of greenpages application.
There is a jpa bundle, which uses db bundle to get necessary data to connect to the database. jpa bundle instantiates an enttymanager which is used to access the data.
Let say id like to have two additional bundles - orders and invoices, which would use the same entitymanager. Is this possible? Or every bundle must have its own entity manager defined? How are runtime data shared? Is let say an account[id=5435] loaded in memory in two bundles or can both bundles access the same information?
Best regards,
Bojan
|
|
|
|
Powered by
FUDForum. Page generated in 0.03345 seconds