David,
having XMLC compile your HTML means that the HTML files get parsed at
compile time rather than runtime. Which makes your application faster. But a
more interesting feature (at least for me) is that XMLC checks for errors.
If they designers did not put in all of the id and other elements you are
expecting, then the XMLC compiler can detect that for you.

I like it because the designers can not mix up your code, because there is
no java in the HTML.

In our development environment (which uses make-files) the html-pages are
automatically compiled if they change, so that's no big deal. We have
recently developed a plug-in for JBuilder, which compiles the html-files for
you right out of the IDE.

have fun,
  Arno

> -----Original Message-----
> From: A mailing list for discussion about Sun Microsystem's Java Servlet
> API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of David
> Bullock
> Sent: Thursday, November 11, 1999 7:15 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Free Servlet Tool - XMLC in context
>
>
> Bill, like you I am an XMLC enthusiast.  But I find it difficult to get my
> developers to use it because of the need to regenerate and
> recompile the XMLC
> class.
>
> Do you know why they decided to require compilation, and fix the
> dependencies on
> the API of the generated class, instead of a more dynamic mechanism?
>
> (This question asked pending implementing a more dynamic mechanism for
> tag-replacement myself).
>
> Thanks,
> David.
>
>
> "William G. Thompson, Jr." wrote:
>
> > This is a great idea!
> > But there already is a better solution, XLMC from enhydra.org!
> > XMLC compiles standand html files to java class files.  This is
> a much more
> > elegant solution IMO. The HTML interface files don't need special place
> > holder tags, only standard HTML ID tags. And the complied java class
> > files implement the standard DOM from the W3C.
> >
> > Cheers,
> > Bill
> >
> > On Wed, 10 Nov 1999, Garth Fisher wrote:
> >
> > > Tired of storing HTML as Strings in you Servlet classes?
> > > Don't want to switch to JSP?
> > >
> > > PreparedHTML lets servlet programs separate HTML
> > > from Java code. It is a simple, powerful, and small (one
> > > source file).
> > >
> > > Check it out at: http://www.its.washington.edu/~garth/prep.html
> > >
> > > =================================
> > > Garth Fisher
> > > Software Engineer
> > > Intelligent Transportation Systems
> > > http://www.its.washington.edu
> > > [EMAIL PROTECTED]
> > >       o
> > >    _/[._
> > >   (_)>(_)
> > > =================================
> > >
> > >
> __________________________________________________________________
> _________
> > > To unsubscribe, send email to [EMAIL PROTECTED] and
> include in the body
> > > of the message "signoff SERVLET-INTEREST".
> > >
> > > Archives: http://archives.java.sun.com/archives/servlet-interest.html
> > > Resources:
http://java.sun.com/products/servlet/external-resources.html
> > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
> >
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

--
David Bullock
Project Manager - Strategic Applications
[EMAIL PROTECTED]

LISAcorp
http://www.lisa.com.au/

Adelaide                  Sydney
--------------------      ------------------------
38 Greenhill Rd           Level 3, 228 Pitt Street
Wayville S.A. 5034        Sydney NSW 2000

PH  +61 8 8272 1555       PH  +61 2 9283 0877
FAX +61 8 8271 1199       FAX +61 2 9283 0866
--------------------      ------------------------

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html


__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to