restSQLJava持久层框架

联合创作 · 2023-09-19 08:22

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
浏览 1
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报
评论
图片
表情
推荐
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报