tag:blogger.com,1999:blog-58968870938418982132024-03-20T14:49:13.351+05:30H2 LabzLearn with "Passion"Anonymoushttp://www.blogger.com/profile/06305106678111679503noreply@blogger.comBlogger12125tag:blogger.com,1999:blog-5896887093841898213.post-45311581968725789422015-06-25T22:15:00.000+05:302015-06-25T22:15:51.490+05:30WebAssembly, an end of Javascript?
Apple, Google, Microsoft and Mozilla have joined together for a common cause!
Are you kidding me?
All these companies are rivals, then how come is this possible?
Yeah it is true. They all joined together and developing a new web programming standard called "WebAssembly".
What is WebAssembly?
WebAssembly is a universal binary and text format for the web. In short form this is being called Anonymoushttp://www.blogger.com/profile/06305106678111679503noreply@blogger.com0tag:blogger.com,1999:blog-5896887093841898213.post-87144892572730718582015-05-19T23:48:00.001+05:302015-05-19T23:48:45.114+05:30How to embed Gist source code into Blogger?
I hope you all know about "Gist" If you don't know the definition already, here you go...
"Gist is a simple way of sharing source code snippets or samples with others" - Taken from definition.
Today we are going to see how easy to embed Gist code with our blogs. You would have faced such a pain, when you write some technical article with lots of source code references(Could be any Anonymoushttp://www.blogger.com/profile/06305106678111679503noreply@blogger.com0tag:blogger.com,1999:blog-5896887093841898213.post-12231876907557741792015-05-18T23:59:00.000+05:302015-05-18T23:59:45.443+05:30Better exception handling in RESTful Java
"Less time on exception handling at development, hard time on debugging in production"
Whenever we start learning a new programming language or concepts, it is better to understand how to handle the extreme cases or exceptions.
In this article, we are going to see how we can handle exceptions when we write RESTful web services using Java language. There are 3 main parts involved in the processAnonymoushttp://www.blogger.com/profile/06305106678111679503noreply@blogger.com1tag:blogger.com,1999:blog-5896887093841898213.post-85740750935591900882014-12-20T15:09:00.000+05:302014-12-20T15:13:34.560+05:30Marshalling Java to JSON in JAX-RS
In this article, I am going to explain about the purpose and the process of writing custom marshaller for web services. First we have to be clear on what is marshaller. Marshalling is the nothing but the process of converting in-memory object into persisting or transportable format.
Now a days most of the web services are returning the response as JSON object. Some people are still using XML asAnonymoushttp://www.blogger.com/profile/06305106678111679503noreply@blogger.com1tag:blogger.com,1999:blog-5896887093841898213.post-20345504132216110792014-11-24T07:14:00.001+05:302014-12-28T12:55:45.383+05:30REST service client with JAX-RS API
Background:
Are you still using Apache HTTP client or Java URL connection to speak with REST service? Then this article is for you. JAX-RS specification has released with new client API to communicate with RESTful services. Here you can see how you can use JAX-RS client API for your communication.
As a first step, we have to create a web target in-order to talk to our web services. Using the Anonymoushttp://www.blogger.com/profile/06305106678111679503noreply@blogger.com0tag:blogger.com,1999:blog-5896887093841898213.post-52847930509722620772014-09-21T23:28:00.005+05:302014-11-24T06:41:10.678+05:30How to write REST client with proxy configurations?
Proxy?
Most of the enterprises have the proxy settings in-order to hide the actual endpoint from the client. Client will interact with the proxy, but the proxy will forward the request to the actual endpoint and return the response back to the client.
So what?
Till now we have seen code, how to communicate directly to the REST end-point. So the approach is straight forward. We don't need toAnonymoushttp://www.blogger.com/profile/06305106678111679503noreply@blogger.com3tag:blogger.com,1999:blog-5896887093841898213.post-12593675745061487092014-09-19T23:21:00.003+05:302014-11-24T06:43:00.020+05:30How to write POST method in RESTful Java using Jersey?
Introduction:
In our previous articles, we have seen how to write basic REST services using Jersey framework. And also we saw how to write REST client using Jersey client API. In this article we are going to see, how to write POST method and how to consume the API.
Implementation:
POST method is a special method and it being used interchangeably based on the situation. Meaning some will use Anonymoushttp://www.blogger.com/profile/06305106678111679503noreply@blogger.com7tag:blogger.com,1999:blog-5896887093841898213.post-52750194973340255662014-09-09T00:04:00.002+05:302014-09-09T00:04:43.839+05:30How to write REST service client with JAX-RS API?
Introduction:
The purpose of the article is how to write REST service client code JAX-RS api. I hope you have understood the basic concepts of RESTful web services and how to write services with Jersey framework. Now we will write some code to consume the REST service using the JAX-RS client API.
Possible ways of REST client:
There are many possible ways through which we can communicate with Anonymoushttp://www.blogger.com/profile/06305106678111679503noreply@blogger.com0tag:blogger.com,1999:blog-5896887093841898213.post-74777746398965352692014-08-27T07:05:00.000+05:302014-08-27T07:05:26.345+05:30RESTful Java Part4: Resource methods in RESTful Java
I hope the above picture will give you some overview about the resource methods and the usage scenarios. I will meet you in few days with another interesting post. Keep watch this space for more information...
Please add your comments if any...
Anonymoushttp://www.blogger.com/profile/06305106678111679503noreply@blogger.com0tag:blogger.com,1999:blog-5896887093841898213.post-8207783176052626032014-08-25T00:43:00.001+05:302014-08-25T00:59:06.695+05:30RESTful Java Part2: How to setup the environment for REST service development
In the below video, you can watch the step by step information on how to setup the development environment for RESTful web services with Jersey.
This video is mainly for non Maven developers...
Keep watching this space for more information on RESTful Java and related technologies. For basic introduction on RESTful Java, Read the earlier article
Anonymoushttp://www.blogger.com/profile/06305106678111679503noreply@blogger.com0Chennai, Tamil Nadu, India13.0524139 80.25082459999998712.5574199 79.605377599999983 13.5474079 80.896271599999992tag:blogger.com,1999:blog-5896887093841898213.post-72827608333326124582014-08-25T00:43:00.000+05:302014-08-25T00:59:06.692+05:30RESTful Java Part3: Basic terminologies on RESTful Java
Introduction:
The purpose of this article is to explain about the basic terminologies on JAX-RS / RESTful Java. Here we can understand how all the small pieces are playing its role
High Level Diagram:
Next we will go through the details about each component and its role in the whole REST world...
Resource:
Base resources and sub-resources can be annotated with @Path.
@Path Anonymoushttp://www.blogger.com/profile/06305106678111679503noreply@blogger.com0Chennai, Tamil Nadu, India13.0524139 80.25082459999998713.0524139 80.250824599999987 13.0524139 80.250824599999987tag:blogger.com,1999:blog-5896887093841898213.post-23783482769549034042014-08-25T00:33:00.000+05:302014-08-25T00:52:56.612+05:30Hello RESTful Java
Background:
The purpose of the article is to give some background information on, what is RESTful webservices and how this can be possible using Java language. You will understand the following when you finish reading this article.
What you will learn:
What is RESTful web services?
How to write RESTful web service using Java
Let us first see some of the definitions about RESTful web Anonymoushttp://www.blogger.com/profile/06305106678111679503noreply@blogger.com0