Is there a way to set an EJB's properties per bean?  For example, I need a
property remote.host to be per bean.  This would give us the ability to hit
different remote hosts from different beans we deploy in jboss.  The problem
is I don't know how to set or get this property per bean.  Right now I have
placed this property in the conf/default/jboss.properties file and
retrieving it via System.getProperty("remote.host").  This has worked fine
until now, and I am sure this is not the correct place for this type of
property.

I did see an earlier post in the forum that talked about this and it said I
could use the <env-entry> tag inside the jboss.xml file per bean.  Is this
correct?  If so how do I get the property after I have set it?  Do I just do
a System.getProperty() and it is automatically setup by the container?

Lance Johnson 
e-mail: [EMAIL PROTECTED]

-----Original Message-----
From: marc fleury [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 01, 2001 10:18 AM
To: Kemp Randy-W18971; [EMAIL PROTECTED]
Subject: RE: [JBoss-user] Tomcat forum


|It was just announced that Tomcat has developed a user forum.  So 
|this means
|that if you have questions on Tomcat using jboss, there is another forum
|avenue available.  It is also interesting they are following in the
|footsteps of Jboss with the forum avenue.

Everybody will follow in the footsteps of JBoss :)

but we are trail blazing 

speed is key

marcf
|
|_______________________________________________
|JBoss-user mailing list
|[EMAIL PROTECTED]
|https://lists.sourceforge.net/lists/listinfo/jboss-user

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to