Details

    • Type: Task Task
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 4.0
    • Fix Version/s: future release
    • Component/s: rest-interface
    • Labels:
      None

      Description

      Currently rest-service depends on some rest-client classes, but after talking to Jason I get the impression that they are never used. This is further confirmed by the fact that rest-client module is not yet part of the distribution and rest-service is still fully functional. So we should do some refactoring to make sure appropriate classes are packaged in rest-service module and stop dynamically importing classes.

        Activity

        Sanjeeb Sahoo created issue -
        Hide
        Jason Lee added a comment -

        The rest-service package DOES depend on the rest-client package, which IS packaged with the server:

        $ ll ~/src/servers/glassfish3/glassfish/modules/rest*
        rw-rr-@ 1 jdlee staff 14906 Nov 9 10:45 /Users/jdlee/src/servers/glassfish3/glassfish/modules/rest-client.jar
        rw-rr-@ 1 jdlee staff 340743 Nov 9 10:45 /Users/jdlee/src/servers/glassfish3/glassfish/modules/rest-service.jar

        There is, though, still some code in the rest-service module that I intend to move to rest-client, so as to make its consumption by clients easier/lighter.

        The osgi.bundle files could probably use some clean up, though, which I'll address based on our email discussion.

        Show
        Jason Lee added a comment - The rest-service package DOES depend on the rest-client package, which IS packaged with the server: $ ll ~/src/servers/glassfish3/glassfish/modules/rest* rw-r r -@ 1 jdlee staff 14906 Nov 9 10:45 /Users/jdlee/src/servers/glassfish3/glassfish/modules/rest-client.jar rw-r r -@ 1 jdlee staff 340743 Nov 9 10:45 /Users/jdlee/src/servers/glassfish3/glassfish/modules/rest-service.jar There is, though, still some code in the rest-service module that I intend to move to rest-client, so as to make its consumption by clients easier/lighter. The osgi.bundle files could probably use some clean up, though, which I'll address based on our email discussion.
        Jason Lee made changes -
        Field Original Value New Value
        Fix Version/s future release [ 11148 ]
        Fix Version/s 4.0 [ 10970 ]

          People

          • Assignee:
            Jason Lee
            Reporter:
            Sanjeeb Sahoo
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: