Difference between revisions of "Nexjexpress/JSON Adapter"

From CDOT Wiki
Jump to: navigation, search
m (JSON Adapter)
(JSON Adapter)
Line 1: Line 1:
 
= JSON Adapter =
 
= JSON Adapter =
=== Project Goal===
+
== Project Goal==
 
Developer an adapter to expose NexJ Express Server objects using JSON
 
Developer an adapter to expose NexJ Express Server objects using JSON
  
=== Current Status===
+
== Current Status==
 
Phase 5: '''On-going...'''
 
Phase 5: '''On-going...'''
 
<br/>
 
<br/>
  
===Project Phases===
+
==Project Phases==
==== Phase 1: Design Proposal (Done) ====
+
=== Phase 1: Design Proposal (Done) ===
 
* Get requirements from NexJ
 
* Get requirements from NexJ
 
* Incorporate requirements from NexJ into Design of JSON Adapater
 
* Incorporate requirements from NexJ into Design of JSON Adapater
 
* Proposal proposal for review, make changes as by NexJ until approved
 
* Proposal proposal for review, make changes as by NexJ until approved
  
====Phase 2: Coding (Done) ====
+
===Phase 2: Coding (Done) ===
 
* JSONMarshaller
 
* JSONMarshaller
 
** Develop marshaller to transform NexJ Server Objects into JSON representation
 
** Develop marshaller to transform NexJ Server Objects into JSON representation
Line 28: Line 28:
 
** Create Server objects
 
** Create Server objects
  
====Phase 3: Code Review 1 (Done)====
+
===Phase 3: Code Review 1 (Done)===
 
* Send patch to NexJ for review
 
* Send patch to NexJ for review
  
====Phase 4: Make Changes as per Code Review 1 (Done)====
+
===Phase 4: Make Changes as per Code Review 1 (Done)===
 
* Refactor JSONSever and TextServer to inherit from GenericCharacterStreamHTTPServer
 
* Refactor JSONSever and TextServer to inherit from GenericCharacterStreamHTTPServer
 
* Optimize marshaling of nested Pair objects
 
* Optimize marshaling of nested Pair objects
 
* Rename variables and methods as per NexJ Developer's Guide
 
* Rename variables and methods as per NexJ Developer's Guide
  
====Phase 5: Code Review 2 ====
+
===Phase 5: Code Review 2 ===
 
* Send patch to NexJ for review
 
* Send patch to NexJ for review
  
===Links===
+
==Links==
 
'''JSON''' <br/>
 
'''JSON''' <br/>
 
http://www.json.org <br/>
 
http://www.json.org <br/>

Revision as of 17:13, 17 September 2010

JSON Adapter

Project Goal

Developer an adapter to expose NexJ Express Server objects using JSON

Current Status

Phase 5: On-going...

Project Phases

Phase 1: Design Proposal (Done)

  • Get requirements from NexJ
  • Incorporate requirements from NexJ into Design of JSON Adapater
  • Proposal proposal for review, make changes as by NexJ until approved

Phase 2: Coding (Done)

  • JSONMarshaller
    • Develop marshaller to transform NexJ Server Objects into JSON representation
  • JSONUnmarshaller
    • Develop an marshaller to transform JSON representation into NexJ Server Objects
  • JSON Server
    • Develop a JSON Server to expose NexJ Server objects in JSON
  • Demo application that interacts with the Server using JSON
    • Read Server Objects
    • Update Server Objects
    • Create Server objects

Phase 3: Code Review 1 (Done)

  • Send patch to NexJ for review

Phase 4: Make Changes as per Code Review 1 (Done)

  • Refactor JSONSever and TextServer to inherit from GenericCharacterStreamHTTPServer
  • Optimize marshaling of nested Pair objects
  • Rename variables and methods as per NexJ Developer's Guide

Phase 5: Code Review 2

  • Send patch to NexJ for review

Links

JSON
http://www.json.org