Friday, February 27, 2009

What is XML?

0 comments
XML is used to organize documents and business data. XML files can be stored or transmitted between two applications on a network. Basically, they are just plain text documents that contain special tags that label different parts of a document or fields of data.

XML is a framework for defining markup languages, there is no fixed collection of markup tags, and User can define their own tags. XML language is targeted at its own application domain, but the languages will share many features.Following is the sample XML codes:

<?xml version="1.0" encoding="UTF-8"?>
<lunch_menu>
<food>
<name>Cripsy Green Salads</name>
<price>$3.95</price>
<description>Cripsy Green Salads with Italian Dressing</description>
<calories>150</calories>
</food>
</lunch_menu>


<?xml version="1.0" encoding="UTF-8"?>
<contact>
<address>
<name>Oracle</name>
<street>111 Main Street</street>
<city>Santa Barbara</city>
<state>CA</state>
</address>
<phonenumber>
<areacode>814</areacode>
<number>345-6789</number>
</phonenumber>
</contact>

XML is the foundation of all the other webservices technologiesThere is only one version for XML XML1.0 which is managed by the World Wide Web Consortium (W3C).

Namespace Prefixes

0 comments


The above Table shows the namespace prefixes used in the WS-I Basic Profile 1.0

Thursday, February 26, 2009

Purpose of Web Services

0 comments
Web service was too general to fulfill technology's main purpose,interoperability. The main purpose of webservices technologies is to allow applications on different platforms to exchange business data.There are two major factors to use web services,both remarkably straightforward that someone else has information that you require, or you have information you wish to provide to others.

Web service technologies are used for Application to application(A2A) integration or Business to Business communication.A2A refers to disparate applications within single organization communicating and exchanging data-A2A is also known as Enterprise Application Integration(EAI).B2B refers to multiple Organizations,typically business partners,exchanging data.Web service technologies today are mostly used in A2A/EAI settings.But they are also in B2B.
Another major use of web services is it can provide any level of security, from a completely open service open to all who request it,to a private service with transfers happening over SSL and client-side certificates to validate identities.

Also Web services make use of technology that is existing in already deployed Webserver,database and others.

Web services can help manage costs and easy integration with businesses.

Understanding Web Services

0 comments
Java and Web Services seem to be everywhere, these technologie saw rapid adaption and today they are the essential technology of Enterprise systems. Web Services it is a revolutionary technology. "Web Services is a software system designed to support interoperable machine-to-machine interaction over a network". In term Webservices describes the standardized way of integrating web based applications using XML, SOAP, WSDL and UDDI.
  • XML is used to define the data.
  • SOAP is used to transfer the data.
  • WSDL used to describe the services available.
  • UDDI is used to list the available services.
Simply Web services share business logic, data and process through a programmatic interface across a network such as internet and executed on a remote system hosting the requested services.

We'll see more about the Web Services Standards (XML,SOAP,WSDL and UDDI) and J2EE Web Services APIs (JAX-RPC,SAAJ,JAXR and JAXP) in detail later in this blog.
  • XML: eXtensible Markup Language.
  • SOAP: Simple Object Access Protocol.
  • WSDL: Web Services Description Language.
  • UDDI: Universal Description,Discovery and Integration.

Followers

 

J2EE-webservices. Copyright 2009 All Rights Reserved by j2eewebservices.blogspot