Making a service level call from presentation level

I need to select the technology to connect my application / presentation level (Java based) with the service level (Java based). Basically looking for a suitable Spring service from a business delegate object.

There are so many options that it bothers me. Here are the options that I have narrowed down, but not sure.

  • Spring rmi

  • Apache camel

  • Apache ServiceMix (ESB)

  • Iona FUSE (ESB)

Here is what I want to know.

  • If you worked (or evaluated) any of them, which choice, in your opinion, is more appropriate? (and it wouldn't hurt to tell me why :)
  • Are there any other technologies that I should look at?
  • At the moment, I cannot help but see how Application and Service are distributed, but I do not want to exclude this possibility in the future. Is it a good design idea to provide this flexibility?

Any help would be helpful. Thanks!

+4
source share
3 answers

This is mainly because you want to use Spring Remoting (which Spring RMI and Apache Camel are implementations of) - or you want to use JAX-WS for web services (which CXF or Metro implement). that is, you want automatic remote connection for your POJOs - or you want WS with WSDL contracts, etc.

As soon as you decide to use remote access technology; your next solution is whether you want to link it inside your application as a library (e.g. Spring RMI or Camel) - or you want to deploy it in an ESB container such as ServiceMix to be able to flash modules, etc. .

If your last choice, use Apache ServiceMix or use FUSE ESB if you want a commercial distribution with more documentation, frequent releases, commercial support, etc.

+2
source

Spring Removal will seem like the easiest approach. It would also leave you open to more complex approaches in the future, if that is the direction you want to take.

From a limited view of your requirements, I would stick with a simple solution with a lower learning curve and leave the ESB until you determine that you really need it.

The KISS principle is a wonderful thing.

+2
source

All Articles