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
Define the parameter in the context.xml file and pass it via HttpSession object
Define environment entries in the ejb-jar.xml file and use the lookup() method of the InitialContext object
Implement an appropriate Properties object
String parameters can be passed to stateless session beans only
|