Changes

Jump to: navigation, search

NexJ Express

629 bytes added, 08:50, 9 July 2010
Goal
=== Goal===
Add ability to access NexJ Server objects as JSON via a RESTful web service
'''current implementation'''
<blockquote><pre>
<?xml version="1.0" encoding="utf-8"?>
<_Collection xmlns="http://www.nexj.com/xml" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns="http://www.nexj.com/xml">
<item xi:type="Person">
<_version>0</_version>
</_Collection>
</pre></blockquote>
'''JSON implementation'''<codeblockquote><pre>{ "_Collection": { "item": { "_keys": ["primaryTelcom", "primaryLanguage", "initials"], "type": "Person", "locking": 0, "_oid": "104C083E8A4E8A4AD2BAF3011B6A393C97", "_version": 0, "_values": [{ "nil": true }, { "nil": true }, { "nil": true }], "firstName": "Nat", "company": { "_oid": "10209394A0D92641BC9E0FCF36DDAD1C23", "_version": 0 }, "lastName": "Cole" }, }}</pre></codeblockquote>
===Plan===
1
edit

Navigation menu