The Derby documentation uses the specialized term environment to describe the method your application uses to interact with Derby.
An environment is sometimes referred to as a framework. The two types of environments are the embedded environment and the client/server environment.