Google App Engine tutorial questions - java

I am interested in importing Google contacts into my web-application.
I have gone through some of the Google App Engine tutorials on youtube and I have the following questions.
http://www.youtube.com/watch?v=tVIIgcIqoPw
(the above tutorial, my question are applicable to any google api)
In the tutorial they are using "Google plugin for eclipse" to build and deploy the application on to the App Engine.
I know I can deploy it on the local machine (for development purpose), but can I use Tomcat for deploying this.
When I use my local machine for development, how to configure OAuth2 redirect URL. The reason I am confused with this is because the application will deployed on the local machine. Will it mean I cannot use OAuth2 redirect URL will developing?
Your help will be greatly appreciated...

You are mixing things up and reading unrelated tutorials. Gae tutorials are about gae not a random deployment to something else like tomcat.
Look at the contacts api directly. There are also many tutorials on how to do oauth for a client app.

Related

What is the starting point for implementing MSAL into Java Web App?

I currently have a Java web application that needs to have the MSAL implemented to sign in users (b2b).
I am confused on where to even begin after reading the documentation, can someone provide guidance please?
You can refer to the official documentation to get familiar with the steps such as app registrations.
Document address: Tutorial: Secure a Java web app using the Spring Boot Starter for Azure Active Directory
You want use msal(b2b), you can refer to this source code and read readme file.
Add Azure Active Directory B2B collaboration users in the Azure portal
You can also search for related keywords in youtube, for example: spring msal. Go find the right tutorial.

Actions On Google Deployment using webhook

I am using Java Client Library to use google Dialogflow. My questions is what happens when we use "appEnginedeploy" using gradle? Where is the code stored and more importantly how the implemented database and other files of code stored and accessed by our agent?
Thanks!
appEngineDeploy is setup to deploy the code to App Engine, a computing platform on Google Cloud. Code and associated project files are stored as they are in your project.
It's not entirely a VM, so you shouldn't necessarily think of App Engine as locating filepaths. If the project can make the links locally, then it should behave the same way in App Engine.
With regards to databases, it would depend if you're using an embedded database or using a hosted solution through another Google Cloud service. Presumably you'd use the database APIs for a Cloud service as shown in the documentation.

How can I put a spring application on website?

I have basic question. I have some application for example this app use spring boot. When I start this app I can use it in my browser under:
http://localhost:8080/myApp
Lets say that I have bought a domain name:
www.myApp.pl
What shall be done to deploy my app on this server?
You can deploy your Spring Boot application on Heroku platform.
The following document is useful for the deploying stages : https://devcenter.heroku.com/articles/deploying-spring-boot-apps-to-heroku
Then you can follow these steps to customize domain name : https://devcenter.heroku.com/articles/custom-domains
Easy way to publish an Spring Boot app on internet is using AWS Elastik Beanstalk
This youtube video will guide you on that https://www.youtube.com/watch?v=oBZXxWY0d04
Then AWS has a service named Route53 that will help you to connect that server with your domain.
Good Luck
I found a great video on how to make your application on Internet from any device. https://www.youtube.com/watch?v=wFjYzhkEBys
Basically you can configure port-forwarding in your router settings and there you go! I was so excited to find this solution, because all you need is your internet provider and technical capacity

How to implement GCM in Google AppEngine?

I'm a PHP Developer and Web Designer. In my work a partner asked me if I could set up a Google Cloud Messaging server.
I read the documentation but couldn't find a clear tutorial to set up this server.
I got no knowleadge about Java so it makes my job harder. I could "compile" a war file using ant as GCM Demo Tutorial says. But I can't deploy it to my AppEngine server to try it out (It's my first time using AppEngine too).
Could you give me some steps to create my own GCM server?
Sorry about my bad english.
Thanks!
A easy way to import the gcm-server-demo to eclipse:
①Download a “Eclipse IDE for Java EE Developers”,and create a dynimic web project.
②Copy the ‘src’ and ‘webcontent’ from the gcm-server-demo to cover the web project.
③Add a server like tomcat or jetty to run the project.
And the registration id is sent by the Android application with a 'Post' request.
You can handle it with servlet or PHP

Custom Domain for Google AppEngine Apps

I have been fooling around with Google App engine for few days, the question I wanted to ask was,
If i want to deploy the web app to custom domain does the server need to be hosted on Windows Server???
No, you do not need a Windows server. You just need to sign-up for Google Apps, then add the application to the domain. If this is all you are using Google Apps for, then the free version will be fine.
I think you might have some misunderstandings about App Engine. With App Engine, your applications run on Google's servers, not yours.
Also, the I believe servers are Linux, not Windows.
If you are wanting to run your own servers 'using' App Engine Java check out AppScale.

Categories