Try to use only one instance of ElementFactory in your
application, and you should use UniversalElementFactory instead of each component’s
own Factory. This section describes how to initialize UniversalElementFactory
in different situation, and how to get its reference accordingly.
- In Stand alone java application
- In Web Module
- In EJB Module
- In Eclipse plugin environment