Migrating from Weblogic to Springboot — Part 2

4. Removing Unnecessary Dependencies

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.1.2</version>
</plugin>
mvn dependency:analyze
or click from IDE
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.1.2</version>
<configuration>
<ignoreNonCompile>true</ignoreNonCompile>
</configuration>
</plugin>
mvn dependency:tree
or click from the IDE
<dependency>
<groupId>com.furkan.topal</groupId>
<artifactId>exchangeapi</artifactId>
<version>0.0.1</version>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>

5. Fat Jar vs Thin Jar

6. Start-stop sh Best Practices for Old Schools

6.1 Multiple Instance Example

home/app/web
home/app/web/instance-1

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store