Archive

Tag Archives: resource

1. Managed Resources

Managed Resource is one of the most important concepts in JEE. Managed Resource Factory is a factory that is governed by Container. Usually it means that Container: takes care of security, administrates, pools, integrates with transaction and provides easy access to Resources. Managed Resource is a resource, for instance a connection, produced by Managed Resource Factory. It is managed by Container. Usually it means that Container reuse resource, if properly used then guarantees synchronized access, can intercept invocations, listens for life cycle changes.

Read More

Problem:

  • Application need to access Non-Managed Resource, for instance a plain TCP Connection
  • Resources are heavily used
  • To producing Resource, for instance to establish a TCP Connection and application-specific initialization, is time consuming
  • Operations on Resources are stateless and nontransactional

Read More