Archive for the ‘Network’ Category

Creating a BlackBerry HTTP Connection

Posted October 12th, 2009 by Nazmul
Summary

This tutorial will show you the various ways to create an HTTP networking connection from your BlackBerry device to an HTTP server (web service, servlet, etc). The complicated part about doing this on a BlackBerry is deciding which transport you would like to use, and which transport you can use.

Click here to read this tutorial...   |  

How to build a service-enabled Android App – Part 2/3 Networking

Posted June 4th, 2008 by Nazmul
Summary

I’ve written 3 tutorials to show you how to create a service enabled Android application that performs all of it’s network I/O in a background thread (not the UI thread). These tutorials are split into three parts. This one shows you how to use Apache HTTP Client to connect to services over HTTP or HTTPS and exchange serialized Java objects with services.

Click here to read this tutorial...   |  

Lightweight Remote Object Access – RESTful Java

Posted November 27th, 2007 by Nazmul
Summary

With web services, SOAP and XML RPC and sessionless RESTful protocols becoming popular over the last few years, this tutorial will take you through the steps of crafting a very lightweight RPC mechanism that uses Java’s object serialization and HTTP (URLConnection and Servlets).

Click here to read this tutorial...   |  

XML SQL gateway (socket based)

Posted November 27th, 2007 by Nazmul
Summary

The XML SQL database gateway is an engine that accepts an SQL command and returns the ResultSet as an XML document. The gateway uses JDBC in order to connect to the actual database. The gateway also comes with a socket connector. This allows the gateways services to be accessed over a simple socket. Only the socket implementation is provided in this tutorial, the Servlet connector is not provided.

Click here to read this tutorial...   |  

Source code for accessing weather.com XML data feed from Java

Posted January 2nd, 2007 by Nazmul
Summary

If you’ve ever wanted to access weather reports from your desktop applications, widgets, or web applications, I’ve got some source code that will make it easier than ever to access this weather data from a Java API.

Click here to read this tutorial...   |  

JVM, URLs and Firewalls

Posted December 30th, 1998 by Nazmul
Summary

How to provide a JVM with proxy server settings to tunnel through a firewall (when a proxy server is present)

Click here to read this tutorial...   |