Gunning for Sun

August 22, 2001, 11:00 PM —  ITworld — 

Java can be used many ways in Web applications, from the simple, old-
fashioned CGI to the complex J2EE (Java 2 Enterprise Edition)
framework. With help from the open-source community, Lutris
Technologies Inc. has developed Enhydra (http://www.enhydra.org), a
unique, pure-Java framework for enterprise Web applications.

Enhydra is a collection of open-source Java projects made commercial by
the addition of Lutris' documentation, code samples, and support. These
added benefits are worth the scant investment -- $995 per CPU, as
compared to J2EE fees of as much as $25,000 per CPU -- if you buy into
Enhydra's approach to Web applications. Lower-cost alternatives to J2EE
can only do the market good, but at the same time, it is reasonable to
question the long-term wisdom of adopting any enterprise Java framework
but J2EE.

This latest Enhydra release updates Java compatibility to Java
Developer's Kit Version 1.3, adds graphical application creation
wizards, enhances the InstantDB Java database, extends support to
wireless applications, and strengthens the Kelp development toolset.

To appreciate Enhydra 3.52's uniqueness, you should understand how Sun
Microsystems Inc. constructs Web applications. In Sun's Java servlet
model, a Web server passes HTTP requests from users to the Java servlet
responsible for the requested information. The servlet parses the
user's request, interacts with databases and back-end systems as
needed, and produces the dynamic Web page that's displayed in the
user's browser. An extension of servlets, JSP (Java Server Pages) uses
HTML and XML templates to shape the application's output.

Servlets and JSP work very well, but they have been criticized for
failing to steer developers toward creating tiered applications. In
contrast, Enhydra forces a sharp delineation between an application's
presentation and business tiers. Enhydra developers can work
independently on business logic and presentation code (in this case,
HTML), freeing each developer to focus on his or her strongest skills.
Enhydra weaves the separate tiers together at run time.

The key to Enhydra is Lutris' XMLC (XML compiler). Instead of marking
HTML and XML documents with special tags that let a presentation engine
such as JSP know where to insert data, a developer working with XMLC
creates an ordinary, static HTML or XML document that's displayable on
any browser. XMLC digests the document and creates an object model that
the Java developer uses to produce a dynamic presentation. Aside from
being easier to use than JSP and facilitating the advantageous
separation of development roles, XMLC extends its capabilities to all
HTML/XML dialects, including wireless variants such as WML (Wireless
Markup Language) and cHTML (compact HTML).

XMLC's downside is that major changes to the HTML or XML document
require it to be recompiled.

Sign up for ITworld's Daily newsletter
Follow ITworld on Twitter @IT_world

I like it!
Post a comment
The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
peer-to-peer

Esther Schindler
If the comments are ugly, the code is ugly

claird
SVG a graphics format for 21st century

pasmith
Take Chrome OS for a test spin

Sandra Henry-Stocker
Solaris Tip: Have Your Files Changed Since Installation?

sjvn
64-bits of protection?

jfruh
Android fragments vs. the iPhone monolith

mikelgan
What Gizmodo missed about the Pro WX Wireless USB disk drive

 

Where Google Chrome security fails: the password
I heard mention that the Chrome OS will have some sort of encryption available a la bitlocker. If it's possible to encrypt personal data using another password or key, then it may have potential for very secure data.... And Ubuntu has an 'encrypt home directory' option, perhaps google should follow suit.
- Dann

Join the conversation here

The Daily Tip

The Daily TipQuick, practical advice for IT pros. Made fresh daily.

Hot tips:

Want to cash in on your IT savvy? Send your tip to tips@itworld.com. If we post it, we'll send you a $25 Amazon e-gift card.

Newsletters

Subscribe to ITWORLD TODAY and receive the latest IT news and analysis.

I would like to receive offers via email from ITworld partners.
By clicking submit you agree to the terms and conditions outlined in ITworld's privacy policy.
Featured Sponsor

AISO founders envisioned a Web hosting company that was environmentally friendly. While the company employed energy-efficient innovations like solar panels, its infrastructure produced unacceptable power and cooling requirements. Find out how AISO leveraged AMD technology to overcome their challenge in this case study white paper.

In this whitepaper, Scalar explores the opportunity to change the landscape with respect to mission critical databases built around Oracle. Leveraging technologies such as Linux, high-end commodity processing power and Oracle RAC technology to architect, design, build and maintain database infrastructure that delivers maximum availability, reliability and performance at a fraction of traditional cost.

On a typical day, weather.com, the Web site for The Weather Channel in Atlanta, serves up between 15 million and 20 million page views. But in September 2004, when back-to-back hurricanes ransacked Florida, the peak traffic on one day more than tripled: over 70 million page views by more than 7 million unique visitors. Read the full success story now.

Marketplace