ISBN-13: 9781540845009 / Angielski / Miękka / 2016 / 90 str.
ISBN-13: 9781540845009 / Angielski / Miękka / 2016 / 90 str.
This book is a guide for you on how to program the Amazon Simple Storage Service (S3). Most people and companies have turned to using the Amazon S3 for the purpose of storing files. The first part of the book guides you on how to upload your files to the Amazon S3. In this chapter, you will use the Play 2 for creation of a Java app. This app will help you to upload your files to the Amazon S3, making your work much easier. You will learn how to use the AWS Library as well as the Play 2 S3 library. The Node.js can be used for the purpose of performing direct uploads of files to the Amazon S3. In most apps, this is done by use of a web app so that the files can be uploaded to the web server. In this book, you are guided on how to use Node.js to create an app which directly uploads the files to the S3 server, and you will not be expected to create or use a web app. This mechanism employs the use of Cross-Origin Resource Sharing (CORS). This book guides you on how to implement this. You will also be shown how to setup a private maven repository which you can use for your projects. You may also need to read the S3 files in a programmatic manner. This book guides you on how to do this. The following topics are discussed in this book: - Uploading Files - Direct Uploads in S3 and Node.js - Private Maven Repository Setup - Working with the Object-Oriented Java Adapter in AWS S3 - Reading from S3 Files - Working with Nginx as the Proxy