Want to be able connect to Windows RPC Services from Linux? How about installing, starting/stopping remote services or even scheduling remote jobs (by interacting with Task Scheduler) on remote Windows Machines? All this from within Java code! Wouldn�t this be great for the heterogeneous networking environment?
Easy! The Jarapac library is an Open Source Java implementation of DCE RPC (Distributed Computing Environment RPC). Using the Jarapac and Jcifs libraries, one can open a DCE RPC/named pipe connection to a variety of Windows Network Services. Examples of these services include ATSVC and the SVCCTL.
Given the service idl (in MIDL format), one can use midlc to generate the required Java stub code needed to access these remote services. Please note that the midlc compiler (version 0.5.1) is not fully mature yet and may generate some incorrect code. Manuel adjustment may be required in some cases, use with caution.
I guess Microsoft might not be happy about all of this :-P
Posted by michaelm at September 22, 2004 05:47 PM | TrackBack