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.
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.
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.
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.
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/
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With