Often I heard some developers used to say that , “ I am open source person “ or I am Microsoft person else I am mobile guy . Well, having competence and expertise knowledge on one selected programming language is a good thing. And it is must. But do you know? Today whole world is moving towards service oriented architecture. (SOA). Naturally people always willing to favor the platform where they good at. We can’t change it (difficult …: P). so best thing is to host your programme as a service which is independent from the consumer’s platform. So no more blames and no more platform / language criticisms.
We will take simple story. Your familiar with Microsoft technologies, your brother is a totally open source person. Interesting scene is your father is a good mobile application developer.
Father asks you all to develop simple monthly expense calculator to make family budget for month.
Sad part of the story is you all lives separately at 3 ends. So how do you solve this problem?
Here is the answer.
Develop small samples with your favorite languages (platform) which calculate all ur expenses and return some common output (ill later come to this common thing).
All three applications have common input output and endpoints (End point can be differing).
- Inputs- your expenses
- Output – Total
This endpoint is a magic. It will be SOAP or REST (I always prefer REST).
Endpoints simply handle your output and return it as some common medium.
Simply as a XML or lightweight JSON (REST is perfect architectural style to handle JSON result which returned by service )
Then finally your father can make simple java client to his mobile and speak with services you all hosted , via endpoints .( REST/SOAP)
I didn’t try make fed up you all by explaining shitty technical terms in details. But actually that is what happens in SOA.
Microsoft delivers kind of framework name WCF by enveloping all technologies related to SOA. Ill provide WCF sample in my next article.
Good luck guys.