There are several alternatives to Grails:
- JRuby is an alternative to Grails. Grails uses Groovy as the language, whereas JRuby uses the Ruby language
- Jython - implementation of Python in Java
- Rhino - JS Scripting language included by default with Java 6 SE. See the VisualBuider Java 6 tutorial.
- Scala - based on academic papers not as popular as Groovy but with some powerful features such as strong integration with Java and very good XML processing features. Look out for a future VisualBuilder.com Scala tutorial.
Examples of the different scripting languages:
Ruby File.
foreach('visualbuilder.txt', 'r') do |line|
puts line
end
Scala
import scala.io.Source
for {
(line) <- Source.fromFile("visualbuilder.txt").getLines
}
print(line)
Rhino
lines = readFile("visualbuilder.txt").split("\n");
lines.pop();
for (i in lines) {
print(lines[i]);
}
Groovy
new File("visualbuilder.txt").eachLine { line ->
println line
}
Jsp Discussion
- - Two forms in one JSP
- - PASS VARIABLES BETWEEN 2
- - Table data
- - Unable to laod the image
- - The Ultimate Web UI Frame





