Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Ear module redeployment with maven and glassfish 3.1  RSS feed

Antun Horvat
Posts: 1
Java PHP Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys I am in a need of fast solution to my probably not unique problem.

I am developing intranet application based on the Java EE6 standard and I've found myself in problematic situation.
In this project maven is used as default build tool, and within this maven project I have defined other maven projects that represent EAR modules.

Now the problem is that these EAR modules depend on each other which is an issue when I'm trying to deploy WAR module in isolation from other modules. I understand that I can not do such a thing but is there a way to redeploy only part of EAR into already deployed EAR container? In such situation upon deployment container would find depended EJB classes (from EAR) and inject EJB dependencies into managed beans.

If there is an such solution I would be able to easily hot deploy development changes into Glassfish 3.1 without huge deployment delays.

I am also aware of remote EJB interfaces and JNDI but i don't want to deal with these if i really don't have to

bdw. i'm new to whole java ee thing....
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!