Create JavaEE application

Hi all!

I have a problem with create/configure JavaEE application in IDEA.

For example I want make project structure as in NetBeans. There  I have three separate projects - EJB project(contains my ejb beans), WEB project - with my servlets, pages, etc. And Java EE project that wrap web and ejb project and resolve compilation dependency. In NetBeans I can create some service Interface in EJB project and use it in the WEB.

How it can I do with Intellij IDEA???

3 comments
Comment actions Permalink

Hi.

I didn't work much with JavaEE. But it looks that you need to create 1 IDEA project with 3 modules, and set module dependencies between them in Project Settings dialog.

Alexander.

0
Comment actions Permalink

If i did it, should I remove its dependency in artifacts configuration for web(war)  projects???

0
Comment actions Permalink

It's up to you. Depending on what do you want to get in the artifact's output.

0

Please sign in to leave a comment.