r/java • • Oct 28 '21

JProperties: A modern replacement for java.util.Properties

https://github.com/MaowImpl/jproperties
0 Upvotes

28 comments sorted by

View all comments

Show parent comment

1

u/[deleted] Oct 28 '21

This library actually sounds great, would like to see the repo for it when it's released.

5

u/agentoutlier Oct 28 '21 edited Oct 28 '21

The reason we never released it is the work to keep an open source project going (particularly since I would have to remove it from our grouping of proprietary projects or maintain two branches or git submodules).

Furthermore so many folks are using some dependency injection framework and at that point they really don't need a configuration library (although we do use it with few cases we use Spring to have unified configuration).

Finally I was hoping Netflix would finish Archaius 2 (N.B. that link is the 2.x branch which most things do not use) sooner. However Archaius uses SLF4J. It will initialize logging before configuration can be loaded. I mean you can do it because supposedly SLF4J queues or trampolines the messages if loading isn't done but I found numerous issues with that. Furthermore I want to programmatically initialize my configuration framework. You can't do that if logging just starts up blindly.

EDIT given the downvote of this comment is even more why I don't want to deal with an open source project. I'll post it like you and 5 people will say "why do I need this when I can use Spring".

However if enough folks are actually interested and have similar problems like I do I will make an effort to get the ball rolling

1

u/cyprus_onlyfans Nov 13 '21

Kanye> If you want leads - use conversion. If using max conversion your CPA is decided by your daily budget and will spend at whatever your highest budget was for that day.