Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Simple Injection in WAR module from EJB Module, same server.

Peter Noordzij
Posts: 28
Java jQuery Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I have a simple Maven project with a WAR module and an EJB module.
I'm still new to Java EE.

The WAR module handles all http stuff and web templating with JSF, works like a charm with some local beans.
The EJB module holds all persistent objects and some abstract facade classes.

The simple thing I want to do Is to inject a bean from the EJB module into a bean or direct in xhtml file in the WAR module.

Could someone please guide me through this setting up process? So that I can really start building with JAVA EE.
Maybe walk through a simple example?
Is there a good CDI example?

Help will be appreciated.

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic