Welcome on the JMMC developper Corner

This area is dedicated to:

  • point to the technical ressources that are used by the JMMC technical team.
  • list our tips, workarounds, usefull material.

XML Schema rules :

Here are several rules to help writing XML schemas :

First of all we define two different types of schemas.

  • First we define “type schemas”, XSD documents containing only type definitions.
    • For each object type(class) and value type we generate a corresponding complexType or simpleType, i.e. NOT ELEMENTS.
    • Attributes map to elements of a corresponding data type (simple or complex), collections to elements of a type corresponding to the class.
  • We next define a “document schema” containing root elements. The elements in the document schema define the valid XML documents one can write and we choose only the complex types representing an interesting document. That is, only important classes can be represented as a document. Fragments of these are not allowed.

If the data model is simple, it is possible to have a single XML schema gathering both type and document schemas. In this case, the XML schema must contain first the root elements and then the type definitions.

Complete and detailed explanations here

External ressources

VO related

SAMP Simple Application Messaging Protocol

JSAMP Java implementation of samp http://software.astrogrid.org/doc/p/samp/
SAMP at IVOA Main reference page http://www.ivoa.net/cgi-bin/twiki/bin/view/IVOA/SampInfo

TAP

To complete: DSA , badcal, oidb...

Usefull tools

NetBeans integrated development environment for Java&others
  • Code Assistance in the NetBeans IDE Java Editor:A Reference Guide
  • http://www.netbeans.org

    Tips and tricks

    Get the status of running threads for any java program

    ...if started from the command line: just get its pid and send one SIGQUIT signal :
     kill -3 <pid>
    Edit | Attach | Watch | Print version | History: r11 | r7 < r6 < r5 < r4 | Backlinks | Raw View | Raw edit | More topic actions...
    Topic revision: r5 - 2011-06-06 - GuillaumeMella
     
    • Edit
    • Attach
    This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
    Ideas, requests, problems regarding TWiki? Send feedback