jiql是一个在App Engine上使用的JDBC包装器,使用它可以让我们的Java程序在GAE上支持JDBC访问。
以下是管方教程,来自于http://www.jiql.org/xwiki/bin/view/Main/
jiql
is a Java
JDBC wrapper for Cloud computing databases. The database is accessed via the jiql jdbc
client. The data is actually stored in a cloud-baseddata store, such as Google's BigTable
.
The fact is Google App Engine for Java
at present only supports JDO and JPA as standard protocols for data
persistence. However many Java programmers are used to JDBC as the
preferred protocol. Applications requiring JDBC support can now turn to
jiql. jiql
is a JDBC wrapper of the lower level Google DataStore APIs thus providing a familiar way to utilize Google's BigTable.
So a Java application, using standard JDBC calls to the jiql
JDBC client, is able to store critical data in GBT. As the DataStore
sits in the cloud, you essentially have a solution for distributed
database access.
FEATURES
HIGHLIGHTS
: JDBC . SQL . REMOTE ACCESS
Run PHP
with jiql on GAE
new
Run JRuby-on-RAILS
with jiql on GAE
new
How to start
jiql
is in its early stages of Development. (We put out a new build almost daily).The present release is 0.1.44
(08/14/2009
)
. Not all features have been implemented as yet. Below are the steps to try out jiql
:
- Download jiql.jar
java database engine and driver library and place under WEB-INF/lib/
- Download jiql.jsp
JSP file and place under ./ of your java application.
-
NOTE
: The appengine-api.jar
must also be placed under WEB-INF/lib. This file comes with the GAE SDK.
- Edit jiql.jsp accordingly.
- Test jiql
with the jiql.jsp
Or test with the jdbc-guestbook application. The jdbc-guestbook application is a
JDBC based version of the Google Guestbook application.
Download jdbc-guestbook.war here
. When installed, you must first call
init.jsp. This will create the "Greeting" table. When this step is completed,
you may then browse guestbook.jsp.
For the jdbc-guestbook source code, you may download jdbc-guestbook.src.zip here
.
(NOTE for those folks without a GAE-for-JAVA account, you can download the GAE JAVA SDK
and use as a test environment)
分享到:
相关推荐
这些配置信息通常存储在Git仓库中,但也可以使用数据库存储,这就是JDBC配置发挥作用的地方。 要配置Config Server使用JDBC,我们需要以下几个步骤: 1. **添加依赖**:在`pom.xml`文件中,添加Spring Cloud ...
【标题】"Hasor-JDBC 0.0.2"是一个开源项目,它与"memvache.zip"关联,后者旨在降低在Google App Engine (GAE)上的账单成本。 【描述】"memvache.zip"是针对Google App Engine的一个解决方案,其目标是通过使用内存...
第二代数据库和在Appengine上使用Java 8进行的项目。 要使用和Java组件安装gcloud sdk。 了解项目 这是一个基于GoogleCloudPlatform的原始存储库示例的演示如何使用Spring JDBC和Spring Data的示例 要增加与App ...
* NOTE: The appengine-api.jar must also be placed under WEB-INF/lib. This file comes with the GAE SDK. * Edit jiql.jsp accordingly. * Test jiql with the jiql.jsp 发布版本: 2010年1月4日修正版下载 更新...
它使用带注释的域类作为输入生成 DAO 类。 从头开始构建 mvn clean install -DskipTests -Dmaven.javadoc.skip=true -Dmaven.test.skip=true && mvn install -PpluginTest 如需更多信息和支持,请访问 mardao wiki...
4. **配置appengine-web.xml**:这是GAE的特定配置文件,用于设置应用的运行参数,如应用ID、版本号和实例类。 5. **编写代码**:使用Spring框架进行业务逻辑和数据访问层的开发,同时注意GAE的特殊限制,如不支持...
使用启用File-Engine支持非NTFS磁盘。 制作自己的插件 用法 或在搜索栏中输入:help。 默认情况下,按Ctrl + Alt + K可以调出搜索栏。 特征 快速搜索后,测得的80W文件索引需要15-20秒。 绿色便携式软件,所有配置...
4. **数据库配置**:如果你使用JDBC操作数据库,确保数据库连接URL中包含了字符集参数,如`useUnicode=true&characterEncoding=UTF-8`。 5. **日志输出**:使用`java.util.logging.Logger`时,可以自定义`Handler`...
这篇博客“Struts2,Spring,JDO,AJAX on GAE”可能探讨了如何在Google App Engine (GAE)平台上整合这些技术来构建高效且可扩展的Web应用。 1. Struts2:Struts2是一个基于MVC(Model-View-Controller)设计模式的...
在IT行业中,数据库操作是应用程序的核心部分,而监控和优化SQL语句的执行效率是数据库管理的关键任务之一。P6Spy是一款开源的Java工具,它允许开发者捕获和记录应用程序与数据库之间的交互,特别是SQL语句的执行。...
如果想要达到如下效果:app_label 为 auth 的 Model 读写都在 auth_db 中完成,其余的 Model 写入在 primary 中完成,读取随机在 replica1 和 replica2 中完成。 Django 使用多数据库需要在 settings 中定义 ...
这部分内容介绍了如何在Google App Engine环境中使用Ehcache。 #### 四十四、Tomcat注意事项与最佳实践(Tomcat Issues and Best Practices) Tomcat是最常用的Java应用服务器之一。这部分内容介绍了在Tomcat环境中...
通过深入学习和实践这些知识点,参赛者能够具备解决实际云应用问题的能力,无论是在比赛中还是在实际工作中,都能更好地利用Java和云计算技术。这份赛题库提供的资料将涵盖以上各个领域,帮助读者全面掌握云计算技术...
- **搜索配置参数**:首先,在CDH的Hive中找到并搜索配置参数`hive.execution.engine`。 - **修改配置**:将`hive.execution.engine`设置为`spark`。这一步骤仅修改了通过JDBC方式远程连接时使用的计算引擎,即...
在Google App Engine(GAE)上整合Struts2和Spring,主要是为了克服GAE对传统Java EE功能的限制,如JDBC的使用。GAE提供了自己的数据存储服务(如Datastore),以及对HTTP请求处理的特定机制。开发者需要确保Struts2...
在IT行业中,新浪云平台(Sina App Engine,简称SAE)是一个流行的云计算服务平台,它为开发者提供了一站式的应用托管解决方案。SAE是新浪公司推出的一款基于云计算技术的PaaS(Platform as a Service)产品,旨在...
- **PaaS平台**:如Google的App Engine、Oracle的Java Cloud Service等,都基于Java构建,为开发者提供了便捷的云开发环境。 - **容器技术**:Docker容器技术广泛使用Java编写的Docker守护进程,使得Java应用部署...
在Java开发领域,特别是针对企业级应用的持久层操作中,Hibernate作为一款优秀的ORM(Object Relational Mapping)框架,被广泛应用于数据访问层。在配置Hibernate时,一个重要的参数是`hibernate.dialect`,即...
5. **云计算**:JAVA广泛应用于云计算平台,如Amazon AWS、Google App Engine等都提供了JAVA SDK。 三、JAVA编程实践 1. **设计模式**:JAVA开发中,熟练掌握单例、工厂、观察者等设计模式能提高代码质量,增强...
在给定的压缩包文件`b3log-solo-gae-0.6.6`中,虽然没有详细信息,但可以推测这可能是一个使用Google App Engine(GAE)部署的J2EE项目。GAE是一个云平台,允许开发者使用Java或其他支持的语言构建和运行Web应用。它...