Month 09

Create CXF Client

Create CXF Client

Create CXF Client Example explains step by step details of how to create a CXF web service client / wsdl soap client using Apache CXF WebService Framework

For Creating Apache CXF Client, We are using JaxWsProxyFactoryBean. The factory option is particular to CXF and it is non-standard. This will give you a great control over the endpoint.

The Other options like Wsimport tool available with JDK are standard but that will give you less control. For example you can add a logging interceptor in order to show the logs when accessing your service using JaxWsProxyFactoryBean.

For publishing a web service, you can follow this tutorial CXF Web Service Tutorial. This client is based on mentioned Tutorial

TCPMon Tutorial

TCPMon Tutorial

TCPMon Tutorial explains step by step details of How to debugging web service using TCPMon.

What is TCPMon & How to Use TCPMon?

Apache TCPMon is an open-source tool / debugger for checking the data flowing through TCP network. TCPMon placed intermediate to a consumer and a server. The consumer is made to contact with TCPMon, and TCPMon further send the data to the server and will shows on in its Graphical User Interface(GUI).

Apache TCPMon utility is using for monitoring soap message

You can also configure, TCPMon with Apache AXIS in order to monitor the traffic

For example if you, created webservice is deployed using Apache CXF or Apache AXIS, you can able to monitor traffic on TCP connections by using this tool  

CXF Web Service Tutorial

CXF Web Service Tutorial

CXF Web Service Tutorial explains about step by step details of Creating / Developing Web service using Apache CXF, Spring & Eclipse and deployed in Tomcat

Apache CXF  is a free and open source project, and a fully featured Webservice framework.

It helps you building webservices using different front-end API's, like as JAX-RS and JAX-WS.

Services will talk different protocols such as SOAP, RESTful HTTP, CORBA & XML/HTTP and work with different transports like JMS, HTTP or JBI.

Apache CXF Project was created by the merger of the Celtix and XFire projects. These two projects were merged by folks working together at the Apache Software Foundation.

Parsing/Reading RSS/Atom Feed Using ROME

Parsing/Reading RSS/Atom Feed Using ROME

Parsing / Reading RSS / Atom Feed Using ROME Tutorial describes about How to parse / read RSS / Atom feed using ROME API.

ROME  is an open source java library that contains different utility classes and methods for parsing and publishing syndicated feeds, By using ROME API makes it very easily compliance with most of the RSS / Atom and syndication feeds.

Rome library contains lot of converters to convert from one format to another. Rome will parse any format of News feeds, including RSS variants and Atom

Below you can see an example of ROME API which parses the given google's feedburner link

http://feeds.feedburner.com/javatipsfeed

Create Sitemap Using Java

Create Sitemap Using Java

Create Sitemap Using Java Tutorial describes about How to create sitemap in java

It will also support for google site map updations

Sitemap is an easy manner for a webmasters to notify search engine spiders about pages on their sites that are accessible for crawling and indexed.

Sitemap is a simple XML file that consists of list of Entries (URLs) of a website along with some other details about URL like URL last updated time, how often URL updated ( ie; change frequency of URL) and how vital it is ( ie; priority of URL)

so that by using these informations search engines spiders can able to crawl the site.