Results 1 to 4 of 4
Thread: JBoss Bean redeploy
- 06-29-2011, 04:28 PM #1
Member
- Join Date
- Apr 2011
- Posts
- 36
- Rep Power
- 0
[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 youLast edited by buyapentiumjerk; 07-01-2011 at 02:44 AM. Reason: Solved
There is not knowledge that it is not power!
buyapentiumjerk.blogspot.com
- 06-29-2011, 05:20 PM #2
Member
- Join Date
- Apr 2011
- Posts
- 36
- Rep Power
- 0
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
- 07-01-2011, 03:34 PM #3
Member
- Join Date
- Jul 2011
- Posts
- 3
- Rep Power
- 0
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
- 07-06-2011, 11:49 AM #4
Member
- Join Date
- Apr 2011
- Posts
- 36
- Rep Power
- 0
Hi hugomx,
what do you mean with make "clean"? as in Maven Clean plugin? or as in Server Clean...? I'm using Eclipse.
Thank youThere is not knowledge that it is not power!
buyapentiumjerk.blogspot.com
Similar Threads
-
javax.servlet.jsp.JspException: Cannot find bean org.apache.struts.taglib.html.BEAN i
By gurpreet.singh in forum Advanced JavaReplies: 1Last Post: 03-23-2011, 07:55 AM -
Jboss redeploy JMS service
By subhendu.snandi in forum Enterprise JavaBeans (EJB)Replies: 2Last Post: 10-31-2009, 06:36 AM -
UREGENT-accessing session bean ok but entity bean
By parimal in forum Enterprise JavaBeans (EJB)Replies: 1Last Post: 08-28-2008, 01:34 PM -
How to use Inner bean definitions via nested bean elements
By Java Tip in forum Java TipReplies: 0Last Post: 03-30-2008, 10:03 AM -
How to use Inner bean definitions via nested bean elements
By JavaBean in forum Java TipReplies: 0Last Post: 09-26-2007, 08:36 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks