This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 133206 - REST WS from patterns improvements
Summary: REST WS from patterns improvements
Status: NEW
Alias: None
Product: webservices
Classification: Unclassified
Component: REST (show other bugs)
Version: 6.x
Hardware: Sun All
: P3 blocker (vote)
Assignee: Peter Liu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-18 15:11 UTC by Nam Nguyen
Modified: 2008-04-18 15:15 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nam Nguyen 2008-04-18 15:11:51 UTC
1. Generate code with both xml and json mime types.  Currently it only generate xml given a JAXB class.
2. Container-Item pattern need to generate better code:
 item resource: with key field and 
2. Support image mimetypes (PNG,....) with automatic java type set to byte[]
Comment 1 Nam Nguyen 2008-04-18 15:15:41 UTC
2. (cont.)
   a: item resource:  key/id field and constructor with arguments for UriInfo and key
   b: container resource:  subresource method with @PathParam