How to deploy java spring restful service on AWS based on tomcat server with mysql database? -


i have restful spring web service running on tomcat server , have mysql database on backend. deployed war file of service using aws elastic beanstalk free account yet unable setup mysql database. can guide me on matter ? secondly, our application has android side code call rest api there other way instead of setting amazon web services testing purposes ?

you going right way; android should call rest apis. these apis can implemented in following ways:

  1. as suggested; use spring on tomcat expose such apis.

  2. use api gateway exposed aws. api gateway can call lambda expressions in backend can written in java/python etc.

i suggest go ahead 1 u aware of spring/tomcat etc. , companies use only.

for mysql database have following options:

  1. install mysql on local ec2 server ( have tomcat running ); or on ec2 server.

  2. you can use mysql service rds. expensive easy configure.


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -