REST Web Services 02 – Implementation in eclipse  | Jersey |  Web Service Setup In Eclipse | Maven

REST is an architectural style which is based on web-standards and the HTTP protocol. This style was initially described by Roy Fielding in 2000. In a REST based architecture everything is a resource. A resource is accessed via a common interface based on the HTTP standard methods. In a REST based architecture you have a REST server which provides access to the resources. A REST client can access and modify the REST resources.

1.web service Requriment:-
2.web service Architecture:-
webservice is the Specification
(set of rules and guide lines how to share the information between two Interoperaable application)
3.6th component suggested my webservice-
wsdl
uddi(option here)
skeleton
stub
soap protocal
http protocal

sun has provided 4 api for webservice-

JAX-RPC(API)(jdk1.4)
JAX-M(jdk1.4)
JAX-ws(jdk1.5)
JAX-RS(jdk1.6)

using above api we can develop two type of webservice-

synchronous webservice(here client get immedate response)
to develop this we need-
JAX-RPC(API)
JAX-ws
JAX-RS

Asynchronous webservice(here client wait for some response)
to develop this we need-
JAX-M

synchronous web service is deviced in two part-

SOAP based
REST base—-JSON

to develop soap base webservice we need the fallowing api-
JAX-ws
JAX-RPC(API)

to develop rest base webservice we need the fallowing api-
JAX-RS

api contain only contain abstract classses and interfices not implementaion-

Implementation:-

JAX-RPC-(Java Api for xml -Remote procedure call)

-develop by sun
-jdk1.4
-api
-this is for both soap based webserive and soap based clinet

Implementaion-

-JAX-RPC-SI(by sun)–but not part of jdk we have to download seperated
-Axis-I-Apache foundation
-weblogic Implementaion(BEA-oracle)
-webspehere Implementaion(IBM)
-JBOSS Implementaion(REDHAT)

Note- all the above calasses contaions wsdl genetation tools and skeleton

JAX-WS-(Java Api for xml -Webservice)

Implementaion-

-JAX-WS-RI (given by sun but not fully implementation)-Ri for refrence
we need to seperatly download this jar file.
but form this jdk1.6 it is available with jdk

-Metro(fully implemntaion)not available in jdk1.
-Axis2(Apache foundation)
-Apache CXF (it support the spring integration but axis2 not)
-Webspahere
-weblogic
-jboss
-glassfish(by sun)internally usess the metro

JAX-RS(java api for xml-Restfull)

-jercey (by sun)
-resteasy(by red hat)
-restlet(by jerome loavel)
-apache cxf(by apache)(support spring)
-apache wink(by apache)(not support spring inegration)

Stay tuned with me for more upcoming Videos,
don’t forget to subscribe my YouTube Channel and share your valuable comments in Comment section down below, i’ll be happy t o help you all, your Surya ☺

To download JDK click in this link:
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
To download Android Studio click in this link:
https://developer.android.com/studio/index.html

Download my you tube channel Android application from here-
https://www.dropbox.com/s/stoehcarylm
Firebase Tutorial No-6 URl-
https://www.youtube.com/watch?v=5IWBzZui4xA&t=25s

Firebase Tutorial No-1 URl-
https://www.youtube.com/watch?v=gf0VQLfwZ6w&t=25s
Firebase Tutorial No-2 URl-
https://www.youtube.com/watch?v=srgALzxKt6Y&t=521s
Firebase Tutorial No-3 URl-
https://www.youtube.com/watch?v=TW0uOKIyUpE&t=6s
Firebase Tutorial No-4 URl-
https://www.youtube.com/watch?v=XXxRALV9YxI&t=47s
Write program url using Firebase Database-
https://www.dropbox.com/s/wxggu30ajqa992c/FirebaseDemo%20%282%29.zip?dl=0
Sqlite database tutorials part-1 url-
https://www.youtube.com/watch?v=6a9lIxU9XvI&t=21s

Sqlite database tutorials part-2 url-
https://www.youtube.com/watch?v=h1PeqaAQhdg&t=6s

Storage option url-
https://www.youtube.com/watch?v=KgCfx

Internal Storage url-
https://www.youtube.com/watch?v=O-VKJ

External Storage url-
https://www.youtube.com/watch?v=EteGm

Shared Prefrences url-
https://www.youtube.com/watch?v=KZJC2

Spinner Url-
https://www.youtube.com/watch?v=o3KZz
CustomListView Url-
https://www.youtube.com/watch?v=2geTp

ListView In Android Studio Part-1
https://www.youtube.com/watch?v=taItn

ListView In Android Studio Part-1

ListView In Android Studio Part-2 With EventHandling
https://www.youtube.com/watch?v=F3tsW

ListView In Android Studio Part-3 With EventHandling
https://www.youtube.com/watch?v=fCh5D

Firebase:-
https://www.youtube.com/watch?v=Lncmj

How to Install Java Url-
https://www.youtube.com/watch?v=NXlHE

Download my you tube channel Android application from here-
https://www.dropbox.com/s/stoehcarylm

GridLayout url-
https://www.youtube.com/watch?v=B3TUS

TableLayout url-
https://www.youtube.com/watch?v=wbV3t

Connect on Socials:-

Facebook:- https://www.facebook.com/AndroJavaTec
Twitter:- https://twitter.com/AndroJavaTech4U
Google Plus:- https://plus.google.com/u/0/+AndroJav…
LinkedIn:- https://www.linkedin.com/in

#JerseySetUpInEclipse #Restfull #WebServiceUsingJAX-RS

Leave a Reply

Your email address will not be published.

error: Content is protected !!
%d bloggers like this: