Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts and SOA

 
M Mehta
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • 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
 
Jan Groth
Ranch Hand
Posts: 456
  • Mark post as helpful
  • send pies
  • 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...
 
Brent Sterling
Ranch Hand
Posts: 948
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic