• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Building object graphs of expressions written in template scripting languages

 
Alec Swan
Ranch Hand
Posts: 39
Java jQuery Spring
  • Mark post as helpful
  • send pies
  • 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: 39
Java jQuery Spring
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic