<< Back to previous view

[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
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Tags: spo
Participants: Jason Lee and Sanjeeb Sahoo

 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.



 Comments   
Comment by Jason Lee [ 10/Nov/11 02:50 PM ]

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 Mon Apr 21 13:24:13 UTC 2014 using JIRA 4.0.2#472.