Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

Java EE 7 with NetBeans and Vaadin

Kevin Penrose
9 years ago Apr 21, 2014 4:51pm
Matti Tahvonen
9 years ago Apr 21, 2014 8:14pm


CDI will call the @PostConstruct annotated method automatically. If this doesn't happen, the "injection chain" must be somehow broken.

Will you show your UI class/whole project as well? Also note that you shouldn't need any servlets or web.xml files at all. Then things should just happen "magically".