hello i'm new at spring and i become loving it

i want to know if i can deploy my bean into another server (like in EJB ) and then acess them using spring
in other words. i have my application context xml file that contains one bean called ressources(this bean is a java class that has a method called get_all_ressources)
which i want is that i deploy this bean in another server and access it remotly like this for example
(in algorithm language)

acess to server and then getxmlfile("applicatin_context.xml").getbean("ress ource);
thank you