The temperature-converter example demonstrates the use of an EJB Stateless Session Bean (SLSB) and CDI, accessed using a JSF, and deployed to Red Hat JBoss Enterprise Application Platform using a WAR archive.
The application does the following:
The User Interface is a JSF page that asks for a temperature and a scale (Fahrenheit or Celsius).
When you click on Convert, the temperature string is passed to the TemperatureConverter controller (managed) bean.
The managed bean then invokes the convert() method of the injected TemperatureConvertEJB (notice the field annotated with @Inject).
The response from TemperatureConvertEJB is stored in the temperature field of the managed bean.
The managed bean is annotated as @SessionScoped, so the same managed bean instance is used for the entire session.
The application this project produces is designed to be run on Red Hat JBoss Enterprise Application Platform 7 or later.
All you need to build this project is Java 8.0 (Java SDK 1.8) or later and Maven 3.1.1 or later. See Configure Maven for JBoss EAP 7 to make sure you are configured correctly for testing the quickstarts.
If you want to debug the source code of any library in the project, run the following command to pull the source into your local repository. The IDE should then detect it.
Aug 20, 2015(Sande Gilda):JBEAP 577 Replace links to shared resources for JBoss EAP 7 material
Aug 4, 2015(Sande Gilda):JBEAP 578 Update Maven version in README files
Aug 3, 2015(Sande Gilda):JBEAP 564 Clarify Maven instructions
Jul 23, 2015(Sande Gilda):Replace CONFIGURE_MAVEN link with CONFIGURE_MAVEN_JBOSS_EAP7 link
Jun 24, 2015(Sande Gilda):JDF833 Plugin commands have changed from jboss as prefix to wildfly prefix. jboss as deploy is now wildfly deploy and jboss as undeploy is now wildfly undeploy. Same replacement for port and hostname
Jun 17, 2015(Sande Gilda):Update the quickstart README files to remove instructions related to the Maven settings
Jun 2, 2015(Sande Gilda):Update quickstart files to remove JBoss EAP version and update to Java EE 7 and SDK 1.8. Replace references to WFK and Sandbox with EAP
Mar 4, 2015(Sande Gilda):Bz1198744 Update README JBDS instructions to be more clear
Feb 3, 2015(Sande Gilda):Update the quickstart README files to point to the new shared EAP_HOME and Build and Deploy instructions
Jan 22, 2015(Sande Gilda):Bz1185085 Update README files to use full product name for JBDS