Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [config-dev] Config questions

On Thu, Aug 26, 2021 at 10:37 AM Ivar Grimstad <ivar.grimstad@xxxxxxxxxxxxxxxxxxxxxx> wrote:
Wouldn't a RuntimException with a message that "something" must be present be enough? As long as the app isn't silently accepting that there is a missing value and starts in an unknown state?

I'm not proposing, recommending or denigrating anything. Scott had asked how a Java class file is supposed to advertise a programmatic JNDI lookup in the Jakarta EE world. The type-levelĀ @Resource annotation is how that is supposed to work.

Best,
Laird

Back to the top