db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Monroe <Greg.Mon...@dukece.com>
Subject RE: What is Torque?
Date Thu, 11 Mar 2010 23:13:57 GMT
OK, this isn't an elevator pitch anymore... but valuable description
text.  FYI - I debated using Object-Relational mapper... but at work
our "pitches" try to avoid concepts that need a lot of explanation to
non-techies. should have considered the audience here...lol

Anyway, here's a version that tries to take in what was talked about:


Torque is an object-relational mapper designed to simplify 
using SQL relational data in Java applications across all 
the common SQL database servers.  It allows for rapid 
development, while supporting the full application life 

Torque is based on modeling your data schema in XML.  Torque 
uses this XML to generate the Java objects needed to access 
your data via it's runtime component.  In addition, Torque 
can generate the SQL needed to create the underlying DB and 
supports setting up the initial data your applications might 

This means development is faster because you concentrate on 
defining the underlying data, then quickly start using the 
Torque generated objects to work on the business logic.

It assists in the application deployment phase with its 
generated SQL scripts and initial data setup capabilities.

It helps in the maintenance phase in several ways. 
For example, the XML schemas make it easy to identify 
changes between versions.  Torque's method of defining SQL 
in the code helps identify problems with tables or columns 
that have been dropped or renamed.

Some of Torque's key features are:

- Database independence without sacrificing access to vendor
  specific enhancements. 
- Use of build system (Ant or Maven) generated objects rather 
  than reflection.
- An object based SQL statement syntax that provides DB 
  server independence, clear execution logic, compile 
  time validation, and easy debugging.
- Easily extensible, from simple subclassing of generated 
  objects to changing behavior of generated classes via 
  inheritance to custom templates that generate application
  specific code.
- Support for POJO beans, DB connection pooling, and JCS 
  data caching

DukeCE Privacy Statement:
Please be advised that this e-mail and any files transmitted with
it are confidential communication or may otherwise be privileged or
confidential and are intended solely for the individual or entity
to whom they are addressed. If you are not the intended recipient
you may not rely on the contents of this email or any attachments,
and we ask that you please not read, copy or retransmit this
communication, but reply to the sender and destroy the email, its
contents, and all copies thereof immediately. Any unauthorized
dissemination, distribution or copying of this communication is
strictly prohibited.

To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org

View raw message