Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1.09 KB

README.md

File metadata and controls

30 lines (21 loc) · 1.09 KB

Setting up WidlFly

  • Go to the WildFly Getting Started page: https://docs.jboss.org/author/display/WFLY8/Getting+Started+Guide?
  • Download and unpack WildFly
  • Export JBOSS_HOME variable in /etc/bashrc or ~/.bashrc
  • Download and unpack Java then export the JAVA_HOME environment variable in /etc/bashrc or ~/.bashrc (I like to use different java versions that is why I don't use a package to install it)
  • Start WildFly
  • Add management user

jsf-showcases

Showcases of how development should be done in JSF.

Building the artifact

mvn clean package install

Creating eclipse project:

mvn eclipse:eclipse

The application can be deployed on the standalone WildFly instance by dropping the war in the appropriate folder.

Java Dynamic proxy and class loading examples

All the examples can be found in proxy-examples-main/src/test/ as JUnit tests

  • How to create a client-side load balancer for REST service stub
  • How to mimic Mockito with dynamic proxy
  • How to find resources on the classpath
  • How to load classes with a custom class loader
  • How to find classes with a specific annotation