Create myresource.java

Another portion of the tutorial