Hi All,
Sorry for the trivial question, but I didn't find the solution (I visited a lot of forums, but didn't help). I'd like to have a hot deployable seam application (using JavaBeans in WAR). I have JBoss 5.1 and Seam 2.2, Linux with Java JDK 6. So I generate a project: seam setup, then seam create-project, it works fine. I add a simple String to a Javabean:
@Name("proba") public class Proba { private String valami; public String getValami() { return "valamiiiiidfdddd"; } public void setValami(String valami) { valami = "valamicske"; } }
And display this on the main.xhtml:
... <h1><h:outputText value="#{proba.valami}" /></h1>. ...
Then I go to project folder and deploy the application: ant explode. It works perfectly, but if I change the return string from valamiiiiidfdddd
to other
and I redeploy it (ant explode), it doesn't effect on the site (I can see only the old string). During the redeploy I get a message:
Copying 1 file to /usr/share/javaDevelop/jboss-5.1.0.GA/server/default/deploy/proba.war
So it seems to everything works fine... If I redeploy the whole project again, then I see the changes.
Thanks forwards,
bobo