Maven packages

- [Instructor] Maven allows us to use libraries built…by others in our application.…For us to use the Spark framework,…we need to include it's package in our POM file.…Look for POM.xml in our root directory…and double click to open it.…Look for the junit package.…Below it, we'll add Spark.…We're going to put in a dependency.…For the group ID we're going to say…com.sparkjava.…

For the artifact ID it is Spark dash core.…And for the version,…it is going to be dollar sign curly brace…spark dot version.…Notice that we are including the…version as a property variable.…We need to add it to our list of properties.…So we come up here.…Here's our list of properties.…We're going to say…spark dot version…is 2.6.0.…

Adding our version numbers as properties makes it…easier to upgrade them later.…Also note, we are using the java version of spark.…There's a Kotlin DSL version in development.…But it is an alpha version which is not yet…suitable for production code.…But this isn't a problem since Kotlin is 100%…java compatible.…Let's go back to hello kt.…

Resume Transcript Auto-Scroll

Author

Released

1/19/2018

AWS Lambda lets developers build web services that run in the Amazon cloud—without worrying about configuring servers or paying expensive monthly fees. This course shows you how to create Lambda services, called functions, on AWS using Kotlin—the up-and-coming Java alternative. Speaker and author Troy Miles shows how to create and test a simple Lambda function, and start creating more complex, standalone Kotlin apps with the Spark framework. He also shows how to connect your service to AWS via the API Gateway, and read and write data from a MongoDB database. Plus, learn how to run, test, and debug your microservices locally. Troy also offers a series of challenges to test your new Lambda programming skills.