See the introduction to the HTTP: HTTP intro
J2EE 7 certified server (reference implementation)
Description: https://glassfish.java.net/
Download, installation and start: Glassfish Installation
In case Glassfish is not working for you, use Payara or WildFly.
Check the guide: Glassfish Guide
glassfish4/bin/asadmin start-domain
Management Console: http://localhost:4848
Software Project Management: http://maven.apache.org/
Maven lifecycle: Maven Lifecycle
POM - project object model = project definition file (root file pom.xml).
Project structure:
src/ main/ java/ resources/ webapp/ test/ java/ resources/ pom.xml
Maven uses the repository of libraries. The libraries can be searched: http://mvnrepository.com/artifact/org.apache.commons/commons-lang3/3.1
There are many Maven repositories worldwide, you can create your own
<dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> <version>3.1</version> </dependency>
Maven dependencies can define the scope of the project:
$ sudo apt-get install maven
There is an GITLAB account for students: https://gitlab.fel.cvut.cz
Students may create repositories at GITLAB