-
-
Notifications
You must be signed in to change notification settings - Fork 1
Bindings
JWebSwing uses Guice 4.1 for its injection and site control.
All configuration required is placed inside the framework itself, and/or any components add-ons. By default everything is request scoped.
Some of the components configure custom servlets and addresses for their functionality. An example would be the file receiver for the file upload component, You can view the guide on how to perform these tasks.
The root class GuiceContext enables Just-In-Time development, and allows access to the global injector via GuiceContext.inject()
The Guice Injection Support Library and source code is available at https://github.com/GedMarc/GuiceInjection.
It is added on as a separate archive, as such you can make any changes (hopefully with a pull request) and simply replace the archive being used.
Classes of Interest are
- GuiceContext
- GuiceDefaultBinder
- GuiceDefaultSiteBinder
- Netbeans
- Eclipse
- IntelliJ
- Basic Structure
- Code Explanation
- Run Everywhere
- The Default Binder
- The Site Binder
- Quick User Authentication Filter
- Serialize to JSON
- Deserialize from JSON
- The Page Configurator
- HTML Only
- HTML with JS
- HTML with JS and CSS
- HTML with Angular, JS, and CSS
- HTML with All, and a custom servlet
- A Complete Plugin