webfirmframework for Java Experts

Introduction

This developer guide is based on latest version of wffweb because wffweb-1.x.x provides just to generate html/css but wffweb-2.x.x and later comes with server-client bi-directional full-duplex communication, event handling, writing server side/client side code etc... Before getting started with code watch this video to understand the main features of wffweb. The wffweb-2.x.x or later is decoupled with Java EE modules so you have to configure your project before use. The configurations may be different on different servers you are using. Sample projects configured for servers like tomcat 9 can be downloaded from here.


Note :- Unless you set these configurations, wffweb is a simple html/css generator framework and no other unwanted classes like classes for client-server communication etc.. will be loaded into memory. For this advantage, it's decoupled with Java EE modules.

Always use the latest version of wffweb to enjoy more features and improvements.

The video given on the top of this page demonstrates how to develop a wffweb application using maven and IntelliJ Community Edition. It covers using responsive design, converting HTML to Java code, loading login form, form submission, loading dashboard template, logout etc... It's a basic way to develop application. Keep the UI components reusable. IntelliJ is the best IDE which supports webfirmframework's coding format.

Supported programming languages

Java and Kotlin

Java version

  • wffweb-3.x.x requires Java 1.8 or later.
  • wffweb-2.x.x requires Java 1.7 or later. wffweb-2.1.15 is the last version.

Browser compatibility

Currently, wffweb applications are compatible with only HTML5 supported browsers because it uses HTML5 websocket at client side.

Server compatibility

Server should support websocket.

Recommendation for wffweb library version upgrade in the project

Recompilation of the whole project is recommended when wffweb version is upgraded in your project.