Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are Groovy/Grails/Hibernate/JBoss/Jade in very simple terms?

I am new to Java. Its only been six months but I do understand Java.

While reading about it sometimes, I come across these terms - Groovy, Grails, Hibernate, JBoss, Jade and many more.

I know I can read all about them individually. But can somebody give me a treetop view of what is happening here? What is all this? We have Java and these are based on Java? Why so many things? Why do we need them?

like image 827
Lazer Avatar asked Sep 15 '09 20:09

Lazer


2 Answers

  • Groovy is its own programming language, but runs on a Java Virtual Machine.
  • Grails is a web application framework for Groovy (build websites with database support).
  • Hibernate is a tool for mapping Java objects to database tables and back.
  • JBoss is a Java application server where you can deploy web applications to.
  • Jade, I believe, is a framework for building distributed "agents" in Java.

To answer why we have them: programming languages are not enough. If you were to tell me at an interview "I know Java" but didn't know about things like Hibernate, Spring, log4j, JAXB, etc. I would say you don't know Java. That's because no one builds applications with just the core language any more. They reuse frameworks and components so they can spend less time developing infrastructure and more time solving business problems. So, Hibernate, JBoss, and Jade are reusable frameworks or platforms for the Java language. Similarly Grails is a framework for the Groovy language, both of which support integration with Java.

It's a cool time to be a developer, but there is also so much to learn :-)

like image 99
SingleShot Avatar answered Sep 27 '22 23:09

SingleShot


The Java Posse actually talked about this briefly in one of their recent newscasts. In many programming circles, there is generally one major library or framework for a particular purpose (Python tends to be like this). But in Java, there is often more than one, as you mention. They speculated that this is because the Java programming community is so big that there simply is room enough for more than one major solution to the same problem.

Having said that, the projects you mention are all actually designed with different purposes in mind.

If you have the inclination to listen to podcasts, I recommend The Java Posse for their entertaining look at new technologies around and related to Java.

like image 31
Greg Hewgill Avatar answered Sep 27 '22 23:09

Greg Hewgill