![]() ![]() ![]() ![]() |
Contents |
As you've seen in the Storing Objects
lesson, there are different ways in which Java objects (or rather information about Java objects) are stored in the directory. In each of that lesson's examples, you also saw that once the object has been stored, you can simply use the Context.lookup()
method to get a copy of the object back from the directory, regardless of what type of information was actually stored.
In addition to lookup(), there are two other ways in which you can get the objects back:
In all of these cases, object factories may be involved. A brief discussion of how object factories are used is included in the lookup section of this lesson. Object factories are discussed in detail in the Object Factories
lesson.
![]() ![]() ![]() ![]() |
Contents |