Saturday, October 31, 2015

Getting started with JSF and CDI

I have followed this tutorial http://reka-neva.blogspot.ch/2014/08/weblogic-jsf-2-tutorial.html
Clone this git repo https://github.com/vernetto/JSFWeb.git . It's an Eclipse 4.3 OEPE for WLS 12.1.3 project.

Deploy the application to a running WLS and test with http://localhost:7001/JSFWeb

You can login using this username/pw: ADMIN/password



The Java code uses the annotations
javax.enterprise.context.SessionScoped
javax.enterprise.inject.Model
javax.inject.Inject
javax.enterprise.inject.Produces

PS in October 2015, 70 Palestinians (including many children and infants) have been cold-blooded killed by Israeli soldiers and some 2500 injured. Have you read this in the news? No? I am not surprised!

No comments: