Feed has no items. Introduction
- Feed has no items.
When I first discovered this, it changed my life completely! Suddenly I could write code which could be executed everywhere in the world! And so simple! After my visit to the IBM SOA Event in Orlando, 2007, I got convinced that SOA would not only change my life but also the life of our customers.
IBM is good at exaggerating, they promised us a life where customers and suppliers would forever live in peace, happiness, and bliss! IT-people would not talk rubbish anymore but only would speak (and think) in business language. Now, 13 years later, what has become of this?
- Customers and suppliers are still at war! Not because of the suppliers! We’re only hard-working people, doing our best to meet our deadlines and keep our customers happy!
- Customers are greedy and want us to work for free!
- I’m sorry to say this but you are nothing more than a bunch of rude grabbers and slave drivers! Who are not willing to pay for honest hard labor!
With that said let’s go on helping you for free!
Now let’s get our hands-on and create a web service in Eclipse. The first thing we need is a functional Java Class. There are many methods on this website, So let’s pick one. I chose the DateFormat because it’s easy to start with. You could do anything else, for example, a Database lookup.
First, open Eclipse and install a fresh server. I choose Tomcat 9.
That’s all folks! Please note that I set the Locale to CANADA so this Service will always return the Canadese Date/Time. If you want to improve this, create a setLocale() accessor in the Class.