MINERVA provides three ways to use Java methods and objects....
Move to
Next Prev
Up Top
Zoom to
High Level
Reflection
static
See also
Invocation
Predicates
Directives
Arithmetic
Functions
Objects
Error Messages
File Names
main
Packages
Debugger
Internationalization
Gui Programming
MINERVA to Java Interface
Java to MINERVA Interface
Restrictions
IF Computer > MINERVA > Manual > Reference > MINERVA to Java Interface

MINERVA to Java Interface

MINERVA provides three ways to use Java methods and objects.

  • Metagen: high level generator to add all methods of a given class. This is the most convenient method and highly recommended for most purposes. Based on reflection. Generates names automatically from Java counterparts, thus makes it easy to use existing Java documentation for complete libraries.

    Used in most cases that involve Java libraries, e.g. programs in ExamplePrograms/Extensions.

    Implemented in the minerva program metagen.

  • Reflection: allows fine-grained access via reflection, independent naming of Prolog and Java entities, programmer controlled timing of class retrieval and on-the-fly interface generation

    Implemented as built-in system library.

  • Static: extremely flexible mechanism to beforehand link Java libraries with MINERVA.

    Used for example for the interface with the JAVA AWT graphical user interface library.

    Implemented with the command minervax.

All three mechnisms

  • can use any Java object as opaque Prolog data type
  • allow to map Java method names to MINERVA predicate names
  • automatically convert between corresponding MINERVA and Java data types
  • can be used together as needed

read on...
High Level
Reflection
A mechanism to extend MINERVA on-the-fly with functionality given in Java classes....
static
MINERVA cooperates with program components written in Java....
MINERVA
ifcomputer logo
f
Expert Services on the Web
Language
English
Japanese
Server
USA
Japan
Site Access
Local Index
Local Contents
Site Contents
Site Index
Printer Friendly
For imode
For PDA
Search
document: http://www.ifcomputer.co.jp/MINERVA/Manual/Reference/MinervaToJavaInterface/home_en.html
published 2008/11/17 update 2002/3/20 (c) 1996-2006 IF Computer Japan
IF Computer 5-28-2 Sendagi, Bunkyo-ku Tel +81-3-5814-3352 start (AT) ifcomputer.com
Customer Support Tokyo 113-0022 Japan   http://www.ifcomputer.com
scroll to top managed with ubiCMS