Generate Faces Pages

Hello !

I have a problem with the "Generate Faces Pages" function.
I will explain:
My project have a application module(ear), web module(war) and a ejb module.
In my ejb module is the Persitenz API configured and the beans are in my web module.

IntelliJ provides a function to create JSF pages from ejb beans when you right click the your ejb pool in your ejb module.
The problem is this function needs the faces-config.xml to operate and it cant find my config in the web module.

can anyone tell mi what i make wrong ?

greetings, kelvyn

2 comments
Comment actions Permalink

I've seen the templates of Generate Faes Pages uses no JNDI so i think i should do all the stuff in one module.
But does JBoss provide my EJBs when they are in a war file ? i don't think so.

greetings, Kelvyn

0
Comment actions Permalink

yes, it's true... PersistenceUnit must be defined inside of WebModule...
I think It's bug... A new Jira request is added(http://www.jetbrains.net/jira/browse/IDEADEV-14284)

I've seen the templates of Generate Faes Pages uses no JNDI so i think
i should do all the stuff in one module.

But does JBoss provide my EJBs when they are in a war file ? i don't
think so.

greetings, Kelvyn



0

Please sign in to leave a comment.