Java Notes¶
- Determine location of Java on Mac OS X
echo $(/usr/libexec/java_home)
- Using Ivy with Ant
- Download Apache Ivy
- Put files into ant/lib directory.
- Lib directory at
~/.ant/lib
- Using sdkman to manage Ant.
- Download Apache Ivy
Resources¶
- Awesome Java
- JHipster - Spring Boot + Angular
- Lombok - decorators for Java.
- Apache POI - API for Microsoft Documents
- Java Design Patterns
- Jbake - Static site generator in Java
- Apache FOP - PDF generator
- DropWizard - Generate REST Apps.
- Handlebars Java - Mustache/Handlebars template engine in Java.
- Apache PDFBox - java library for PDF
- Java Sample Approach
JHipster¶
Resources¶
- JHipster - Spring Boot + Angular
- JHipster Book
- Articles and Tutorials
- People
Dev Notes¶
- Tell Gradle to use a specific jdk version = Point to Java8 -
- In gradle.properties - on Mac OS X with SDKMAN installed
org.gradle.java.home=/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home
- In gradle.properties - on Mac OS X with SDKMAN installed
Learning to use Spring¶
Steps¶
- Start with maven
mvn archetype:generate -DgroupId=za.co.catenare.tutorial -DartifactId=tutorial -DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false
- cd tutorial
- mvn package
- java -cp target/tutorial-1.0-SNAPSHOT.jar za.co.catenare.tutorial.App
- Runs the App
Last update: April 13, 2020 16:50:19