• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Building object graphs of expressions written in template scripting languages

 
Ranch Hand
Posts: 44
jQuery Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am working on a client-server application which allows the user to define application domain-specific expressions on the server. These expressions are then converted to a Java object tree and stored in the database in an XML format. The server then sends the expression to the client, who evaluates the expression in the context of its own domain and returns the result to the server.

I am looking for a tool which supports a template language, such as Velocity, for defining expressions and has an API that generates a Java object graph for a given expression. One such imaginary technology would be the one that converts a template language expression to JavaScript expression and then provides the API that converts the JavaScript expression to an object graph.

Does any one know about such a tool or technology?

Please let me know if you need me to further clarify the requirements.
[ April 28, 2008: Message edited by: Alec Swan ]
 
Alec Swan
Ranch Hand
Posts: 44
jQuery Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Since I haven't received any feedback I decided to simplify the question.

Does anybody know of a technology which supports a simple non-technical user-friendly template language, similar to Velocity, and has a public API to convert entered expressions to a Java object tree?

My goal is to avoid designing a proprietary language syntax and a parser for it.

Thanks.
 
Joel Salatin has signs on his property that say "Trespassers will be Impressed!" Impressive tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic