Hi, I agree that the documentation is confusing. That's a part I wish the AWS would improve.
So the bom package is for managing the versions of other AWS packages for us. As you see I don't need to specify the version for the dynamodb package. But I guess it's actually not beneficial until several AWS packages are used in the project.
You should be able to do something like this instead if you like (haven't tested it):
Hello again!
Thanks for the reply! I think I figured it out after trying out stuff on my own. It's as you said and before that (1.x), people would have to install the dependencies one by one with their version. But now it's all "unified" under one version. So updating the AWS dependencies is not a huge pain, I guess.
It was a bit hard to navigate around the dependency management system of Java at the beginning as someone coming from yarn/npm install.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Why do we need two packages from AWS?
What's the
bom
for? I find the documentation of AWS a bit confusing when browsing all Java packages.Hi, I agree that the documentation is confusing. That's a part I wish the AWS would improve.
So the
bom
package is for managing the versions of other AWS packages for us. As you see I don't need to specify the version for the dynamodb package. But I guess it's actually not beneficial until several AWS packages are used in the project.You should be able to do something like this instead if you like (haven't tested it):
Hello again!
Thanks for the reply! I think I figured it out after trying out stuff on my own. It's as you said and before that (
1.x
), people would have to install the dependencies one by one with their version. But now it's all "unified" under one version. So updating the AWS dependencies is not a huge pain, I guess.It was a bit hard to navigate around the dependency management system of Java at the beginning as someone coming from
yarn/npm install
.