restSQL - Java持久层框架


MIT
跨平台
Java

软件简介

restSQL 是一个超轻量级的数据访问层,专为 HTTP 客户端提供,同时也是一个持久层框架,可嵌入任何 Java 应用。

restSQL 是:

  • an SQL generator with Java and HTTP APIs
  • uses a simple RESTful HTTP API with XML or JSON serialization
  • presents flat or hierarchical views of relational database tables
  • organizes access through query-able and updatable database views called SQL Resources
  • offers declarative and plugin mechanisms for implementing domain constraints and business logic
  • a JEE web application or a Java library
  • platform, JEE container and database agnostic

restSQL 不是:

  • an HTTP to JDBC/ODBC bridge that tunnels SQL over HTTP
  • an Object-Relational Mapping tool (ORM) that maps tables to objects
  • a database or a data storage engine
  • a sophisticated query or report generator
  • an OLAP-style cube or data warehousing engine

用途:

  • basic CRUD (Create-Read-Update-Delete) access to relational databases
  • a database abstraction layer
  • a lighter-weight alternative to ORM (e.g. ADO or EJB)
  • a lighter-weight alternative to WSDL/SOAP