Friday, October 21, 2011
Add Twitter to your webpage , Display Tweets using Java script
Hi, Everyone like to display tweets on their webpage. Twitter api provides the way to do it.. All you need to do is trigger a event in java script which retrives last 20 tweets. We can get tweets in two format xml and Json.. I prefer JSON which is very easy to use. I have used JSON. when page is loaed $.getJSON method is called and parameter is passed. i am parsing the return...
Wednesday, October 12, 2011
Maven Hectic Work...
I am developing web applications using maven... As a developer cleaning,building, stoping tomcat, placing war file, starting tomcat and opening browser takes 50% time in a day.. Mostly coding wont take that much time. Each time ill make change i have to build,copy etc...
I love developing But these kind of hectic work make me feel lazy...
Hurray.. !!!
I found a solution...
Thursday, October 6, 2011
How to Read a XML file From Nexus repository
Here I am using the jsersey client library to read xml file from nexusSpecify the URL of the XML String BASE_URI = "http://localhost:8080/Nexus"; WebResource r = c.resource(BASE_URI); ClientResponse response = r.get(ClientResponse.class); System.out.println( response.getStatus()...
Jersey Client API
Jersey Client API Implementation And Converting JSON String to object
Jersey Client API code receives json data from web service and converts received jason data to the corresponding object ..
Here the code goes ..
...
Subscribe to:
Posts (Atom)