This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes how to update a class file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "how to update a class file " Watch "how to update a class file " New topic

how to update a class file

Maya Pillai
Ranch Hand

Joined: Jul 17, 2008
Posts: 60

I have created a ear file and deployed it in Jboss.Is it possible to change/update a class file inside the ear file.Is there any option like that or do I have to create ear file again?

Jaikiran Pai

Joined: Jul 20, 2005
Posts: 10441

Do you mean you want to replace the .class file? If your application is already deployed and you want to replace the .class file, you can do that but the changes will not be reflected unless you redeploy the application.

[My Blog] [JavaRanch Journal]
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: how to update a class file
It's not a secret anymore!