docs.intersystems.com
MultiValue Quick Start Tutorial
Generating Java Projections
[Home] [Back] [Next]
InterSystems: The power behind what matters   
Search:    

Here are two different commands for generating Java projections:

  1. To generate a Java projection for a single Caché class, enter the following at the Terminal MultiValue prompt:
    MyAccount: ;"%SYSTEM.OBJ"->ExportJava(<Class>,<Directory>)            
    
    <Class> is the name of the Caché class. <Directory> is the name of the directory where Caché places the projection.
  2. To generate Java projections for an entire package of Caché classes, enter the following at the Terminal MultiValue prompt:
    MyAccount: ;"%SYSTEM.OBJ"->ExportJavaPackage(<Package>,<Directory>)    
    
    <Package> is the name of the package of Caché classes. <Directory> is the name of the directory where Caché places the projections.
Note:
You can also add a projection definition to a Caché class. This causes Caché to generate a Java projection each time it compiles the class.


Send us comments on this page
Copyright © 1997-2019 InterSystems Corporation, Cambridge, MA