JVM « Language « Java Articles

Java Articles
1. Class Definition
2. Data
3. Development
4. GUI
5. J2EE
6. J2ME
7. JavaBeans
8. Language
9. Microsoft Collabration
10. Network
11. Swing
12. System Resource
13. XML
Microsoft Office Word 2007 Tutorial
Java
Java Tutorial
Java Source Code / Java Documentation
Java Open Source
Jar File Download
Java Products
Java by API
C# / C Sharp
C# / CSharp Tutorial
ASP.Net
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
PHP
Python
SQL Server / T-SQL
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Java Articles » Language » JVM 
1. Learn to speak Jamaican
Author:James Jianbo Huang
URL:http://www.javaworld.com/javaworld/jw-05-2004/jw-0503-jamaica.html
Summary: Jamaica, the JVM Macro Assembler, is an easy-to-use assembly language for JVM bytecode programming. It uses Java syntax to define a JVM class, and, in method bodies, it takes bytecode instructions and Jamaica's built-in macros. All of Jamaica's bytecode instructions use mnemonics and symbolic names for variables, parameters, data fields, constants, and labels. Jamaica macros make JVM assembly programs shorter and easier to read. Internally, Jamaica uses a Java API, JavaClassCreator, to create Java classes. This API is much more abstract than low-level APIs such as ASM and the Byte Code Engineering Library (BCEL). It closely mimics the Jamaica language, allows users to define a Java class with the same flow, and supports all the Jamaica instructions and macros. The JavaClassCreator API currently supports implementations atop the ASM and BCEL. Creating JVM classes at bytecode level is risky and error-prone. Jamaica allows you to quickly experiment dynamically with creating Java classes; once complete, you can mechanically convert the Jamaica source code into JavaClassCreator API calls. This article introduces you to the convenience of the Jamaica language. (3,800 words; May 3, 2004)


w___w_w__.___j_av__a___2___s.___c__om_ | Contact Us
Copyright 2003 - 08 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.