Example presenting configuration of environment of enterprise bean. It presents declaring resources and beans with annotations and ejb descriptor.