Archive

Archive for June, 2007

How To: JNLP Signing

June 26th, 2007 jesse No comments

This is a note for my own info:

(Excerpted from the Sun Java manual)

JAR files must be signed. For signing, the keytool/jarsigner combination of tools that come with the SDK is sufficient.

  1. First, create the JAR file:
    jar cf JNLPTime.jar TheTime.class
  2. Second, create a key in the keystore (or use one you already have). You’ll be prompted for information like first name and last. You should at least fill in that information.
    keytool -genkey -keystore myKeys -alias jdc
  3. Third, sign the JAR. Be sure to remember your password from the previous step.
    jarsigner -keystore myKeys JNLPTime.jar jdc
Categories: Java Development Tags:

JNLP Codebase Foo-ness

June 26th, 2007 jesse No comments

When deploying Java software with Java Web Start the JNLP codebase must be an absolute reference to where the main JAR file is located.

This creates a small annoyance when you have separate dev and production environments as the .jnlp files must be modified when migrating into production.

The problem is addressed with JnlpDownloadServlet, which is included in the sample/jnlp direcotry of the JDK.

Doesn’t work:

<jnlp spec="1.0+" codebase="/jnlp/">

Works:

<jnlp spec="1.0+" codebase="http://localhost/jnlp/">

Categories: Java Development Tags:

Media Center User Interface Mock-Up

June 20th, 2007 jesse No comments

Screenshot-6

We’ve been working an a new media center user interface, and here is the mock-up of our HD dashboard currently under development. Some make recognize the widgets as coming from your typical Debian desktop. Linux is a splendid, flexible development platform and mplayer is great for video testing.

Anyway, the idea here is to have four information panels with a main view screen and a navigable menu panel above. The menu idea is still in flux since the panel is turning out to be a suboptimal 10-foot experience.

The right-hand widgets (RHW) are simple Java xlets (think OCAP) which, when selected, launch a more functional application in the main view screen. Examples include a calendar widget displaying the date which launches a TV-based schedule assistant and weather and traffic indicators which launch larger, interactive information displays. The ambition is to link the RHWs and TV applications with a user’s personalized, free or commercial on-line services like weather, traffic, ebay, gmail, icalendar, xdrive, flickr, etc.

hdtv iconOne thing the UI does require is 1080i. It’s OK with 720p, but the RHWs lose the ability to convey information at a glance with lower resolutions. Anyway – HDTVs are dominating sales today, which is positive.

My thoughts about enabling email on the TV continue to waver. It’ll probably be included somehow. Perhaps read only ….

For much needed eye-candy the whole system is designed with 3D graphics at its core and uses Java Open GL (JOGL). It has slick 3D wobbly transition effects, very cool alpha blending, and a very cool, snake-like menu inspired by an amazing NVidia demo I saw at the Game Developers Conference earlier this year.

Categories: Linux Graphics Tags:

Virginia DMV

June 4th, 2007 jesse No comments

I got a speeding ticket recently. :(

The Virginia DMV numbers are conveniently located online:

http://www.dmv.state.va.us/webdoc/utilities/contact.asp

Customer Contact Center Hours

Monday through Friday — 8:00 a.m. to 5:00 p.m. (et)
Saturday — 8:00 a.m. to 12:00 p.m. (et)

Toll Free: 1-866-DMVLINE (1-866-368-5463) or 1-800-435-5137
Fax: (804) 367-6631 TTY: 1-800-272-9268

Categories: Nonsense Tags:

Blogdesk

June 4th, 2007 jesse 1 comment

This is a sample post from Blogdesk on Windows.

food network logo

The question is: can it post images to my blog?

Categories: Nonsense Tags: