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:
as suggested; use spring on tomcat expose such apis.
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:
install mysql on local ec2 server ( have tomcat running ); or on ec2 server.
you can use mysql service rds. expensive easy configure.
Comments
Post a Comment