PNuts: scripting language for JAVA contained in the aritcle
PNuts: scripting language for JAVA
contained in the article, Techical introduction to JAVA and Jini (Swing, JDBC, PNUTS, Java Beans, EJB and Java Script)
This paper introduces a script language Pnuts that utilizes the
functionalities of Java and can be easily used from Java programs. The
language can be used to help Java programs be more flexible and simple.
2. Why Script Language ?
The Java language is a compilation-based language, that is, you have to compile source code before an execution. Although we can write flexible Java programs combining object oriented techniques and class loader, Users still need to make programs more dynamic without re-compilation. The reason for this is that programs can just choose classes and methods dynamically with a bare Java environment. With a scripting language, it would be possible to define a new sequence of object manipulations at runtime.
If so, why is there a need for a new language? Someone may claim that the script language should not be a different language. Besides, there are many simple and dynamic languages used widely; e.g. Scheme, Perl, etc. Such languages could be used to access the Java API.
But the Java language is too complex to be used as a script language, while this script language is easy and simple to use and learn. A good script language should not have too many functionalities in order to be easy to learn. Also, other dynamic languages were not designed to access the Java API. It is necessary to introduce a new syntax (language) to enable brief description for access to the Java APIs. Coupled tightly with Java, it can keep the script language simple and easy to learn.
3. Design Goal
* Simple interface to manipulate Java objects
* Can be called easily from Java programs
* Allows dynamic evaluation
* Smooth interface to AWT
* 100% Pure Java
相关推荐
Yahoo!PNUTS技术论文。关于Yahoo!的云计算平台设计实现。
关于 Kaiju 是一个受 BigTable 启发的 CP 分布式排序键值存储
文件实用程序。 它是由 java & pnuts 编写的
A Batch of PNUTS: Experiences Connecting Cloud Batch and Serving Systems (Page 1101) Adam Silberstein (Yahoo! Research) Russell Sears (Yahoo! Research) Wenchao Zhou (University of Pennsylvania) Brian ...
罗克韦尔MES平台使用Pnuts作为开发脚本, 此文档是随软件包发布的最新版API文档.
Record-level mastering 记录级别主节点 PNUTS的结构 Tablets寻址与切分 Write调用示意图 PNUTS感悟 微软之SQL数据服务 非云服务竞争者 文档存储 Couc hDB 特性 Riak MongoDB Terrastore T hruDB Key Value / Tuple ...
4 Yahoo之PNUTS 4 特点 4 PNUTS实现 4 Record-level mastering 记录级别主节点 4 PNUTS的结构 4 Tablets寻址与切分 4 Write调用示意图 4 PNUTS感悟 4 微软之SQL数据服务 4 非云服务竞争者 4 文档存储 4 CouchDB 4 ...
整个系统需要主控节点存储从节点元信息 Google Bigtable Yahoo PNUTS 非集中式数据存储 各节点无主从之分,通过相应的通信机制 相互感知,自我管理 Amazon Dynomo Facebook Cassandra Bigtable 集中式数据管理系统 ...
本文所讨论的观点源自于我在Yahoo的PNUTS(灵活通用表存储平台——PlatformforNimbleUniversalTableStorage)数据服务平台的经验,该平台从2008年开始投入使用1。截止2011年,在PNUTS上已托管了超过100个应用以支持...