Tag: java
PECS (Producer Extends Consumer Super)
? super T
? extends T
wildcards: upper bound and lower bound
Intellij IDEA default keymap
Heap dump, java visualVM
http://www.quizful.net/post/java-memory-leak-visualvm
https://habrahabr.ru/company/luxoft/blog/146988/
https://shipilev.net/blog/archive/visualvm/
https://habrahabr.ru/post/253683/
http://docs.oracle.com/javase/6/docs/technotes/tools/share/jhat.html
Tomcat, GlassFish
- Tomcat
add Environment variable CATALINA_HOME
port: <tomcat>/conf/server.xml
user: <tomcat>/conf/tomcat-users.xml
<user username=”arvifox” password=”arvifox” roles=”manager-gui,manager-script,manager-status,manager-jmx”/> - GlassFish
port: GlassFish\glassfish\domains\domain1\config\domain.xml
user: go to admin to change the password