Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

PAcking multiple WARs inside EAR

 
par dhar
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

Can anybody please throw light on advs/disadvs of packing the multiple WARs in EAR?Also in that case if I want to share the data among pthe acked WARs then whats the solution for it?

Regards
Parag
 
Daniel Rhoades
Ranch Hand
Posts: 186
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeap you can multiple WARs or JARs in a single EAR.

Advantages - it's one deployable unit, you can take advantage of local interfaces and local JNDI scope between the web and ejb tiers.

Disadvantages - non that I've come across

What do you mean by sharing data?
 
par dhar
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can WARs inside EAR share the memory area assigned by app server because context is allocated per WAR and not to EAR and if such WARs are inside EAR then can we share context area of multiple WARs? If so can anybody pls let me know how to achive it? As then perhaps we can use that context area to share the data also?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic