I have some configuration information that needs to be passed from the web application to the EJB Layer. I noticed that I need to pass this information on every call. Is there some way in which I can share this information between the web container and ejb container without using a database, so that I don't have to keep passing this information as parameters.
Assuming that this is configuration information, you can use an ordinary (non J2EE) configuration file, either a property file or an XML file, which you load into memory using the class loader. The Class.getResourceAsStream() method works perfectly for this purpose.
Then bundle the configuration file along with your Web and EJB files in your enterprise application in such a way that this file is available in both applicaiton layers. The exact mechanism for doing so is not 100% portable between application servers, but most have some mechanism for doing this.