Posts

Showing posts from August, 2014

A good tutorial on Node.js, Express, Jade

If you really want to get a feel of  Node.js, Express, Jade , then check out  the following tutorial- simple and easy to follow : http://cwbuecheler.com/web/tutorials/2013/node-express-mongo/

Enabling CDI in ADF Applications targeting WLS 12C

If you had tried using  Contexts and Dependency Injection (CDI) in your ADF app targeting WLS 12C, you might have already noticed the issue that I'm mentioning here - CDI things are not working in the application by default. Well, here is a solution. See this blog which talks about the same: post https://weblogs.java.net/blog/mriem/archive/2013/12/10/jsf-tip-54-enable-cdi-when-bundling-jsf?force=659

To keep things simple, do the  following:

Download the cdi-enabler jar from the following mavne repo:  https://maven.java.net/content/groups/public/com/oracle/cdi-enabler/cdi-enabler-1_0/1/cdi-enabler-1_0-1.jarAdd it as dependency to your view controller project where you use CDI.Open the beans.xml file and add alternatives as shown below:

<?xml version = '1.0' encoding = 'windows-1252'?><beansxmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/beans_1_0.xsd&q…

Disclaimer

The views expressed on this blog are my own and do not necessarily reflect the views of my employer.