x


Enter your email address below to receive updates each time we publish new Video Tutorial.

Privacy guaranteed. We'll never share your info.

How to configure Tomcat 7 for JSF 2.0 - CDI (Context & Dependency Injection) and JBoss - JSF Video Tutorial

DEAR VISITOR , YOU ARE WATCHING : How to configure Tomcat 7 for JSF 2.0 - CDI (Context & Dependency Injection) and JBoss - JSF Video Tutorial .

[postlink] http://j2ee-tutorials-videos.blogspot.com/2011/02/how-to-configure-tomcat-7-for-jsf-20.html [/postlink] http://www.youtube.com/watch?v=q30ICO30FGsendofvid [starttext] This is a Video Tutorial explains So, how do you use the JSR299 annotations in a JSF 2.0 application that's going to be deployed to Tomcat 7? Well, by default, Tomcat 7 does not support JSR-299, the CDI (Context and Dependency Injection) specification. So, to support JSR-299 in your Tomcat deployed web apps, you need to do a little work. One option is to download the MyFaces CODI implementation. The other is to include the JBoss/SeamFramework's implementation of JSR-299, which is better known as "Weld."

This tutorial shows you how to get the required Weld libraries, configure your web.xml file with the required listener, set up the beans.xml file, and do all of the other stuff that's needed to configure Weld in a JSF application that's going to be deployed to servlet engine like Tomcat.

Oh, and just so you know, you do need the beans.xml file if you're working with Weld, even if there is really no content in the file. If you leave it out, you'll run into a runtime exception.

[endtext]
This site does not store any files on its server.We only index and link to content provided by other sites.If you have any doubts about legality of content or you have another suspicions, feel free to contact us HERE - Thank you.

1 commentaires :

openDroid said...

MyFaces CODI isn't an implementation of CDI! The Apache CDI implementation is OpenWebBeans. MyFaces CODI is a portable CDI extension which can be used with JBoss Weld as well as Apache OpenWebBeans.

Post a Comment

:)) ;)) ;;) :D ;) :p :(( :) :( :X =(( :-o :-/ :-* :| 8-} :)] ~x( :-t b-( :-L x( =))

You can see also

J2EE is an acronym for Java 2 Enterprise Edition. The Java 2 Enterprise Edition is Software that can be used along with the J2SE, the Java 2 Standard Edition which includes the compiler and the other fundamentals of Java. The J2EE software includes development and deployment systems for Java Servlet and Java ServerPages. Both of these combine Java and HTML to produce web pages on demand. Author Mohamed Habou . understand this powerful component of Java programming.

Android Cloud To Device Messaging Video Tutorial

JPA Video Tutorial

Spring MVC Video Tutorial

Spring Security Video Tutorial

Primefaces Video Tutorial

Struts Video Tutorial

free counters

Introduction to J2EE Videos Tutorials

Latest GWT Video Tutorials

Latest Spring Videos Tutorials

Latest Hibernate Videos Tutorials

Latest JAVA Video Tutorials

Latest Struts Videos Tutorials

J2EE is an acronym for Java 2 Enterprise Edition. The Java 2 Enterprise Edition is Software that can be used along with the J2SE, the Java 2 Standard Edition which includes the compiler and the other fundamentals of Java. The J2EE software includes development and deployment systems for Java Servlet and Java ServerPages. Both of these combine Java and HTML to produce web pages on demand. VTC Author Mohamed Habou takes you on a step by step guide to understanding this powerful component of Java programming.