Posts

Showing posts from February, 2009

Java, Telnet and AIX

I've decided to use the UnixLoginHanlder class. Here's my sample code s, and below is the history of my struggles. Socket s = new Socket(host, port); UnixLoginHandler handler = new UnixLoginHandler(s); TelnetInputStreamConsumer is = handler.doLogin(user, pass); String command="echo hello > deleteme.tres\r\n"; pw = new PrintWriter(new OutputStreamWriter(s.getOutputStream()), true); pw.print(command); // Don't forget to flush pw.flush(); // Executing these immediately may precede the commands. // Do logout/disconnects on a seperate event //handler.doLogout(); //handler.disconnect(); Good luck! ____________________________________________________________ ____________________________________________________________ This article will illustrate my struggles with automating some Telnet functions through Java. The application that's being designed could provide as an interface or relay server, and is intended eventually to get some information out of some flat

Netflix + Ubuntu

Image
This is not an article of success, but rather some information for those searching around. I guess you could say its a story of hope?! Here's an article outlining some of the "up-and-coming" strategies planned to get a technology called "Moonlight" -- which will eventually get protected video content playing on Linux -- up to par with the Windows equivalent. What does this mean? If the above article is correct, Ubuntu, Fedora, SuSE, etc will get "Watch Now" support in Netflix. But a technology known as "DRM" will have to be incorporated into the Linux version, and Microsoft needs to work further with Novell for that to happen. Summary: Netflix "Watch Now" WILL NOT load from Linux. (The Roku is an exception) But the future may look bright . Netlfix "Watch Now" uses a plugin called " Silverlight 2.0 " made by Microsoft. Moonlight 2.0 is the Linux equivalent of Silverlight. (Use Firefox to install) Although

TOra QuickStart - Connecting TOra to an Oracle Server

This is a TOra and Windows XP quickstart guide. This guide should work with other versions of Windows, and should be very similar for Linux clients. Pay close attention to the oracle client version. If unsure, visit the TOra sourceforge page and ask. Steps: Download Oracle Client Version 10.2.0.4 " Instant Client Package - Basic: All files required to run OCI, OCCI, and JDBC-OCI applications". (Note: Lite version may work too) Here's a link although it might eventually stop working: http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/winsoft.html Note: ( Imonoid ) TORA won't work if you try to use the BaciLite InstantClient when connecting to a non-english Oracle database. Extract (copy or drag) the DLL files from "instantclient-basic-win32-10.2.0.4.zip" to "C:\Program Files\TOra\" Next, launch the TOra icon on your desktop. There will be two icons. Click the one that just says "TOra". (If TOra isn'