Creating a J2ME Web Service Client

This last week I was concentrated in developing a J2ME application that communicates with a Web Service to gather some information about route planning. Basically, the mobile app ask for a route, given an origin and a destination waypoints. Although this kind of work looks very easy, I got some problems to accomplish it. Due to that, I will … Continue reading Creating a J2ME Web Service Client

Google Maps API Library for GWT

Hello everybody, 2009 starts with a very good news for Java web developers interested in Google Maps services. This week, the Google Geo Developers Blog published about the announcement of  the Google API Libraries for Google Web Toolkit. They're a collection of libraries that provide Java language bindings for popular Google JavaScript APIs, facilitating its use with GWT, which translates your … Continue reading Google Maps API Library for GWT

Remote Pair Programming

Hi, every software engineer and project manager knows about XP and Pair Programming, but most of them doesn't know how to do it with a distributed team. A good option in this case is to make use of a Eclipse Plugin named Cola: Real-Time Shared Editing. Cola's main funtction is to enable code real time … Continue reading Remote Pair Programming

Java Challenge (3)

  Hi guys, here I am with another Java Challenge. Looking at the following code, are you able to say where does it fail?? -- import java.util.ArrayList; import java.util.List; public class GenericsHandler { public void insert(List list) { list.add(new String("42")); } public static void main(String[] args) { GenericsHandler gh = new GenericsHandler(); List<Integer> list = … Continue reading Java Challenge (3)

Java Challeng (2) Answer

Well, the comments are right. public class Test {           public static void main(String[] args) {                          String s1 = new String(”Test 2″);                          String s2 = s1;                          System.out.println(”s2 = ” + s2);                          s1 = s1 + ” modified”;                          System.out.println(”s2 = ” + s2);           } } The code above will print: Test 2 … Continue reading Java Challeng (2) Answer