Software Reality
Programming with
a dose of satire.

Site Map Search


Agile Development
 
Extreme Programming
 
Code Generation


Articles
Lifecycle
Design
Programming
Soapbox
Reviews
Cthulhu

Java Swing
Swing's greatest threat isn't SWT, it's Flash
Swing Survival Guide


 
Check out our ageing Reviews Section


Use Case Driven
Use Case Driven Object Modeling with UML: Theory and Practice
Get from use cases to working, maintainable source code. Examples use Spring Framework, JUnit and Enterprise Architect

Agile UML
Agile Development with ICONIX Process
A practical subset of agile development techniques, illustrated by example

Get Controversial!
Extreme Programming Refactored
Extreme Programming with a dose of satire
Available now:



Programming

Swinglets Web Framework Let Loose

(Press Release, March 15 2004)

Hot on the heels of the Verge web framework going open-source, Javelin Software's innovative Swinglets framework is now available under the Apache license (i.e. FREE, full source code available etc).

Swinglets takes a component-based approach to web development - and predates Sun's own Java Server Faces by several years.

As the name suggests, Swinglets is based around Swing; so Swinglets would be well-suited if you have developed a "thick client" application using Swing, and want to migrate it to a servlet or JSP-based web app without having to rewrite large amounts of legacy code.

For example, Swinglets uses the Swing data models (TreeModel, TableModel etc) and event listener approach. This allows you to create server-side event listeners for your forms and components, resulting in form handler code that is largely identical to your Swing code.

The GUI components themselves, by necessity, don't reuse the actual Swing components. Instead, Swinglets consists of a set of server-side components that are semantically very similar to the Swing component set. For example, it offers SLabel, STree, STable and so forth; and Swing-like layout managers (although for JSP, you're more likely to use the JSP page itself for defining the layout, and then place the Swinglet components using JSP scriptlets).

As with Swing, components can also be nested; Swinglets handles the generation of HTML, so your code is always at the higher component level (as it should be!). The HTML generated by Swinglets renders just fine in both Internet Explorer and Firefox.

Because the data models are the same, this code can also be re-used. Of course, you might still need to revisit the code to optimise it for multi-user access and so forth, but for Swing-to-web migration projects, Swinglets gives you a flying start in the right direction.

 

Download Swinglets

Check out the "AmazingServlet" demo on-line

 

<< Back to Programming

<< Back to the Front Page

 

All trademarks and copyrights on this page are owned by their respective owners.
Stories and articles are owned by the original author.
All the rest Copyright © 1998-2008 Matt Stephens. ALL RIGHTS RESERVED.