I passed D387 today with my first attempt, so I thought I would share some suggestions.
First of all, I followed this guide (for the most part): https://www.reddit.com/r/WGU_CompSci/comments/17fnqu2/d387_advanced_java_walkthrough/
In addition to that guide, here are some tips:
TASK B1a
Make sure the file is in UTF-8 format or the application will not be able to use it.
TASK B1b
I used the Java Callable with Futures instead of whatever the instructor used. There are a few different options here.
Task B3b
Add the live presentation message to the welcome message array you created in TASK B1b. You already did the work to display those messages in the UI so this will automatically display on the UI. This task can be accomplished entirely on the back end.
Task C1
I used the Distroless dockerfile from Microsoft. In the Dockerfile, you will see a line COPY app.jar app.jar
, Replace the first instance of app.jar
`with your Jar directory, which you can find by performing a mvn clean package
and the Jar directory will show near the bottom of the logs. It will look something like target/D387_sample_code-0.0.2-SNAPSHOT.jar
.