aspose file tools*
The moose likes JBoss/WildFly and the fly likes Exploded ear -how to debug jboss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Exploded ear -how to debug jboss" Watch "Exploded ear -how to debug jboss" New topic
Author

Exploded ear -how to debug jboss

avihai marchiano
Ranch Hand

Joined: Jan 10, 2007
Posts: 342
Hey,

I am working in eclipse 3.3 and jboss 4.2.
My application package as an ear (the ear size is 40M) with maven.

I understand that i can work in exploded mode in order to save the build and deploy time.

I look in google for reference , but didnt find. can any one give me a reference on how to set up eclipse in order to work against expolded ear?

Thank you
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9317
    
109

I did not completely understand the question. As far as i know, there's nothing different you have to do with Eclipse to work with an exploded ear file deployed in JBoss. It's the same as working with any application deployed as an archive.


[My Blog] [JavaRanch Journal]
avihai marchiano
Ranch Hand

Joined: Jan 10, 2007
Posts: 342
In order to build the ear and deploy it to the server i use maven.

As i understand if i want to work in exploded mode i need to extract the ear and my jars (am i correct ? is there any tool or plugin that can do it for me?)

Now , i have an exploded ear in the server.

i work with eclipse and i want to be in debug mode , so when i change a class (or any other trigger) it will copy the changed class to the exploded ear in the server.

Thank you
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9317
    
109

Originally posted by avihai marchiano:
In order to build the ear and deploy it to the server i use maven.

As i understand if i want to work in exploded mode i need to extract the ear and my jars (am i correct ? is there any tool or plugin that can do it for me?)


Extracting the ear is enough. Extracting the jars inside the ear is optional. As far as tools are concerned, Ant has the unjar/unwar task which can be used to exploding the archives. I guess maven too has a similar task. I haven't used maven so not sure the exact task names.

Originally posted by avihai marchiano:
Now , i have an exploded ear in the server.

i work with eclipse and i want to be in debug mode , so when i change a class (or any other trigger) it will copy the changed class to the exploded ear in the server.



I havent tried this but i guess it will update the changes. If it doesn't then follow the steps mentioned here
avihai marchiano
Ranch Hand

Joined: Jan 10, 2007
Posts: 342
Thank you very much.

I didnt understand how you tell eclipse to deploy changes to the exploded ear?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Exploded ear -how to debug jboss
 
Similar Threads
how to avoid having a temp directory for deployed EAR?
Use Eclipse to debug enterprise app
how to deploy?
JBoss 5 Exploded and Incremental Deploy
problem with deployment from Helios to JBoss 5.1GA