Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to deploy a EAR application in "exploded" mode ?  RSS feed

 
ben oliver
Ranch Hand
Posts: 375
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1. Why some enterprise application is deployed in exploded mode instead of a single .ear ? what's the advantage of deploying it in exploded fashion ?

2. What configuration setting changes are required for exploded deployment (for example, application.xml, etc) ?

 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 37222
519
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ben,
1) One "benefit" is that you can update an individual file without requiring a new ear. I use benefit in quotes because this is a mixed blessing. It's great for trying out a quick change. It's bad for configuration management when you are trying to go to a controlled environment or production.

2) It probably depends on the server. On some, the exploded ear is exactly the same - just unzip an existing ear.
 
ben oliver
Ranch Hand
Posts: 375
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jeanne Boyarsky wrote:Ben,

2) It probably depends on the server. On some, the exploded ear is exactly the same - just unzip an existing ear.


I am using Glass Fish and Sun Java System Application Server. Can I just simply unzip the .ear when I deploy to any of these two kinds of servers ? I thought in addition to unzip it there, we need to specify something differently in some configuration file, do we ?
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!