1 comment

Hm, I thought I found a hibernate.properties in one of the JBoss examples,
but I cannot find it again, so probably you are right.
Excuse me, I am pretty much just starting on Enterprise Java.

Gregory Shrago (JetBrains) wrote:

Hello Stephen,

It is possible to add resources to an EJB module META-INF
using standard approach: create META-INF folder in some source folder
and put all the needed files there.
"Settings/Compiler/Resource patterns" setting includes *.properties by
default.

It is impossible to do so for an application module, because it doesn't
have source folders.
Anyway I'm not sure that EAR META-INF is really available for the
application code.

Gregory

0

Please sign in to leave a comment.