11.1. The managed environment

All of the examples in the preceding chapters presume JDO to be used in a non-managed environment. This is where the application is itself responsible for bootstrapping JDO and for demarcating transactions.

However, given the prevalence of the J2EE component architecture, JDO was designed so that it could integrate seamlessly into J2EE application servers. J2EE strives to abstract the component developer from having to explicitly write code in support of infrastructure services. Instead, these services are provided by the application server’s container, within which the components execute. The term managed environment applies to the use of JDO from the context of a J2EE container.

Get Java™ Data Objects 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.