Janino

Janino is a compiler that reads a Java expression, block, or source file, and generates Java bytecode that is loaded and executed directly. It is not intended to be a development tool, but an embedded compiler for run-time compilation purposes, such as expression evaluators or "server pages" engines like JSP. Properties The major design goal was to keep the compiler small and simple, while partially sacrificing completeness. I don't like the idea of carrying around huge libraries for simple applications. See Parser for the list of implemented and missing language features. When do you need an efficient expression evaluator? Say you build an e-commerce system, which computes the shipping cost for the items that the user put into his/her shopping cart. Because you don't know the merchant's shipping cost model at implementation time, you could implement a set of shipping cost models that come to mind (flat charge, by weight, by number of items, ...) and select one of those at run-time. In practice, you will most certainly find that the shipping cost models you implemented will rarely match what the merchant wants, so you must add custom models, which are merchant-specific. If the merchant's model changes later, you must change your code, re-compile and re-distribute your software. Because this is so unflexible, the shipping cost expression should be specified at run-time, not at compile-time. This implies that the expression must be scanned, parsed and evaluated at run-time, which is why you need an expression evaluator. A simple expression evaluator would parse an expression and create a "syntax tree". The expression "a + b * c", for example, would compile into a "Sum" object who's first operand is parameter "a" and who's second operand is a "Product" object who's operands are parameters "b" and "c". Such a syntax tree can evaluated relatively quickly. However, the run-time performance is about a factor of 100 worse than that of native Java code. Janino is licensed as freeware, full size of the download is 0.103 MB. You can download a free copy of Janino by following download link at Free Downloads section of this page. Janino is developed or distributed by Arno Unkrig and is listed under programming java compiler scripting.

Software Screen Shot

An embedded Java compiler that compiles expressions or scripts on-the-fly.

Related Software

java bytecode compilation purposes e commerce system time compilation implementation time syntax tree custom models model changes language features design goal development tool run time source file shipping cost completeness jsp expression evaluator shopping cart libraries

Free Software Download

 Download Link: Download Now!
 Publisher: Arno Unkrig
 Cost: Freeware
 License Type: Freeware
 File Size: 0.103 MB
 Release Date: 11/9/2002
 Platforms: Win95, Win98, WinME, WinNT 3.x, WinNT 4.x, Windows 2000, XP, Unix, Linux, Mac PPC
 Keywords: compilation bytecode expression script scripting machine evaluation jsp run-time jvm compiler embedded server java pages virtual
 

Review and Awards

 

Put it on your website!

 

Janino Software Downloads

Electrochemical Cells Pro - Design batteries by drag-and-drop. Customize cells and conditions.
1st TurboRun Internet - Too many favorites? Not a problem anymore! Open any favorite web site instantly!
Invoicer Deluxe - Create/Print Invoices and Statements,Save Customers, Save Items,Reprint Invoices
CellNet 360 Rotating Banner Tool - Create impressive 360 degree rotating banners, panoramas and screen savers
MidConverter - MidConverter: convert MIDI to WAV, MP3, WMA and OGG easily.
Anti Tracks - Online Privacy and Disk Cleanup tool
AFreeRipper - Extract and save audio tracks from a CD to WAV or MP3 files
AutoCAD to Excel - TableBuilder - Export AutoCAD table and the table drawn with lines and text to Excel
WebScript Encoder - Encoding HTML source code, Protect Web page from unwanted copying!
PhotoCool - Print photos the way you want and make your photos into cool memories.
Genie Mail Backup - Genie Mail Backup is an easy to use yet powerful software
AutoPlay Express - Create great multimedia-rich autoplay menus without programming within minutes!
AstroFleas - You are fast enough? Find out your reaction...Find out your speed...
The Manor - Visual chat client for The Manor virtual community
Web Log Monitor - Free Web log analyzer, monitor for SEO, includes C++ source code
Imagicon - Convert multiple images from BMP, JPG or PNG into BMP, JPG, PNG and ICO formats.
NutriGenie Mother of All Diets - Award-winning diet software with automatic menu generator.
Aspose.Words for Java - Aspose.Words is a Java component to read, write and modify a Word document.
Batch Image Converter 3Plus - Batch image convertion and resizing of thousands of BMP, GIF, PNG, JPG, TIFF
CDView - Picture browser, viewer and organizer with special features for CD-ROM and DVD
Address:
HTML Link:

Copyright © 2006 - 2012 LastDownload Software