You can create a web application that stores and queries data by using the Amazon Redshift service and the Amazon Redshift Java API V2. To interact with an Amazon Redshift table, you can use a software.amazon.awssdk.services.redshiftdata.RedshiftDataClient. The application created in this AWS tutorial is a job posting web application that lets an employer, an administrator, or human resources staff alert employees or the public about a job opening within a company.
Note: Amazon Redshift is a fully managed, petabyte-scale data warehouse service in the cloud. You can start with just a few hundred gigabytes of data and scale to a petabyte or more. This enables you to use your data to acquire new insights for your business and customers. For more information, see What is Amazon Redshift?.
The data is stored in a Redshift table named blog, as shown in this illustration.
The application you create uses Spring Boot APIs to build a model, different views, and a controller. This web application also lets a user submit a new job posting that is then stored into the blog table, as shown in this illustration.
This example application lets you view the posts by choosing the Get Posts menu item and choosing one of the available buttons. For example, you can view five recent posts by choosing the Five Posts button, as shown in the following illustration.
This application also supports viewing the result set in different languages. For example, if a user wants to view the result set in Spanish, they can choose Spanish from the dropdown field and the data is translated to the given language by using Amazon Translate, as shown in this illustration.
To read this AWS tutorial, click https://github.com/scmacdon/aws-doc-sdk-examples/tree/master/javav2/usecases/creating_redshift_application.
I work on AWS Java code that helps AWS developers. Included in this role is working with AWS Services such as S3, DynamoDB, EC2, Lambda functions, and so on.
https://www.linkedin.com/in/scottmacdonald2010/
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.