jeudi 25 juin 2015

How to use wait() in a AWS Java Web Project

I work with AWS-SDK for java eclipse ,i have an interface contains Rest methods then i create an AWS Java Web Project and a classManager implements my interface , and i have a servlet client through it i call Restmethods and i have a text areain my servlet where the response should be shown..So,when i select to update my environment elastic beanstalk i got an exception opeartion failedbut in reality the update is launched in my account elastic beanstalk , the problem that the update need at least 1 min to terminate, but i need it's result to show it into my text area..how could i program it to wait the result of updateEnvironment,noting that the implementation of my method is in my class Manager.




Aucun commentaire:

Enregistrer un commentaire