I'm trying to run Richfaces 3.3.3Final with Google app engine but richfaces uses javax.imageio.ImageIO restricted class.
Is there any workaround for this problem ?
This is indeed known. However, at the last JavaOne JBoss presented RichFaces in the Cloud where JBoss introduced RichFaces 4.0 with GAE archetype (for Maven2).
Related
I installed the Cloud Code Plugin for IntelliJ to deploy a Java 8 project to App Engine (Standard)
I added the Framework Support by running:
Tools > Cloud Code > App Engine > Add App Engine Support > Google App Engine Standard
Now I have to change this to App Engine Flexible but when I try to do this the same way as for App Engine Standard I get the following error:
All modules already have App Engine support, or no modules were found.
What files do I have to modify or how can I remove App Engine support and start over?
I already tried right-clicking the project and selecting Add Framework support...but the Google App Engine option isn't checked and when I select it doesn't give me any options
From my understanding of this issue is that in IntelliJ you cannot add child framework support when parent is already added. What this means is that since you have your application running under the standard environment you are unable to add in an additional environment (in this case, the app engine flexible).
https://intellij-support.jetbrains.com/hc/en-us/community/posts/115000073610-Cannot-add-child-framework-support-when-parent-is-already-added
I ran into the same error as the one stated in your situation. You can simply import the project again from your project directory and select the framework (App Engine Flexible) instead of the standard environment.
I am using Google Cloud Storage and I want to serve scaled images from it, Python 2 version of Google App Engine supported it via Images API but with Python3, they removed that API.
https://cloud.google.com/appengine/docs/standard/python3/python-differences
Cannot understand the intension behind removing such an import feature, upgrading to Python3 in Google Cloud environment sounds like a downgrade to me.
As you said, the proprietary App Engine APIs are not available in Python3.7. The main reason is because GCP is unbundling App Engine and now, you are no longer dependent on these APIs.
Currently, there are some third parties alternative solutions. In your specific case, and based on GCP documentation, I think that you can try to use Imgix or Rethumb.
Seems like Google is planning on adding it back to Python 3:
https://cloud.google.com/appengine/docs/standard/python3/services/access
To reduce runtime migration complexity, Google Cloud now supports a set of App Engine bundled services and their associated APIs on second-generation runtimes, which include Python 3, Java 11, and Go 1.12 or higher. Your app can call bundled services APIs for second-generation runtimes through language-idiomatic libraries.
I have a GWT based application deployed on GAE for Java. I'm planning to try out GWT Polymer. GAE doesn't support JDK 8 as of now.
Does GWT Polymer require JDK 8 or would it work with JDK 7?
I cannot find this information on the project page.
As things are very fluid at this time, I suggest building the sample todolist app, enhancing it with your other dependencies, and confirming it working for your configuration.
FWIW, I just performed this exercise and ran into multiple frustrations forcing me to upgrade gwt to 2.8 SNAPSHOT which then requires Java 8. I then ran into a blocker with google-gin that I've posted to the google groups.
I'm using: GWT 2.8.0 beta 1, jdk level 1.7 (for GAE ),
vaadin-gwt-polymer-elements-1.2.1.0.jar.
All works fine.
Tried
Subscribed trial for GoogleAppEngine.
1. INSTALLED GOOGLE APP ENGINE SDK
2. Downloaded the sample Java started code and deployed it. Working fine.
3. Used $appcfg.sh -A <appname> update target/appengine-try-java-1.0 to deploy
4. In this case, its a folder with all the webapp related stuffs
Question
In my case, I have a spring boot application which generates a jar file. It runs with a embedded container and I believe Google may have an alternate to deploy using Docker or some other way. But how?
There is no pointer or any details on how to run this in Google managed platform as far as I searched.
Any help or reference to documentation!! Alternates??
You can now use Google App Engine Java Flexible Environment - Java 8 Runtime:
https://cloud.google.com/appengine/docs/flexible/java/dev-java-only
It is Docker based
UPDATE:
You can now use Java 8 in App Engine Standard Environment:
Tutorial:
https://codelabs.developers.google.com/codelabs/cloud-app-engine-springboot/index.html
Example:
https://github.com/GoogleCloudPlatform/getting-started-java/tree/master/appengine-standard-java8/springboot-appengine-standard
Blog post:
https://cloudplatform.googleblog.com/2017/09/Java-8-on-App-Engine-Standard-environment-is-now-generally-available.html
Google App Engine still uses Servlet 2.5 that is below the requirements of Spring Boot (i.e. Servlet 3.0).
There is a way to workaround that, check the documentation for more details
Spring Boot requires Servlet 3.0 which GAE does not have. WorkAround is to have a "spring-boot-legacy" dependency. You can check further how to implement: https://github.com/scratches/spring-boot-sample-gae
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?