Hi Jim, can you share with us what exactly do you want to achieve? If the server exposes the REST interfaces to interact with it why do you want to obtain the kbase inside your EJB? probably there is something missing in the interface that needs to be added instead of sharing it.
Cheers