Seppia Applications On SourceForge

downloads

E4X - Currency Convertor

A tiny Swing GUI application to compare currencies. Currencies are extracted from XML available at http://www.webservicex.net 
This Seppia Application was designed to show how to use E4X (native XML scripting).
It boils down that to extract the currencies from the available xml file takes less than 10 lines of code

...
...

var message = new XML(string);
var wsdl = new Namespace("http://schemas.xmlsoap.org/wsdl/");
var s = new Namespace("http://www.w3.org/2001/XMLSchema");
var currencies = message.wsdl::types.s::schema..s::enumeration
for (var i=0;i<currencies.length();i++) 
{
   java.lang.System.out.println(currencies[i].@value);
}
...
...

click here to see the xml

Text Search Engine

This is a cool command line tool for text indexing and searching built on top of Jakarta Lucene
Let's see it in action:
Suppose in the folder c:\springsteen-lyrics\ there is a text file for each song by Bruce Springsteen, something like this:

c:\springsteen-lyrics\57 channels (and nothin' on) - human_touch_1992.txt
c:\springsteen-lyrics\across the border - ghost_of_tom_joad_1995.txt
c:\springsteen-lyrics\adam raised a cain - darkness_on_the_edge_of_town_1978.txt
c:\springsteen-lyrics\ain't got you - tunnel_of_love_1988.txt
c:\springsteen-lyrics\all or nothin' at all - human_touch_1992.txt
...
...
c:\springsteen-lyrics\youngstown - ghost_of_tom_joad_1995.rxt

The format of the name of the file is [title]-[album]_[year].txt 
So this is what we might see:

java -cp . StartUp.class

Lucene Command Line Tool
Type 'help' for more information.
>create springsteen
>add c:\springsteen-lyrics
adding 57 channels (and nothin' on) - human_touch_1992.txt
adding across the border - ghost_of_tom_joad_1995.txt
...
>
>search born 
c:\springsteen-lyrics\born in the usa - born in the usa_1984.txt Score:0.58
c:\springsteen-lyrics\born to run - born to run_1995.txt Score:0.28
c:\springsteen-lyrics\mary queen of arkansas - greetings_1972 Score:0.25
...

Tetris

The classic Tetris Game is now brought into the world of Seppia. It serves well to demonstrate some features of the Seppia Technology: 
See for yourself how easy it is to change the graphics by editing the main javascript.

 

Logger

Probably the most unexciting of the various Seppia Applications, yet it shows how to embed log4j  into any Seppia Application.  Its module "org.seppia.log4j" is just ready for reuse.

GBShaw

A spell checker for PDF files. The steps that lead to its creation are described in the document "How to build a Seppia Application from Scratch"

Seppia Explorer

A Graphical Seppia Application to introspect any other seppia application. The simplest IDE to work with any Seppia Application.

 

 

Link Vision

Link-Vision is a simple GUI application to provide a chart about the domains extension distribution of outlinks from any HTML page. Users enter any URL in a textfield while Link-Vision retrieves the web page, finds the links in the HTML tags, and provides a chart of their distribution.
Link-Vision featured in an article published on onjava