J2ME combines a less resourceful JVM and a small set of JAVA apis oriented and designed specifically to develop mobile application for mobile devices. J2ME applications are also called MIDlets, like applets in J2SE and servelets in J2EE (similarity is mostly in name only).
Tuesday, September 9, 2008 | Posted by thetechnicalanalysis at 11:08 AM | 0 comments
J2ME - A quick introduction
J2ME combines a less resourceful JVM and a small set of JAVA apis oriented and designed specifically to develop mobile application for mobile devices. J2ME applications are also called MIDlets, like applets in J2SE and servelets in J2EE (similarity is mostly in name only).
Labels: In Java, J2ME, Java, Java 2 micro edition
Sunday, September 7, 2008 | Posted by thetechnicalanalysis at 10:40 AM | 0 comments
Why implementing runnable is better than extending thread?
So always implement runnable.
Labels: In Java, Java, Java Learning, Threading
Friday, September 5, 2008 | Posted by thetechnicalanalysis at 6:01 AM | 0 comments
Simplest network Program in Java
- s.java
- c.java
s.java:
import java.net.*;
import java.io.*;
class s
{
ServerSocket servSoc=null;
DataInputStream din = null;
String s;
Socket soc;
s()
{
try{
servSoc=new ServerSocket(2008);
soc=servSoc.accept();
din=new DataInputStream(soc.getInputStream());
while(true)
{
s=din.readLine();
System.out.println(s);
}
}
catch(Exception e){}
}
public static void main(String ars[])
{
s s1=new s();
}
}
c.java:
import java.net.*;
import java.io.*;
class c
{
Socket soc = null;
PrintWriter pr=null;
c()
{
try{
soc=new Socket("localhost",2008);
pr=new PrintWriter(soc.getOutputStream(),true);
pr.println("This is the simplest text");
}
catch(Exception e)
{}
}
public static void main(String args[])
{
c c1=new c();
}
}
Labels: In Java, Java, Mini-Project, Network Application
Saturday, August 30, 2008 | Posted by thetechnicalanalysis at 5:32 AM | 0 comments
Packages in Java
You can learn more about packages here
Sun tutorial on Java PAckages
Labels: In Java, Java Learning, Packages
| Posted by thetechnicalanalysis at 4:53 AM | 0 comments
Mini project in Java
I begin here....
Labels: In Java, Mini-Project