Jason Rutherglen

Subscribe to Jason Rutherglen: eMailAlertsEmail Alerts
Get Jason Rutherglen: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn


Top Stories by Jason Rutherglen

JINI is a new Java-based API from Sun Microsystems. Devices that are JINI enabled should be inherently able to talk to each other and even exchange code. JINI allows for store-bought devices to just "plug and work." What I'm going to discuss here is what JINI looks like to a Java programmer. JINI comes out of the same group as RMI (Remote Method Invocation). It apparently used to be an acronym, but somehow lost it along the way. So a sort of prerequisite to programming in JINI is knowing some Java and being familiar with RMI. That said, let's begin. In JINI-land every device offers a service that's placed in a lookup for other devices to retrieve those services. Here's an example service: public interface PrinterService extends Remote { public void print(Object obj) throws RemoteException; } public class PrinterServiceImpl extends UnicastRemoteObject implements PrinterS... (more)