Hi Richard,

I was reading that document (among others). In the "Defining Resources"
section it shows this code:

p.setProperty("DB.Password", "password");

This is close to what I need to work. Alas, the example does not show how
the variable "p" is created. Thus I was on the hunt to understand properties
within Java and then TomEE containers in particular. Since I was at that
part of the document I didn't get down to the section "factory-name method."

I'm happy you mentioned that link, because it gives me confidence I was
looking in the right spot. There are some other aspects of my project I
haven't mentioned that will impact the ultimate solution. All our
configuration starts out in a gnumake file as gnumake variables. These are
then expressed as m4 macros we then place in a template (i.e.
foo.properties.m4 becomes foo.properties).

Second is that while TomEE is being used for development the module that I'm
working on may need to land in Weblogic (the wheels of new technology review
and approval often moves slowly in large organization). Thus whatever the
solution winds up being I most likely will need to work in TomEE and
Weblogic.

Cheers, -Randy



--
Sent from: http://tomee-openejb.979440.n4.nabble.com/TomEE-Users-f979441.html

Reply via email to