Skip to content
Advertisement

commons beanutils alternative

I am looking for a commons beanutils alternative. The reason is that beanutils relies on commons-logging which is conflicting with existing libraries I am using.

I would like a small self-contained alternative which will cause no/minimal conflicts.

The main functionality I am after is nested property retrieval.

Thanks in advance, Steven

Advertisement

Answer

Ended up writing my own mini beanutils to get around this dependency and removed commons-beanutils completely.

The SLF4J did not end up helping since it broke some other dependencies (damn you weblogic!).

My own implementation is probably slower since the commons-beanutils appears to cache some fetches to remove some reflective calls.

Msg me if your interested in getting the source code of my implementation.

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement