com.sun.rowset.CachedRowSetImpl is a restricted class GAE/J - google-app-engine

I'm try to use WebRowSet in GAE/J App.
javax.sql.rowset.WebRowSet and javax.sql.rowset.CachedRowSet are in JRE White list for GAE.
When i deploy my app to gae i see the error:
com.sun.rowset.CachedRowSetImpl is a restricted class. Please see the Google App Engine developer's guide for more details.
Which implementation may i use in GAE for WebRowSet ?

AFAIK, this is only available if you are using Google Cloud SQL. Did you enroll?

Related

Does Google provide support for Google APIs for vaadin if not using google app engine as a runtime..?

I am new in vaadin and developing a web project so want to know if i do't use Google App Engine as my project's run time environment so that am able to use Google all APIs such as:
*Calender API
*Contact API
*Drive API
* and also other which google provide :
Google APIs
As i get to know that GAE has lot of limitations.
Please suggest me for the structure design of an Enterprise project with
Maven+vaadin+Runtime Environment(Jboss)+Eclipse+MySQL
Google APIs does not require your application to be running on Google App Engine unless of course you’re trying to use an App Engine specific API like this.
If you’re seeking suggestions on how to structure your project using Google App Engine, you may want to do so in official App Engine Google Group as such questions can be considered too broad on stackoverflow.

Google App Engine not supported Java.io.FileOutputStream

I am very new to google App engine please give me proper solution,my problem is below
when i am trying to deploy my web application to google app engine it shows me error like Java.io.FileOutputStream restricted in google app engine
How to fix it.Is there any setting in google app angine so that this class is supportable without changing java code,
If not what is the alternative way for this problem. Below is my error code.
Uncaught exception from servlet
java.lang.NoClassDefFoundError: java.io.FileOutputStream is a restricted class.
Please see the Google App Engine developer's guide for more details.
On the Google App Engine lots of classes are simply not available or give you an SecurityException. You are simply not allowed to read or write files on GAE.

Are there any official plans to support Dart on Google App Engine?

Googling the web I haven't found anything that says something about whether Dart should eventually become supported by the Google App Engine hosting platform.
Google is saying that Dart should also be considered a language for developing the server part for a web application.
Does anyone know more about it?
An issue has been opened on Google Code for App Engine. I suggest you to stars it.
http://code.google.com/p/googleappengine/issues/detail?id=6092
It is now available for managed VMs (still beta)
See
https://www.dartlang.org/cloud/
https://pub.dartlang.org/packages/appengine
https://pub.dartlang.org/packages/gcloud
https://github.com/dart-lang/appengine_samples
for more details

Salesforce's Database.com and Google App Engine via JPA

Currently i try to connect (via JPA/Datanucleus) with an application, hosted by Google App Engine, to the database service of database.com (Salesforce)
After many hours of reading and trying, i could not find any solution.
So, is it even possible??
Some Information....
Database.com provides JPA: http://forcedotcom.github.com/java-sdk/jpa-provider, but i could not found any sdk on this side, but i found a jar-file hosted by grepcode http://grepcode.com/snapshot/repo1.maven.org/maven2/com.force.sdk/force-jpa/22.0.7-BETA/ - Possibly there is currently no official release ...
The problem is that this SDK from Salesforce needs datanucleus 2.0, but Google App Engine includes only datanucleus 1.1.5. So i try to update theses libaries and found this.... code.google.com/p/datanucleus-appengine/ . I tried a few hours to replace the old libaries and to use the newer, but unsuccessfully. The error was that eclipse could not find some libaries, because the newer libaries, provided by the side above, have different package structure -
I am thankful for any help...
Kotake
The official release of the JPA provider is available on Maven Central:
http://search.maven.org/remotecontent?filepath=com/force/sdk/force-jpa/22.0.7-BETA/force-jpa-22.0.7-BETA.jar
The external connection restriction won't be a limiting factor because the JPA adapter connects to Database.com over https using a SOAP API.
I can't speak to the challenges around getting DN 2.0 running on GAE. Perhaps GAE support can help with that?
As stated here in the App Engine docs, you cannot make direct connections to external servers from GAE (except over http or https using the app engine specific url APIs). You will need to find some other way to get data out of your remote database.
This link describes how to solve your problem:
How to use Force.com Database SDK on Google APP Engine
(He has updated the Saleforce SDK source code to allow it to work without problem on GAE.)

Does Google uses AppEngine for its own products?

I've been wondering: does Google uses AppEngine for its own products?
Yes.
Google's app engine is a consumer-facing front-end for the same server resources that google uses internally.
None of the major world-facing google products DIRECTLY use app engine through the API, but many internal tools built by googlers for googlers do use it, including all the limitations that are placed on the public.
​Run corporate applications on Google App Engine? Yes [they] do.

Resources