Best Practice:  Do not use beans.instantiate() to create new bean instances

Technote (FAQ)
Problem
Solution
Using Beans.instantiate() can have an adverse performance impact because this method searches for a serialized version of that object on the file system. If a serialized object is found, it is loaded. If it is not found, the object is created.
Related information
Best Practice: Do Not Use Beans.instantiate() to Creat












Document Information

Product categories: Software, Application Servers, Distributed Application & Web Servers, WebSphere Application Server, EJB Container
Operating system(s): Multi-Platform
Software version: 3.0.2, 3.0.2.1, 3.0.2.2, 3.0.2.3, 3.0.2.4, 3.5, 4.0
Software edition: Edition Independent
Reference #: 1053979
IBM Group: Software Group
Modified date: 2004-08-30