Advertisement

Copying Enterprise Objects

  • Charles Hill
  • Sacha Mallais

Abstract

Sooner or later you are likely to run into the need to make a copy of one or more enterprise objects. At first this seems trivial: just call clone on the objects. You will quickly discover that EOE nterprise0bject does not include the Cloneable interface. The closer you look at the problem, the more you might feel as if you have fallen down a rabbit hole into a strange world. Unlike most Java objects, enterprise objects seldom exist in isolation. Much of their meaning depends on the context of their relationships to other enterprise objects. Copying objects in such a situation is far from trivial. In this chapter we are going to look at three ways of copying enterprise objects, from the trivial to the fully featured. Along the way we will take a look at how to access object metadata through EOE We will wrap up with a look at how entire object stores can be copied.

Keywords

Related Object Class Property Object Graph Copy Process Reference Copy 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Charles Hill and Sacha Mallais 2004

Authors and Affiliations

  • Charles Hill
  • Sacha Mallais

There are no affiliations available

Personalised recommendations