JVM Languages
javagcf.txt
Associated article: Java's Generic Connection Framework
Tags: JVM Languages
Published source code accompanying the article by Paul Tremblett in which examines the Java Generic Connection Framework, which is part of Sun Microsystems's Connected Limited Device Configuration specification for mobile computing. Also see JAVAGCF.ZIP.
Java's Generic Connection Framework
by Paul Tremblett
Listing One
try {
socket = (InputConnection)Connector.open("socket://127.0.0.1:13",
Connector.READ, true);
is = socket.openInputStream();
}
catch (Exception e) {
}
try {
int b;
StringBuffer sb = new StringBuffer();
while ( (b = is.read()) != -1) {
sb.append((...


