Can I host the GWT client side code in S3.

102 views
Skip to first unread message

Gourab Panda

unread,
Nov 11, 2021, 12:32:16 AM11/11/21
to google-we...@googlegroups.com
Hi,

Might be a generic use case to host the client side JS code in S3. But will appreciate, if someone can highlight how the call can be delegated to the backend server running in an EC2 for example.
I have heard something to do with headers, but don't know the complete details.

Regards
Gourab.

lofid...@gmail.com

unread,
Nov 16, 2021, 5:50:45 PM11/16/21
to GWT Users
Yes, it should be possible since at the end you only have JavaScript.

I've done this with Azure Static Web Apps Service: https://bit.ly/GWTAzureStaticsWebApps


I would say that you could use REST APIs from your EC2 server part (Spring Boot or whatever) and you could access this endpoint REST APIs from your GWT / JavaScript part.

Hope this helps,
Lofi

Frank Hossfeld

unread,
Nov 17, 2021, 12:27:44 PM11/17/21
to GWT Users
Use Spring Boot on the server side of your GWT application.
Run Spring Boot inside a Docker container and deploy it
Works fine.

I am doing this with some of my applications. It's fast, stable, scalable and does not take much money.
Reply all
Reply to author
Forward
0 new messages