- 浏览: 80663 次
文章分类
- 全部博客 (89)
- web service (9)
- subversion (1)
- JBOSS (3)
- interview (23)
- jQery (2)
- ExtJs (0)
- Axis (0)
- Design pattern (3)
- Agile (2)
- mutithread (0)
- Core Java (24)
- programming methods (1)
- SSH (7)
- jee design (1)
- OO (4)
- books (8)
- other (1)
- JSF (7)
- seam (2)
- Weblogic (4)
- JPA (1)
- ADF (1)
- Spring (5)
- Tomcat (1)
- DWR (2)
- JEE (3)
- Servlet (1)
- EJB (1)
- JDBC (3)
最新评论
-
iloveflower:
呵呵。好好学习。。。。。。。。。。。。
java 读书 -
Eric.Yan:
看了一点,不过是电子版的……你这一说到提醒我了,还要继续学习哈 ...
java 读书
Web Services Introduction
Before understanding why web services are popular or so important, you should first assess ‘What is Web Services, what’s its use and how does it work?’ The nature and functionality of web services have made it very popular. Nowadays, our business systems have matured, transparent and more logical and high tech, and all for these are because of web services.
Definition
Web services are the amalgamation of eXtensible Markup Language (XML) and HyperText Transfer Protocol HTTP that can convert your application into a Web-application, which publish its function or message to the rest of the world.
In other words, we can say, web services are just Internet Application Programming Interfaces (API) that can be accessed over a network, such as Internet and intranet, and executed on a remote system hosting the requested services.
Web-applications are simple applications that run on the web. Web services are browsers and operating system independent service, which means it can run on any browser without the need of making any changes. Web Services take Web-applications to the Next Level.
The World Wide Web Consortium (W3C) has defined the web services. According to W3C, “Web Services are the message-based design frequently found on the Web and in enterprise software. The Web of Services is based on technologies such as HTTP, XML, SOAP, WSDL, SPARQL, and others.”
The Elements of Web Services
Web services use XML to code and to decode data, and SOAP to transport it (using open protocols). Besides these, HTTP, Web Services Description Language (WSDL), Universal Description, Discovery and Integration (UDDI), and SPARQL are the elements of Web Services.
To understand clearly about Web Services, it is mandatory to have some brief knowledge of web services elements.
HTTP
HyperText Transfer Protocol in short HTTP is the most widely used protocol by World Wide Web. It defines how messages are formatted and transmitted, and what actions Web servers and browsers should take in response to various commands.
One of the shortcomings of HTTP is that it is a stateless protocol, which means each command is executed independently, without any knowledge of the commands that came before it. This shortcoming has been resolved in new technologies includes ActiveX, Java, JavaScript and cookies.
Simple Object Access Protocol (SOAP)
SOAP is a simple XML-based protocol that allows to communicate applications information over HTTP without the dependency of OS platform. SOAP uses HTTP and XML as the mechanisms for information exchange.
Universal Description, Discovery and Integration (UDDI)
Universal Description, Discovery and Integration in short UDDI is a web based distributed directory like traditional phone book's yellow and white pages that enables businesses to list themselves on the Internet and discover each other. It defines a registry service – a Web service that manages information about service providers, service implementations, and service metadata – for Web services and for other electronic and non-electronic services.
The service providers can use UDDI to advertise the services they offer while service consumers can use UDDI to discover services.
Web Services Description Language (WSDL)
The WSDL refers to Web Services Description Language, is an XML based protocol used for sending and receiving the information through decentralized and distributed environments. WSDL is an integral part of UDDI that was developed jointly by Microsoft and IBM.
It defines what services are available in its Web service and also defines the methods, parameter names, parameter data types, and return data types for the Web service. The WSDL document is quite reliable and applications that use web services accept it
SPARQL
SPARQL refers to SPARQL Protocol and RDF Query Language is an RDF query language that defines a standard query language and data access protocol for use with the Resource Description Framework (RDF) data model. It works for any data source that can be mapped to RDF. SPARQL allows a query to be consisted of triple patterns, conjunctions, disjunctions, and optional patterns. It is standardized by the RDF Data Access Working Group (DAWG) of the W3C, and is considered a key semantic web technology.
Uses of Web Services
Web services are a set of tools that can be used in a number of ways most commonly in three styles:
•Remote Procedure Calls
•Service-oriented architecture
•Representational state transfer
Moreover, it is also used as Reusable application-components and Connect existing software.
Remote procedure calls (RPC)
The Remote procedure calls Web services present a distributed function call interface, which is familiar to many developers. Typically, the basic unit of RPC Web services is the WSDL operation.
Service-oriented architecture (SOA)
Under Service-oriented architecture (SOA) Web services is used to implement an architecture in which the basic unit of communication is a message, rather than an operation. This is often referred to as "message-oriented" services. Major software vendors and industry analysts support the SOA Web Services.
Representational state transfer (REST)
The Representational State Transfer (REST) Web Services attempts to describe architectures based on REST can use WSDL to describe SOAP messaging over HTTP, which defines the operations. REST describes operations, can be implemented as an abstraction purely on top of SOAP or can be created without using SOAP at all.
In Reusable application-components uses Web Services offers most frequently used services like currency conversion, weather reports, language translation and much more.
In Connect existing software, Web Services offers you to exchange data between different applications and different platforms. In this type of uses, you can solve the interoperability problem by giving different applications a way to link their data.
Now, you have assessed why web services is so popular and why it is widely in use.
In this section we introduced you with the Web services. In next section you will learn about the importance of Web services.
Web Service本质在一般情况下就是用HTTP发送一组XML数据包非WEB上的HTML
Before understanding why web services are popular or so important, you should first assess ‘What is Web Services, what’s its use and how does it work?’ The nature and functionality of web services have made it very popular. Nowadays, our business systems have matured, transparent and more logical and high tech, and all for these are because of web services.
Definition
Web services are the amalgamation of eXtensible Markup Language (XML) and HyperText Transfer Protocol HTTP that can convert your application into a Web-application, which publish its function or message to the rest of the world.
In other words, we can say, web services are just Internet Application Programming Interfaces (API) that can be accessed over a network, such as Internet and intranet, and executed on a remote system hosting the requested services.
Web-applications are simple applications that run on the web. Web services are browsers and operating system independent service, which means it can run on any browser without the need of making any changes. Web Services take Web-applications to the Next Level.
The World Wide Web Consortium (W3C) has defined the web services. According to W3C, “Web Services are the message-based design frequently found on the Web and in enterprise software. The Web of Services is based on technologies such as HTTP, XML, SOAP, WSDL, SPARQL, and others.”
The Elements of Web Services
Web services use XML to code and to decode data, and SOAP to transport it (using open protocols). Besides these, HTTP, Web Services Description Language (WSDL), Universal Description, Discovery and Integration (UDDI), and SPARQL are the elements of Web Services.
To understand clearly about Web Services, it is mandatory to have some brief knowledge of web services elements.
HTTP
HyperText Transfer Protocol in short HTTP is the most widely used protocol by World Wide Web. It defines how messages are formatted and transmitted, and what actions Web servers and browsers should take in response to various commands.
One of the shortcomings of HTTP is that it is a stateless protocol, which means each command is executed independently, without any knowledge of the commands that came before it. This shortcoming has been resolved in new technologies includes ActiveX, Java, JavaScript and cookies.
Simple Object Access Protocol (SOAP)
SOAP is a simple XML-based protocol that allows to communicate applications information over HTTP without the dependency of OS platform. SOAP uses HTTP and XML as the mechanisms for information exchange.
Universal Description, Discovery and Integration (UDDI)
Universal Description, Discovery and Integration in short UDDI is a web based distributed directory like traditional phone book's yellow and white pages that enables businesses to list themselves on the Internet and discover each other. It defines a registry service – a Web service that manages information about service providers, service implementations, and service metadata – for Web services and for other electronic and non-electronic services.
The service providers can use UDDI to advertise the services they offer while service consumers can use UDDI to discover services.
Web Services Description Language (WSDL)
The WSDL refers to Web Services Description Language, is an XML based protocol used for sending and receiving the information through decentralized and distributed environments. WSDL is an integral part of UDDI that was developed jointly by Microsoft and IBM.
It defines what services are available in its Web service and also defines the methods, parameter names, parameter data types, and return data types for the Web service. The WSDL document is quite reliable and applications that use web services accept it
SPARQL
SPARQL refers to SPARQL Protocol and RDF Query Language is an RDF query language that defines a standard query language and data access protocol for use with the Resource Description Framework (RDF) data model. It works for any data source that can be mapped to RDF. SPARQL allows a query to be consisted of triple patterns, conjunctions, disjunctions, and optional patterns. It is standardized by the RDF Data Access Working Group (DAWG) of the W3C, and is considered a key semantic web technology.
Uses of Web Services
Web services are a set of tools that can be used in a number of ways most commonly in three styles:
•Remote Procedure Calls
•Service-oriented architecture
•Representational state transfer
Moreover, it is also used as Reusable application-components and Connect existing software.
Remote procedure calls (RPC)
The Remote procedure calls Web services present a distributed function call interface, which is familiar to many developers. Typically, the basic unit of RPC Web services is the WSDL operation.
Service-oriented architecture (SOA)
Under Service-oriented architecture (SOA) Web services is used to implement an architecture in which the basic unit of communication is a message, rather than an operation. This is often referred to as "message-oriented" services. Major software vendors and industry analysts support the SOA Web Services.
Representational state transfer (REST)
The Representational State Transfer (REST) Web Services attempts to describe architectures based on REST can use WSDL to describe SOAP messaging over HTTP, which defines the operations. REST describes operations, can be implemented as an abstraction purely on top of SOAP or can be created without using SOAP at all.
In Reusable application-components uses Web Services offers most frequently used services like currency conversion, weather reports, language translation and much more.
In Connect existing software, Web Services offers you to exchange data between different applications and different platforms. In this type of uses, you can solve the interoperability problem by giving different applications a way to link their data.
Now, you have assessed why web services is so popular and why it is widely in use.
In this section we introduced you with the Web services. In next section you will learn about the importance of Web services.
Web Service本质在一般情况下就是用HTTP发送一组XML数据包非WEB上的HTML
发表评论
-
Steps for creating Remote Java WebServices in eclipse
2012-05-17 22:01 1213http://www.coderanch.com/t/5439 ... -
SOAPBind style区别
2012-04-18 03:57 1170翻译自 The Difference Between RPC ... -
web service
2012-04-18 03:09 02001_Programming Web Services w ... -
Sample on JAXB using Eclipse
2012-03-06 05:49 0Java Architecture for XML Bindi ... -
Java Web Services Developer's Pack, v2.0
2012-03-06 00:02 0For Java Web Services Developer ... -
开发 web 服务常用模式
2012-03-02 05:55 786Web 服务提示与技巧: JAX-RPC 与 JAX-WS 的 ... -
SOAP1.1 SOAP1.2 or simple http sample
2012-03-02 04:48 1602SOAP 1.1 The following is a sam ... -
WSDL sample(the weathernetwork)
2012-03-02 04:38 819WSDL 文档在Web服务的定义中使用下列元素: ... -
REST Web Service Interview Questions
2012-03-02 00:49 1030Here I am putting 20 REST quest ... -
Axis与CXF比较
2012-03-01 06:32 1028新一代的 Web Services 框架如 Axis2、CXF ... -
web service相关简介
2012-03-01 05:35 8191.WEBSERVICE简介 2.WebService之AX ...
相关推荐
Web Service and primitive SOA INTRODUCE
4. 系统管理:了解如何使用sysctl、service、systemctl等工具调整系统设置和服务状态。 5. 软件安装:学会使用包管理器如apt(Debian系)、yum(RHEL系)或dnf(Fedora)安装和更新软件。 6. 配置网络:配置IP地址...
SSAS(Sql Server Analysis Service)是微软开发的一种用于企业级数据仓库和商务智能的分析服务。它是SQL Server数据库管理系统的一部分,特别适用于处理大量数据的离线分析和报告,提供了高效能和高度定制化的用户...
The first chapter discusses briefly the components and the ideas behind this software structure, while chapter 2 runs through a concrete example of clean architecture for a very simple web service....
这个框架集成了多种技术,如JavaServer Faces (JSF)、Java Persistence API (JPA)、Enterprise JavaBeans (EJB)、Java Message Service (JMS)等,为开发者提供了一个统一的开发环境,旨在提升开发效率并减少代码复杂...
These chapters introduce local area networks (LANs), wide area networks (WANs), wireless LANs, tools for exploring networks, and the domain name system. Such a course could also spotlight later ...
Furthermore, you will learn to leverage the Amazon Web Service (AWS) ecosystem for extended access to data sources, implement realtime predictions, and run Amazon Machine Learning projects via the ...
An active internet connection Java 8+ Docker Maven Git client Chapter 1, Introduction to Microservices, will introduce you to the ...on these platforms using command-line tools or web console.
They also introduce Go, a “simply elegant” high-performance language that is especially well-suited for cloud development. You’ll walk through creating microservices in Go, adding front-end web ...
We’ll cover the basics of setting up an OAuth2 service to protect your services and also how to use JavaScript Web Tokens (JWT) in your OAuth2 implementation. Chapter 8 looks at how you can ...
项目包SSH 环境:eclipse下ssh集成,数据库mysql 运行: 1、直接导入该SSH项目 2、applicationContext-common.xml对dataSource修改为你的url,... 还可以根据文件夹中的introduce.txt根据自己的项目实际需要添加.
These problems can degrade the quality of service for applications relying on this layer. - TCP congestion control mechanisms, such as slow start and congestion avoidance, help manage network ...
None guide Federal users and system administrators to adequately protect sensitive but unclassified Federal Government data against the most serious threats on the World Wide Web – eavesdropping, ...
1. "Introduce myself, I called XX, majoring in finance. Because schools have different experiences and experience, I can organize different types of meetings, planning meetings, production contracts, ...