Java Tcl

Java Tcl

Infobox Software
name = Tcl/Java



caption =
developer =
latest release version = 1.4.1
latest release date = release date|2008|04|04
latest preview version =
latest preview date =
operating system = Cross-platform
platform = Java Virtual Machine
genre = Tcl Programming Language Interpreter
license = BSD license
website = http://sourceforge.net/projects/tcljava

Java Tcl, is a Java-based, open source, implementation of the Tcl scripting language. The language is still used in a number of commercial products, but it is being passed in popularity by other scripting languages like Jython (For example in WebSphere Application Server [ [http://www.redbooks.ibm.com/abstracts/sg247304.html SG24-7304-00 WebSphere Application Server V6.1: System Management and Configuration] , p. 250] )

Overview

The Tcl/Java project's goal is to make integrating the Java platform and the Tcl scripting language as easy as possible. The project actually consists of two distinct packages, called Tcl Blend and Jacl. It is important to understand what each package provides and in what situations one might choose to use Jacl or Tcl Blend.

Jacl is a self-contained implementation of a Tcl interpreter, written entirely in Java. Jacl also includes features that facilitate communication between a Java interpreter and a Tcl interpreter. Jacl is typically used to incorporate scripting functionality into an existing Java application. Jacl is the ideal solution for users that want to add Tcl scripting to a Java application, but don't want to deal with the complexities of native code that come with Tcl Blend.

Packages

The project contains two packages :
* Jacl : a self-contained implementation of a Tcl interpreter, written entirely in Java
* TclBlend : a Tcl extension that makes use of JNI to facilitate communication between a Java interpreter and a Tcl interpreter.

TclBlend : Tcl - Java communication

Tcl Blend is a Tcl extension that makes use of JNI to facilitate communication between a Java interpreter and a Tcl interpreter. Tcl Blend is typically used to load a Java interpreter into an existing Tcl process, so that functionality implemented in Java can be accessed via Tcl. One can also load Tcl Blend and Tcl into a Java process, which is a great way to add scripting functionality to an existing Java application. Because Tcl Blend is a normal Tcl extension, one can use it with other popular Tcl extensions like Tk, Expect, and Itcl.

Tcl Blend and Jacl define both a Tcl API and a Java API that make it easy to call Java code from Tcl or call Tcl code from Java. For example, one could allocate a Java object in a Tcl script and interactively invoke Java methods on the object. It is also easy to use the supplied API to evaluate a Tcl procedure from a Java method or implement Tcl procudures in Java. The flexible API and wealth of implementation options provided by the Tcl/Java project make integrating Tcl and Java easy.

ee also

* Tcl : the original Tcl scripting language
* Tcl/Java : the original Tcl scripting language

References

External links

* [http://tcljava.sourceforge.net/docs/website/index.html Sourceforge Website]
* [http://sourceforge.net/projects/tcljava/ Sourceforge Repository]
* [http://aspn.activestate.com/ASPN/Cookbook/Tcl?kwd=TclBlend Examples]
* [http://www.tcl.tk/ Tcl Developer Exchange]


Wikimedia Foundation. 2010.

Игры ⚽ Поможем решить контрольную работу

Look at other dictionaries:

  • Tcl/Java — is a project to bridge Tcl and Java. This means that you can call Tcl code from a Java program, or Java code from a Tcl program.Tcl/Java consists of two packages, Jacl and Tcl Blend.JaclJacl is a Tcl interpreter that is written in Java. This is… …   Wikipedia

  • Java Platform, Micro Edition — Java editions Java Card Micro Edition (ME) Standard Edition (SE) Enterprise Edition (EE) …   Wikipedia

  • Java Platform, Enterprise Edition — Тип Платформа программирования Разработчик Sun Microsystems …   Википедия

  • Java Management Extensions — (JMX) is a Java technology that supplies tools for managing and monitoring applications, system objects, devices (e. g. printers) and service oriented networks. Those resources are represented by objects called MBeans (for Managed Bean). In… …   Wikipedia

  • Java Development Kit — Тип Комплект разработчика приложений Разработчик Oracle Corporatio …   Википедия

  • Java Web Start — Application Manager Java Web Start (часто JavaWS)  технология компании Sun Microsystems, позволяющая запускать приложения на Java из …   Википедия

  • Java Platform — Java Platform, Enterprise Edition Java Platform, Enterprise Edition Тип Платформа программирования Разработчик Sun Microsystems …   Википедия

  • Java 2 — Java 2, или Java 2.0 дальнейшее развитие и усовершенствование спецификации исходного стандарта языка и платформы Java, на который теперь принято ссылаться как на Java 1.0. В настоящее время спецификация платформы Java 2 продолжает интенсивно… …   Википедия

  • Java Desktop System — Тип Среда рабочего стола Разработчик Sun Microsystems Операционная система Solaris Последняя версия JDS Release 3 Сайт www.sun.com/software/javadesktopsystem/ …   Википедия

  • Java Persistence API — (JPA)  API, входящий с версии Java 5 в состав платформ Java SE и Java EE, предоставляет возможность сохранять в удобном виде Java объекты в базе данных[1]. Существует несколько реализаций этого интерфейса, одна из самых популярных использует …   Википедия

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”