Following the instructions in the documentation here I set the run-jrebel.cmd as follows:
set JAVA_OPTS=-javaagent: c:/jrebel/jrebel.jar -Xms256m -Xmx512m -XX:MaxPermSize=256m %JAVA_OPTS%
call "%~dp0\run.bat" %*
Winston Gutkowski wrote:
I think you misinterpreted what Bear said (it actually took me a couple of scans too ).
Does that make more sense?
Jeanne Boyarsky wrote:Suppose you want to validate the user entered valid characters in a date, name, phone #, etc and the format is valid. To do this with just JSP, you'd have to go to the server to do all this validation and make the user wait. Which is poor usability.
Jeanne Boyarsky wrote:Nick.
Alam Ameghino wrote:I think that my poor ingles is a problem in this case. Sorry.
From Kathy and Bert's book
Page 392. Title: Don't use assertions to validate arguments to a public method.
So, it is not correct:
Page 393. Title: Do use assertions to validate argument to a private method
So, it is correct.
But, What happen when in a private method we are validating an argument that belong to the previous public method? The argument is the same, the same object in both.
Sorry if I am not being clear.
Alam Ameghino wrote:I know thtat assertions work only in runtime, but you must say if they are appropiate or not in compile-time.
You don't need run a program for know if assertions are appropiate or nor!
As a rule, the expressions contained in assertions should be free of side effects: evaluating the expression should not affect any state that is visible after the evaluation is complete. One exception to this rule is that assertions can modify state that is used only from within other assertions. An idiom that makes use of this exception is presented later in this document.
Alam Ameghino wrote:
Hi Nick, and again thanks!
Mmmmm, I am not agree..
You must say if assertions are appropriate or not in COMPILE-TIME, no in RUNTIME-TIME.
Alam Ameghino wrote:Nick, thanks for the link and your answer.
But, I can not see the answer to me question in this link!
Where do you see the answer in the link?
Alam Ameghino wrote:Thanks for response Souvik!
I believe the same, but I am not sure.
Someone knows exactly what is the answer?