[jboss-user] [EJB3] - EJB application properties loading - best practice

Pasquale Imbemba do-not-reply at jboss.com
Fri Nov 4 10:00:12 EDT 2011


Pasquale Imbemba [http://community.jboss.org/people/pi4630] created the discussion

"EJB application properties loading - best practice"

To view the discussion, visit: http://community.jboss.org/message/635076#635076

--------------------------------------------------------------
Hi,

what's the best practice to load +application specific+ properties? For instance, in my SLSB I have a 

@PostConstruct


 section, where I'd like to load the properties from file. I know I shouldn't access file system: is it possible for some forum member to post some demo code how to do it with ClassLoader?

thx,
~pasquale
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/635076#635076]

Start a new discussion in EJB3 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111104/e7f1943b/attachment.html 


More information about the jboss-user mailing list