Is it possible to expose remote services without using a servlet/JSP container (for example by using the RMI registry) with spring ?

And, is it possible to create a standalone application without a servlet/JSP container ?

I