Log4j logging levels

June 23, 2010
By admin

Severity of log messages is ordered, from highest to lowest: fatal – Consider logging to console and system log. error – Consider logging to console and system log. warn – Consider logging to console and system log. info – Consider logging to console and system log. debug – Log to system log, if enabled....
Read more »

DTD vs XML Schema

May 25, 2010
By admin

DTD – The Document Type Definition The first method used to provide this definition was the DTD, or Document Type Definition. This defines the elements that may be included in your document, what attributes these elements have, and the ordering and nesting of the elements.  XML Schemas XML Schemas provide a much more powerful...
Read more »

How to Choose an XML API ?

May 25, 2010
By admin

The most important decision you’ll make at the start of an XML project is the application programming interface (API) you’ll use. Many APIs are implemented by multiple vendors, so if the specific parser gives you trouble you can swap in an alternative, often without even recompiling your code. However, if you choose the wrong...
Read more »

Using REST in Java

May 20, 2010
By admin

Issuing HTTP GET Requests The key class here is HttpURLConnection, obtained by invoking openConnection on a URL object. Sadly, openConnection method’s signature specifies that it returns the superclass type, URLConnection, and we have to downcast the result. The following method issues a request and returns the entire response as one long string: public static...
Read more »

The Right WebService

May 20, 2010
By admin

Web Services are the key point of Integration for different applications belonging to different Platforms, Languages, systems. It wouldn’t be wrong if you call Web-services as the “Rendezvous point of the Business”. I’ve been using HTTP and SOAP since several years new. REST is rather new. SOAP revolutionized RPC and loose coupling  beyond the...
Read more »

REST vs SOAP Web Services

May 13, 2010
By admin

I am seeing a lot of new web services are implemented using a REST style architecture these days rather than a SOAP one. Lets step back a second and explain what REST is. What is a REST Web Service The acronym REST stands for Representational State Transfer, this basically means that each unique URL...
Read more »

Calendar

    September 2010
    M T W T F S S
    « Jul    
     12345
    6789101112
    13141516171819
    20212223242526
    27282930