Accessing adapter from EI script

Can anyone pls let me know…

  1. Whether it is possible to access an adapter for EI script and if so, how?

  2. What is the best method to load static data(loading up rows of database in to memory) in to memory and use the data from a script?

Thanks
Ram

  1. A script can use the scripted and configured operations for the adapter it is associated with. If you need the services that are provided by another adapter, use a publishRequestAndWait step to “invoke” the service.

  2. The EI environment isn’t really geared for this sort of thing. If you do a request/reply, the script has access to the returned data throughout its lifecycle.