Posts

Creating AWS video analyzer applications using the AWS SDK for Java

Image
  You can create a Java web application that analyzes videos for label detection by using the Java SDK for Java version 2. The application created in this AWS tutorial lets you upload a video (MP4 file) to an Amazon Simple Storage Service (Amazon S3) bucket. Then the application uses the Amazon Rekognition service to analyze the video. The results are used to populate a data model and then a report is generated and emailed to a specific user by using the Amazon Simple Email Service (SES). The following illustration shows a report that is generated after the application completes analyzing the video. In this tutorial, you create a Spring Boot application that invokes various AWS services. The Spring Boot APIs are used to build a model, different views, and a controller. For more information, see  Spring Boot . This application uses the following AWS services: Amazon Rekognition Amazon S3 Amazon SES AWS Elastic Beanstalk To read this AWS tutorial, click  https://github...

Using Amazon Cognito to require a user to log into a web application

Image
 Amazon Cognito lets you add user sign-up, sign-in, and access control to your web applications. Amazon Cognito scales to millions of users and supports sign-in with social identity providers, such as Facebook, Google, and enterprise identity providers such as OAuth2. In this tutorial, OAuth2 and Amazon Cognito are used to protect a web application. This means a user has to log into the application by using the credentials of a user defined in an Amazon Cognito User Pool. For example, when a user accesses a web application, they see a web page that lets anonymous users view a log in page, as shown in the following illustration. When the user clicks the log in button, they are presented with a log in form where they can enter their user credentials. After the user enters their credentials, they can access the web application. To read this tutorial, click:  https://github.com/awsdocs/aws-doc-sdk-examples/tree/master/javav2/usecases/creating_amazon_cognito_app I work on AWS Java ...

Get up and running with the AWS Java SDK very fast

 Are you new to the AWS SDK for Java Version 2? You can get a Java application running very fast by following this quick start:  https://docs.aws.amazon.com/sdk-for-java/latest/developer-guide/get-started.html For all new projects that use the AWS SDK for Java, its strongly recommended that you use Version 2 as opposed to Version 1. To learn the differences, see What Is the AWS SDK for Java 2.x Migration Guide? . 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/

Creating an example messaging application using the AWS SDK for Java

Image
  You can create an AWS application that sends and retrieves messages by using the AWS SDK for Java and Amazon Simple Queue Service (Amazon SQS). Messages are stored in a first in, first out (FIFO) queue that ensures that the order of the messages is consistent. For example, the first message that's stored in the queue is the first message read from the queue. Note:  For more information about Amazon SQS, see  What is Amazon Simple Queue Service? In this tutorial, you create a Spring Boot application named AWS Messaging. The Spring Boot APIs are used to build a model, different views, and a controller. The following figure shows the example messaging application. To read this AWS tutorial, click  https://github.com/awsdocs/aws-doc-sdk-examples/tree/master/javav2/usecases/creating_message_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. ...

Creating your first AWS Java web application

Image
  You can develop an AWS Web Application that users can use to submit data to an Amazon DynamoDB table. In addition to using Amazon DynamoDB, this web application also uses Amazon Simple Notification Service (Amazon SNS) and AWS Elastic Beanstalk. This application uses the   software.amazon.awssdk.enhanced.dynamodb.DynamoDbEnhancedClient   to store data within a DynamoDB table. After the DynamoDB table is updated, the application uses Amazon SNS to send a text message to notify a user. This application also uses Spring Boot APIs to build a model, views, and a controller. The DynamoDB enhanced client lets you map your client-side classes to Amazon DynamoDB tables. To use the DynamoDB enhanced client, you define the relationship between items in a DynamoDB table and their corresponding object instances in your code. The DynamoDB enhanced client enables you to do the following: Access your tables Perform various create, read, update, and delete (CRUD) operations Execute quer...

Creating the Amazon Relational Database Service item tracker

Image
  You can develop a Spring Boot application that tracks and reports on work items by using the following AWS services: Amazon Relational Database Service (Amazon RDS) Amazon Simple Email Service (the AWS SDK for Java SDK version 2 is used to access Amazon SES) AWS Elastic Beanstalk The application you create is named  AWS Tracker , and uses Spring Boot APIs to build a model, different views, and a controller. It’s a secure web application that requires a user to log into the application. For more information, see  Spring Boot - Securing Web Applications . This tutorial guides you through creating the AWS Tracker application. Once the application is developed, you'll learn how to deploy it to Elastic Beanstalk.  To read this AWS tutorial, click  https://github.com/awsdocs/aws-doc-sdk-examples/tree/master/javav2/usecases/Creating_rds_item_tracker .  I work on AWS Java code that helps AWS developers. Included in this role is working   with AWS Services su...

Creating AWS photo analyzer applications using the AWS SDK for Java

Image
  You can create an AWS application that analyzes nature images located in an Amazon Simple Storage Service (Amazon S3) bucket by using the Amazon Rekognition service. The application can analyze many images and generate a report that breaks down each image into a series of labels. For example, the following image shows a lake. After the application analyzes this image, it creates this data: Panoramic - 99.99971 Outdoors - 99.99971 Nature - 99.99971 Landscape - 99.99971 Scenery - 99.99971 Wilderness - 96.90007 Water - 93.501465 Lake - 87.28128 In addition, this application uses Amazon Simple Email Service (Amazon SES) to send a report to a given email recipient. In this tutorial, you create a Spring Boot application named  AWS Photo Analyzer . The Spring Boot APIs are used to build a model, different views, and a controller. This application uses the following AWS services: Amazon Rekognition Amazon S3 Amazon SES AWS Elastic Beanstalk To read this AWS tutorial, see  https...