JFormula 2.9 - Math expression API
JFormula is a Java library for evaluating various expressions (boolean, math, if/then/else...).
A lot of companies chose JFormula like EADS Space Transportation.
Tutorial Details:
Main features :
Decimal, string, boolean operators (or, and, not, xor...)
Unicode
Boolean expression support : (AC), (A or B) and not ( C equals D )
String expression support : "abc" != "cba"
IF THEN ELSE expression
Short expression format : 2x+3y
Variable : A=(cos(PI + x )*2) + [y-x]^2
Multiple lines expression : A = 1 B = A + 1 ...
High precision mode
Functions with decimal, boolean or string arguments
Evaluation tree produced by a pluggable parsing system
Evaluation optimization for symbol value changes
Standard library with 24 mathematical functions
Delegate for resolving unknown functions or symbols
Extend or add a new library dynamically
Share multiple formula context
Override any functions from the current library by your one
Support for multithreaded computing
Many samples (library extension, graphes) for API interesting parts
JDK 1.1 compliant (tested on JDK1.1.8 and JDK1.4.2)
Read
Tutorial at: Click here to view the tutorial
Rate Tutorial: JFormula 2.9 - Math expression API
View Tutorial: JFormula 2.9 - Math expression API
Related
Tutorials:
Script JavaBeans with the Bean
Scripting Framework - JavaWorld March 2000
Script JavaBeans with the Bean
Scripting Framework - JavaWorld March 2000 |
XML document
processing in Java using XPath and XSLT - JavaWorld September 2000
XML document
processing in Java using XPath and XSLT - JavaWorld September 2000 |
Design for
performance, Part 1: Interfaces
matter - JavaWorld January
2001
Design for
performance, Part 1: Interfaces
matter - JavaWorld January
2001 |
Combine the power
of XPath and JSP
tag libraries -
JavaWorld January
2001
Combine the power
of XPath and JSP
tag libraries -
JavaWorld January
2001 |
Jato: The new kid on the open source block, Part 3 - JavaWorld May
2001
Jato: The new kid on the open source block, Part 3 - JavaWorld May
2001 |
Matchmaking with
regular expressions - JavaWorld July
2001
Matchmaking with
regular expressions - JavaWorld July
2001 |
J2SE 1.4
premieres Java's assertion
capabilities, Part
1
J2SE 1.4
premieres Java's assertion
capabilities, Part
1 |
Build an interpreter in Java -- Implement the
execution engine (JavaWorld / July 1997 / by Chuck McManis)
Build an interpreter in Java -- Implement the
execution engine (JavaWorld / July 1997 / by Chuck McManis) |
Isolate server includes' runtime context
Isolate server includes' runtime context |
Good, but
obsolete
Good, but
obsolete |
PGP Java API 2.0
PGP Java API 2.0 |
Second-generation aspect-oriented
programming
Second-generation aspect-oriented
programming |
Janino -- an Embedded Java Compiler
What is Janino?
Janino is a compiler that reads a JavaTM expression, block, class body, source file or a set of source files, and generates JavaTM bytecode that is loaded and executed directly. Janino is not intended to be a development tool, but an embe |
Drools
Drools is an augmented implementation of Forgy's Rete algorithm tailored for the Java language. Adapting Rete to an object-oriented interface allows for more natural expression of business rules with regards to business objects. |
JFindReplace
JFindReplace is a "find and replace" swing component working with various options (regulation expression, incremental mode...) and standard text components like JTextArea, JTextPane, JEditorPane.... |
Chat Transcript: JSP 2.1 Technology and JSF 1.2 Technology
The next release of JavaServer Pages (JSP) technology, JSP 2.1, and the next release of JavaServer Faces (JSF) technology, JSF 1.2, are designed to improve the alignment of these two technologies in the area of expression language, and to enhance their ea |
Parsing an XML Document with XPath
The getter methods in the org.w3c.dom package API are commonly used to parse an XML document. But J2SE 5.0 also provides the javax.xml.xpath package to parse an XML document with the XML Path Language (XPath) .
|
Janino -- an Embedded JavaTM Compiler
Janino is a compiler that reads a JavaTM expression, block, class body, source file or a set of source files, and generates JavaTM bytecode that is loaded and executed directly. Janino is not intended to be a development tool, but an embedded compiler for |
JSP date example
JSP date example
JSP Date Example
Till now you learned about the JSP syntax, now I will show you how to create a simple dynamic JSP page that prints the current date and time. So the following code accomplish this:
<%@page contentType="text/html" |
Urchin RSS Aggregator
Urchin is a Web based, customisable, RSS aggregator and filter. It\'s primary purpose is to allow the generation of new RSS feeds by running queries against the collection of items in the Urchin database. |
|
|
|