users@glassfish.java.net

Custom properties in a ejb archive

From: <glassfish_at_javadesktop.org>
Date: Wed, 05 Dec 2007 01:36:06 PST

Hello,

How can I define custom properites in my ejb archive (e.g. via the sun-ejb-jar.xml or persistence.xml), which I can the access in my implementation classes (e.g. usernames or logger domains.

I would like to do something like that:
value = glassFishProperties.getProperty("myProperty");

Any help and a short code snipplet would be apprechiated.
[Message sent by forum member 'tipunch' (tipunch)]

http://forums.java.net/jive/thread.jspa?messageID=248596