Difference between revisions of "Research Notes - NexJ Training Tutorials"

From CDOT Wiki
Jump to: navigation, search
(NexJ Concepts)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 +
{{Admon/obsolete}}
 +
 
== Current Findings ==
 
== Current Findings ==
 
'''Question:''' Where should one start if one wants to get a '''conceptual understanding''' of the code base of NexJ Model Server Express?
 
'''Question:''' Where should one start if one wants to get a '''conceptual understanding''' of the code base of NexJ Model Server Express?
Line 20: Line 22:
 
* parse: the external message format is parsed to an internal NexJ message
 
* parse: the external message format is parsed to an internal NexJ message
 
** e.g. a CSV messag is parsed back to a PersonCSV object
 
** e.g. a CSV messag is parsed back to a PersonCSV object
 +
* '''related interfaces and classes in the NexJ Express Framework (i.e the code base):'''
 +
 +
=== NexJ Channels ===
 +
* HTTP, File
 +
* '''related interfaces and classes in the NexJ Express Framework (i.e the code base):'''
 +
 +
=== Object ===
 +
* p. 23
 +
* '''related interfaces and classes in the NexJ Express Framework (i.e the code base):'''
 +
 +
=== NexJ-Scheme ===
 +
* the Scheme console: used to interact with the business logic and persistence data store, on the basis of the current model configuration (p. 5)
 +
* Nexj-Scheme scripts (Integration Fundamentals)
 +
**  pp. 6, 7, 10, 12, 14, 16, 19, 21
 +
** (read an instance of User), (send & receive a message), (format & parse an XML message), (create an XML message that has a list of messages), (test the File channel), (create a new HTTP response message), (format a NexJ message object - PersonCSV to its wire format, parse the CSV format to internal format), (persist the Person and Telecom information)

Latest revision as of 21:43, 26 January 2014

Important.png
This page may be obsolete.
It contains historical information.

Current Findings

Question: Where should one start if one wants to get a conceptual understanding of the code base of NexJ Model Server Express?

One can download Introduction To NexJ Studio Express from the Open Health Tools Platform. It's useful for getting familiar with NexJ Studio Express. However, one must read NexJ Studio Fundamentals and identify the concepts as a result. Presently this document in not open sourced.

This document has useful clues for one to understand how the Persistence engine and the Integration engine are organized in the NexJ Framework (at the source code level).

  • In particular, one should understand how Class Persistence Mapping is done with the NexJ Studio Express.
  • Also one must learn the NexJ-Scheme language.

As for understanding the concepts implemented by the Integration Engine, one must read NexJ Studio - Integration Fundamentals. Presently this piece of document is not open sourced.

NexJ Concepts

NexJ Message

  • pp. 9-12, 18-21
  • tree structures
    • children: Value node, Message node
  • a list of NexJ Messages
  • format: an internal NexJ message is formatted to an external format ("wire format")
    • e.g. a PersonCSV object is formatted to a CSV message
  • parse: the external message format is parsed to an internal NexJ message
    • e.g. a CSV messag is parsed back to a PersonCSV object
  • related interfaces and classes in the NexJ Express Framework (i.e the code base):

NexJ Channels

  • HTTP, File
  • related interfaces and classes in the NexJ Express Framework (i.e the code base):

Object

  • p. 23
  • related interfaces and classes in the NexJ Express Framework (i.e the code base):

NexJ-Scheme

  • the Scheme console: used to interact with the business logic and persistence data store, on the basis of the current model configuration (p. 5)
  • Nexj-Scheme scripts (Integration Fundamentals)
    • pp. 6, 7, 10, 12, 14, 16, 19, 21
    • (read an instance of User), (send & receive a message), (format & parse an XML message), (create an XML message that has a list of messages), (test the File channel), (create a new HTTP response message), (format a NexJ message object - PersonCSV to its wire format, parse the CSV format to internal format), (persist the Person and Telecom information)