• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Struts and SOA

 
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I have an application which is build using struts framework. I have to refactor that application according to the SOA( service oriented architeture) so that there is loose coupling among different layers.
I am lost and dont know how should I go about it and whats exaclty need to be done. Please help me.

Thanks,
Mehta
 
Ranch Hand
Posts: 456
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


so that there is loose coupling among different layers



you gave the point:

analyze you application, identify possible layers and define what "loose coupling" means for them

with that knowledge in mind you should be able to develop an idea of how your application should look like...
 
Ranch Hand
Posts: 948
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You ask a pretty big question. "Service Oriented Architecture" is a term with a lot of definitions. If you are going the approach where "everything is a service" then I would envision that you would have to refactor your business layer to have an open service type interface (web services?). Your Struts actions classes would then never make direct database calls or EJB calls but would instead interface with your backend via its interface.

In my opinion, there would be too much overhead if every page had to make several web service type calls just to show a web page with some data.

Based on your post I would say that you have some serious research in front of you. SOA is much more than just "loose coupling among different layers".

- Brent
 
Heroic work plunger man. Please allow me to introduce you to this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic