Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2011
    Posts
    36
    Rep Power
    0

    Default [SOLVED] JBoss Bean redeploy

    Hi all,

    I'm currently developing a JSF project to learn a bit more about J2EE. Every time I change a Java Class file (a Bean) to preview my changes I have to restart my JBoss server.

    My question is, is there a way to bypass server restart after some code change? I mean for xhtml and jsp pages a refresh is enough but for changes on Java files I have to restart the server and it's a bit of time consuming.

    thank you
    Last edited by buyapentiumjerk; 07-01-2011 at 02:44 AM. Reason: Solved
    There is not knowledge that it is not power!
    buyapentiumjerk.blogspot.com

  2. #2
    Join Date
    Apr 2011
    Posts
    36
    Rep Power
    0

    Default

    Ok, I've been googlin' a bit more and just read that I can achieve what I want by starting the server in Debug Mode and running after changing code save my files and debug my project. With this I can see my changes. My question now is:

    From your experience, what are the problems with this approach?
    There is not knowledge that it is not power!
    buyapentiumjerk.blogspot.com

  3. #3
    hugomx is offline Member
    Join Date
    Jul 2011
    Posts
    3
    Rep Power
    0

    Default

    What IDE are you using?

    In Eclipse you can make changes to your code make "clean" to your project and make "clean" the server thats all

  4. #4
    Join Date
    Apr 2011
    Posts
    36
    Rep Power
    0

    Default

    Hi hugomx,

    what do you mean with make "clean"? as in Maven Clean plugin? or as in Server Clean...? I'm using Eclipse.

    Thank you
    There is not knowledge that it is not power!
    buyapentiumjerk.blogspot.com

Similar Threads

  1. Replies: 1
    Last Post: 03-23-2011, 07:55 AM
  2. Jboss redeploy JMS service
    By subhendu.snandi in forum Enterprise JavaBeans (EJB)
    Replies: 2
    Last Post: 10-31-2009, 06:36 AM
  3. UREGENT-accessing session bean ok but entity bean
    By parimal in forum Enterprise JavaBeans (EJB)
    Replies: 1
    Last Post: 08-28-2008, 01:34 PM
  4. Replies: 0
    Last Post: 03-30-2008, 10:03 AM
  5. Replies: 0
    Last Post: 09-26-2007, 08:36 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •