Hi all, I finally have some time to work on BeanUtils2. There are several things that have to be taken care of, before a RC1 can be built. Here are some topics I'm thinking about. Please comment and add what you think is missing.
- Some interface methods haven't been implemented yet. I'm working on getMapped() right now, setMapped() is still missing. - AccessibleObjectsRegistry could be refactored. ATM it deals with at least two concerns: resolving AccessibleObejctDescriptors and caching them. How about two spearate classes? One for building AccessibleObjects and one for caching them? - We have to rethink the caching strategy we are using right now. Right know we are using a WeakHashMap wie WeakReferences as values. There are articles, that recommend not to use a WeakHashMap for caching [1], while others say that WeakHashMap is the right choice for caching [2]. The ML suggested to use the LRUMap implementation of commons lang. I'll write a separate mail to discuss this topic. - There is an open issue that suggests to implement some benchmark tests. I've done some work on this issue but I was unable to finish the benchmarks because of SANDBOX-433 [3] (also related to the caching) - The overall API has to be reviewed. What is missing? What needs to be changed? - A lot of work has to be done to polish up the JavaDoc comments on all classes. - The website could use some more examples What else do we have to take care of? Regards, Benedikt [1] http://www.codeinstructions.com/2008/09/weakhashmap-is-not-cache-understanding.html [2] http://stackoverflow.com/questions/154724/when-would-you-use-a-weakhashmap-or-a-weakreference [3] https://issues.apache.org/jira/browse/SANDBOX-433 --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org