Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Announcements

Tip: Looking for answers? Try searching our database.

[ANN] jxp template engine 1.0.0-RC released

thlee   22 Oct 2004 15:56 GMTPage rating:


URL: http://jxp.sf.net

Jxp (Java scripted page) is a script-processor/template-engine that
can execute template files containing text + java code. It contains a
parser to parse the script file into an abstract syntax tree and a
tree processor (JxpProcessor) that will process the syntax tree to
execute the code using reflection API to produce output. Some of the
main features of Jxp include:

   * Java as template language. Why learn another one? ;)
   * support common java language 1.4 constructs (1.5 syntax support
pending)
   * practical template sources management framework
   * support caching of parsed syntax tree to eliminate reparse of
template
   * a servlet implementation to enable web-scripting
   * extensible processing context for defining built-in function on
the scripts

Frequently Asked Questions

1. What is jxp
  Jxp template engine processes jxp template which contains some text
and java code to produce result
2. What can I use jxp for?
  You can use jxp for several things:
  - as a template engine for dynamic text generation.
  - as a script language to allow scripting inside your application.
  - as a web-script language like jsp execpt that it's much simpler
3. Why should I use jxp?
  You should use jxp if you think:
  - learning another language like velocity, smarty, groovy ... for
doing template in your java program doesn't make sense to you
  - using xml as a scripting language (and then create the entire
expression language that mimic java) just doesn't make sense to you
  - you really like java and want to do everything the java way :)
4. What is the difference between jxp and jsp?
  Jxp is intepreted (no compilation involved) while jsp is compile.
Jsp is tied directly with servlet framework while jxp can be used in
anyway you like. There is no taglib support in jxp, since there is
better way to implement MVC (see Swingweb)
5. Will jxp support Java 1.5 syntax?
  Jxp 2.0 is under development and will support 1.5 syntax


Rate this page
Poor Excellent    

Comments

No comments at this time. Why not be the first?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Post new comment
Rate this page



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.