Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does Google app engine supports JDBC?

I have heard the Google App Engine[java] do not support JDBC and Hibernate. Is it true?
If yes then how do we access the database in Google App Engine.

Also, is there any [basic] sample application which can help me understand how to perform CRUD operations in GAE.

like image 793
Rakesh Juyal Avatar asked Jun 09 '10 13:06

Rakesh Juyal


People also ask

Which version of Java does Google App Engine Support?

App Engine runs Java 11/17 apps in a container secured by gVisor on an up-to-date Ubuntu Linux distribution and its supported openjdk-11-jdk for Java 11 or openjdk-17-jdk for Java 17 runtime.

What is Google App Engine used for?

App Engine is a fully managed, serverless platform for developing and hosting web applications at scale. You can choose from several popular languages, libraries, and frameworks to develop your apps, and then let App Engine take care of provisioning servers and scaling your app instances based on demand.

Does App Engine support containers?

Features. Customizable infrastructure - App Engine flexible environment instances are Compute Engine virtual machines, which means that you can take advantage of custom libraries, use SSH for debugging, and deploy your own Docker containers.


2 Answers

JDBC and Hibernate are not supported: http://groups.google.com/group/google-appengine-java/web/will-it-play-in-app-engine

I'm currently learning app engine too. Here's some resources and projects that have been helpful:

http://code.google.com/appengine/docs/java/overview.html

http://groups.google.com/group/google-appengine-java

Springsource Tool Suite is shipped with the Google Plugin for Eclipse (GPE): http://www.springsource.com/products/sts

A non-trivial web app example (spring mvc/gwt/jsf + JDO + spring IOC, service layer, DAOs, DTOs, test suite): http://code.google.com/p/swagswap/

like image 164
chickeninabiscuit Avatar answered Sep 29 '22 06:09

chickeninabiscuit


Google uses their own type of Datastore for GAE apps. Here is there documentation for how it works: http://code.google.com/appengine/docs/java/datastore/overview.html. That page has examples of how it works.

like image 42
Poindexter Avatar answered Sep 29 '22 06:09

Poindexter