Posted on July 3, 2007 by Subin
The java mobile developer community will miss iphone for the moment. If the sources are to be believed, there won’t be java support in Apple’s hugely awaited iPhone. In an interview with German magazine MacWelt, Steve Jobs said:
Java’s not worth building in [to the phone]. Nobody uses Java anymore. It’s this big heavyweight ball and [...]
Filed under: Articles, Mobility (J2ME & more), What's New ! | No Comments »
Posted on July 3, 2007 by Subin
Semaphore is a mechanism to achieve mutual exclusion in multi threaded application. The way to make threads synchronized. Semaphore is introduces by Edsger Dijkstra. This sample implementation uses an integer as the semaphore variable which can have any of the two values at any point of time – 1 (FREE) or 0 (BUSY).
Each time when a thread needs to [...]
Filed under: Advanced Java, Articles, Code Snippets, Multi Threading, Tips | No Comments »