glassfish
  1. glassfish
  2. GLASSFISH-11257

Managed Beans not supported during Java Web Start launches of app clients

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 3.1, 3.1.1, 3.1.2, 4.0
    • Fix Version/s: future release
    • Component/s: standalone_client
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

      Description

      Managed bean support is not available in app clients launched using Java Web
      Start. This limitation arises because the annotation processing logic is based
      on File objects. During Java Web Start launches the JAR files are not
      accessible as File objects.

        Activity

        Hide
        Tim Quinn added a comment -

        Attaching sample NB project containing a very simple app client with a ManagedBean. It works when launched using appclient -jar (path-to-appclient-JAR), and it works when deployed and the client stubs are retrieved. It does not work when launched using Java Web Start.

        Show
        Tim Quinn added a comment - Attaching sample NB project containing a very simple app client with a ManagedBean. It works when launched using appclient -jar (path-to-appclient-JAR), and it works when deployed and the client stubs are retrieved. It does not work when launched using Java Web Start.
        Hide
        Tim Quinn added a comment -

        Added text document describing a possible solution approach.

        Show
        Tim Quinn added a comment - Added text document describing a possible solution approach.
        Hide
        Tim Quinn added a comment -

        Updating "affects versions" and excluding from 3.1.2 and any other other 3.1.x releases that might come along.

        Show
        Tim Quinn added a comment - Updating "affects versions" and excluding from 3.1.2 and any other other 3.1.x releases that might come along.
        Hide
        Tim Quinn added a comment -

        Adjusting title to fix a typo that has bothered me a long time.

        Show
        Tim Quinn added a comment - Adjusting title to fix a typo that has bothered me a long time.
        Hide
        martinandersson.com added a comment -

        I think this bug is something I could have stumbled upon when I try to use @Inject in my application client launched through Java web start. The impression I get is that the annotation is not scanned at all. I've expressed myself a little bit more over at stack overflow: http://stackoverflow.com/q/16480767/1268003

        Show
        martinandersson.com added a comment - I think this bug is something I could have stumbled upon when I try to use @Inject in my application client launched through Java web start. The impression I get is that the annotation is not scanned at all. I've expressed myself a little bit more over at stack overflow: http://stackoverflow.com/q/16480767/1268003

          People

          • Assignee:
            Tim Quinn
            Reporter:
            Tim Quinn
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: