[GLASSFISH-17704] Clean up rest-service module Created: 10/Nov/11  Updated: 21/Feb/13

Status: Open
Project: glassfish
Component/s: rest-interface
Affects Version/s: 4.0
Fix Version/s: future release

Type: Task Priority: Major
Reporter: Sanjeeb Sahoo Assignee: Jason Lee
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Tags: spo


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.

Comment by Jason Lee [ 10/Nov/11 ]

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.

Generated at Tue Feb 28 18:33:39 UTC 2017 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.