In this chapter, you will learn what Swarm does to create your services with only those dependencies that are necessary for them. You will learn in greater detail what a fraction is, how Swarm detects what fractions should be used, and how you can modify the fraction discovery behavior. Finally, you will learn how to further modify the service creation size and behavior using hollow JARs and thin JARs.
Before we explain all of that, we will introduce the service on which we are going to work.