Skip to content

Overview EJB

Description

There are two EJB code generators:

  • EJB for UI
  • EJB

The JSF generators creates source code, XHTML and configuration files that implement web applications. The structure of the generated artifacts is highly modular. The generators allow to divide applications into reusable modules (aka web fragments). A web application is an assembly of those reusable modules. Within a web application the content of the web fragments can be customized.

Web applications created with the JSF generator result in a JEE WAR file that can be deployed in JEE application servers (Web profile is sufficient).

Note

You can still develop pretty simple web applications by generating only one web fragment that contains web pages. For the simplest possible web application you only need to develop two jar files (= two web fragments) that are packaged inside the WAR file.

Prerequisites

Technologies, Frameworks, Libraries

  • Java
  • Java Server Faces (JSF)
  • Enterprise Java Beans (EJB)
  • Contexts and Dependency Injection (CDI)
  • Java Servlets
  • JUnit, Selenium, Arquillian
  • A support library CommonsTest.jar that contains a set of abstract parent classes and a set of test components, one per JSF component.

Modeling

  • Virtual Developer Modeler
  • Domain Specific Languages: Basic, Ui, Persistence (optional), Function (optional)

Generation

  • Virtual Developer Cloud Connector (Eclipse, Maven or CLI)

You need additional generators to be able to generate a complete web application: