River
  1. River
  2. RIVER-342

Jini in a Jar - some helpful utilities for newbie's

    Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: River_2.2.0
    • Fix Version/s: None
    • Component/s: Contributions
    • Labels:
      None
    • Environment:

      All

      Description

      The Jini in a Jar project on java.net could assist new developers to more easily distribute simple River application's. I think this utility would be very useful for new developers to get better acquainted and experiment with and install Jini Services and clients more easily.

      This shouldn't be seen as a threat to the various deployment containers / projects utilising JIni, as it's scope is relatively small in comparison.

      1. deployutil-1-0.zip
        277 kB
        Peter Firmstone
      2. JAR.pdf
        435 kB
        Peter Firmstone

        Activity

        Hide
        Peter Firmstone added a comment -

        Thanks Gregg, sounds interesting, we need this kind of software to catch peoples interest.

        Do you want to contribute Whatsitdo to Apache River?

        Show
        Peter Firmstone added a comment - Thanks Gregg, sounds interesting, we need this kind of software to catch peoples interest. Do you want to contribute Whatsitdo to Apache River?
        Hide
        Gregg Wonderly added a comment -

        The whatsitdo project on java.net is something that I started as another way to try and show people all the parts of Jini and what it does with each of the pieces. The intent was to create a container that ran on a users desktop which the Jini community could provide "demo" software to run inside of. That software would primarily be services with serviceUI components that would be visible for the user to invoke and use. It utilizes the com.sun.jini.start mechanisms as the underlying service launch mechanism. The interesting thing was that I enhanced the jar: URL mechanisms inside of Java to create recursive jar: handler capabilities. This would allow you to reference jars inside the "Class-Path" manifest entry that would be loaded from relative paths off of the main jar's URL.

        I had this all working last I played with it, but don't recall why I didn't try and do some promotion of it. Most likely I had another project get in the way. The small desktop container with GUI allows services to be built into JAR files, and then you can just drag them and drop them on the service container and presto, you can launch instances and interact with any ServiceUIs they have.

        It does require you to have a ServiceRegistrar somewhere, and I did have a jar'd version ready to drop on the container and launch.

        Show
        Gregg Wonderly added a comment - The whatsitdo project on java.net is something that I started as another way to try and show people all the parts of Jini and what it does with each of the pieces. The intent was to create a container that ran on a users desktop which the Jini community could provide "demo" software to run inside of. That software would primarily be services with serviceUI components that would be visible for the user to invoke and use. It utilizes the com.sun.jini.start mechanisms as the underlying service launch mechanism. The interesting thing was that I enhanced the jar: URL mechanisms inside of Java to create recursive jar: handler capabilities. This would allow you to reference jars inside the "Class-Path" manifest entry that would be loaded from relative paths off of the main jar's URL. I had this all working last I played with it, but don't recall why I didn't try and do some promotion of it. Most likely I had another project get in the way. The small desktop container with GUI allows services to be built into JAR files, and then you can just drag them and drop them on the service container and presto, you can launch instances and interact with any ServiceUIs they have. It does require you to have a ServiceRegistrar somewhere, and I did have a jar'd version ready to drop on the container and launch.
        Hide
        Tim Blackman added a comment - - edited

        I developed this code while working on the Neuromancer project at Sun Labs. That project was built on top of Jini, and I created this code to make it easier for the other developers on the project, who weren't as familiar with Jini, to create and deploy applications.

        Hope it proves useful as part of the River project!

        Tim

        Show
        Tim Blackman added a comment - - edited I developed this code while working on the Neuromancer project at Sun Labs. That project was built on top of Jini, and I created this code to make it easier for the other developers on the project, who weren't as familiar with Jini, to create and deploy applications. Hope it proves useful as part of the River project! Tim
        Peter Firmstone made changes -
        Attachment deployutil-1-0.zip [ 12446918 ]
        Hide
        Peter Firmstone added a comment -

        This project code already contains the Apache License v2.0 and is copyright Sun Microsystems.

        https://deployutil.dev.java.net/files/documents/5260/36151/deployutil-1-0.zip

        Uploaded, intended for inclusion in future.

        Show
        Peter Firmstone added a comment - This project code already contains the Apache License v2.0 and is copyright Sun Microsystems. https://deployutil.dev.java.net/files/documents/5260/36151/deployutil-1-0.zip Uploaded, intended for inclusion in future.
        Peter Firmstone made changes -
        Field Original Value New Value
        Attachment JAR.pdf [ 12446915 ]
        Hide
        Peter Firmstone added a comment -

        Tim Blackman's presentation from JCM9

        Show
        Peter Firmstone added a comment - Tim Blackman's presentation from JCM9
        Peter Firmstone created issue -

          People

          • Assignee:
            Peter Firmstone
            Reporter:
            Peter Firmstone
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development