Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Making a Service Layer call from Presentation layer

I have to choose a technology to connect my Application/Presentation Layer (Java Based) with the Service Layer (Java Based). Basically looking up appropriate Spring Service from the Business Delegate Object.

There are so many options out there that it is confusing me. Here are the options I've narrowed down to but not sure..

  • Spring RMI

  • Apache Camel

  • Apache ServiceMix (ESB)

  • Iona FUSE (ESB)

Here is what I want to know

  1. If you have worked on (or evaluated) any of these, which choice do You think is more appropriate? (and it wouldn't hurt to tell me why :)
  2. Are there other technologies that I should be looking at as well?
  3. As of now I do not see Application and Service layer being distributed but I do not want to rule out this possibility in future. Is this a good idea to design to provide this flexibility?

Any help would be useful. Thanks!

like image 740
a-sak Avatar asked Dec 03 '08 16:12

a-sak


1 Answers

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

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

The KISS principle is a wonderful thing.

like image 159
Robin Avatar answered Nov 02 '22 12:11

Robin