Pom.xml is to specify the dependencies and the required credentials to get 
connected to your Cloud SQL instance, and appengine-web.xml 
<https://cloud.google.com/appengine/docs/standard/java/config/appref> is 
applied in the App Engine side to specify the app's configuration (in App 
Engine side) in case you want to have an App Engine application. The link 
<https://cloud.google.com/appengine/docs/standard/java/cloud-sql/using-cloud-sql-mysql#top_of_page>
 
you have provided shows the steps on how to get connected to the SQL 
instance  from App Engine standard. Using the Cloud Endpoints, you expose 
your code/SQL instance to whoever you would like to get accesses to the 
endpoints and you can simply send your request to the SQL instance through 
endpoints. 

I see that you have created a duplicate thread 
<https://groups.google.com/forum/#!topic/google-appengine/E7WZMPSSMF0> 
about this question. In order to avoid duplicating efforts I will let you 
work with that. 



On Tuesday, March 27, 2018 at 2:50:34 AM UTC-4, Guy Dviri wrote:
>
> Thanks Katayoon , I hope you can clear something to me.
>>
>       Client code ->   Endpoints code -> { Cloud SQL Instance ,does the  ( 
> user ,pass ) need to hold in the client code attach somehow with the 
> webAPI  or they store in the server side? )
>
>
> what confuses me is the appengine-web.xml and the poem.xml both seems to 
> hold duplicate 
> <https://cloud.google.com/appengine/docs/standard/java/cloud-sql/using-cloud-sql-mysql>values
>  
> of my SQL ( user & pass ). 
> in the first gen SQL i hold the ( pass,user ) in the DriverManager on the 
> server side , so I puzzled what the DriverManager role in the 2gen SQL 
> implement scenario, and where I need to input the SQL ( user ,pass) values?.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/90b0382c-09d9-450d-9cf9-b9cd5198a415%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • [google-appengin... Guy Dviri
    • [google-app... 'Katayoon (Cloud Platform Support)' via Google App Engine
      • [google... Guy Dviri
        • [go... 'Katayoon (Cloud Platform Support)' via Google App Engine
          • ... Guy Dviri
            • ... 'Katayoon (Cloud Platform Support)' via Google App Engine

Reply via email to