Define environment entries in the ejb-jar.xml file and use the lookup() method of the InitialContext object
String parameters can be passed to stateless session beans only
Implement an appropriate Properties object
Define the parameter in the context.xml file and pass it via HttpSession object
Define the parameter in the web.xml file and pass it via HttpSession object
Define a static field in the Home Interface and its value in <env-entry-value> element of the ejb-jar.xml file
|