Learn how and why Groovy and Grails is essential skills for Ellucian (Banner) Developers in this free tutorial. Watch all six lessons, for free, at www.SkillBuilders.com/http://skillbuilders.com/Groovy-Free-Tutorials?id=10&w=groovy-grails-ellucian-banner-developers-tutorial.
Groovy, as I mentioned, is a programming language. Java has been around now for about 15 years and that's a fairly long time in the IT world of course. Groovy is a much newer language and therefore its able to clean up some of the inconsistencies on Java, make some of the Java features a lot easier to use and also bring in newer developments in the programming language world like Closures or Builders etc. We'll see some examples of that pretty shortly.
It all works with Java compiles to the JVM. It is a compiled language. It's much more efficient than an interpret language, etc. But you can write scripts as well as classes. Again, it's an open source project.
Where does Groovy fit in? Groovy, in one sense, is Java. It's not really Java. It's a separate language but Groovy compiles to Java bytecodes. Java runs by running on what they call virtual machine, a Java Virtual Machine, the JVM that you install on whatever platform you want to use. It could be a workstation, it could be a mainframe, it could be a PC, it could be a Mac, it could be whatever. That's the heart of this whole write-once-run-anywhere idea is that you write your code in Java, you compile it to these bytecodes (whatever the heck a bytecode is) and then run it on the virtual machine. Groovy may be a separate language, but it also compiles to bytecodes that run on the same virtual machine. Anywhere where you have Java installed, Groovy can run as well.
Groovy, as I mentioned, is a programming language. Java has been around now for about 15 years and that's a fairly long time in the IT world of course. Groovy is a much newer language and therefore its able to clean up some of the inconsistencies on Java, make some of the Java features a lot easier to use and also bring in newer developments in the programming language world like Closures or Builders etc. We'll see some examples of that pretty shortly.
It all works with Java compiles to the JVM. It is a compiled language. It's much more efficient than an interpret language, etc. But you can write scripts as well as classes. Again, it's an open source project.
Where does Groovy fit in? Groovy, in one sense, is Java. It's not really Java. It's a separate language but Groovy compiles to Java bytecodes. Java runs by running on what they call virtual machine, a Java Virtual Machine, the JVM that you install on whatever platform you want to use. It could be a workstation, it could be a mainframe, it could be a PC, it could be a Mac, it could be whatever. That's the heart of this whole write-once-run-anywhere idea is that you write your code in Java, you compile it to these bytecodes (whatever the heck a bytecode is) and then run it on the virtual machine. Groovy may be a separate language, but it also compiles to bytecodes that run on the same virtual machine. Anywhere where you have Java installed, Groovy can run as well.
- Category
- Success
Sign in or sign up to post comments.
Be the first to comment