I've tried today to expose some of our services in our application service layer. All those classes are simple POJOs, autowired with Spring. I've chosen Hessian for few reasons:
- I never liked xml, soap, etc...
- we need web services over http (so no RMI)
- it's very fast
- we might need different type of clients connecting to the application (Hessian apparently supports not only plain old Java but also JavaFX, Flex, almost every decent popular programming language)