• Home
  • RSS Feed
  • Log in

Archive for the ‘Groovy’ Category

Older Entries

Why and When to use Groovy
Posted by Sunil Prakash Inteti in the early morning: January 2nd, 2009

I have just started learning Groovy few days back.The first thing that I have asked myself and searched for is 'Why should i use groovy over java and When I can use Groovy. ?'

I am following the book 'Programming Groovy'. The things I have understood regarding 'Why' part are
(more...)

  • Share/Bookmark

Filed under Groovy, Java | 15 Comments »

Grails Remoting with Hessian, Burlap and HttpInvoker
Posted by Erik Pragt at around evening time: September 25th, 2008

A short while ago, a collegue and I decided to write an application with Grails and Eclipse RCP. We choose Grails for the ease of development, and Eclipse RCP (in favor of Flex and Plain Old HTML) because we wanted to give our users a solid and native look and feel, for which Eclipse RCP works really well.

Since the Eclipse RCP front-end would actually be a remote front-end, we needed some kind of kind of communication between the client and the server. One of our first idea's was to use XML-RPC, which is pretty well supported in Grails, but it would force us to to do some mapping between our domain and the XML. Since we wanted to use the same domain classes is Eclipse as in Grails (by exporting the Grails domain to external domain jars), we opted for a different approach: Burlap/Hessian.

(more...)

  • Share/Bookmark

Tags: burlap, Grails, Groovy, hessian, httpinvoker
Filed under Grails, Groovy, Java | 7 Comments »

Using Groovy to keep your Maven and Fitnesse dependencies in sync
Posted by Erik Pragt around lunchtime: July 29th, 2008

The problem

What if you're working with Maven, where you've got all your dependencies nicely organised, and now you decide to use any other piece of 'classpath-aware' software, like Fitnesse. The chances are that you'll need to use the same classpath in Fitnesse as in Maven. A possible solution could be to maintain it by hand, but why not write a very small script for it to do it for you? My (very very very!) basic solution is to use a Groovy, because it's easy to write, easy to read, and easy to use!
(more...)

  • Share/Bookmark

Tags: fitnesse, Groovy, Maven, script
Filed under Groovy, Maven, fitnesse | 6 Comments »

More Groovy power
Posted by Lars Vonk just before lunchtime: July 6th, 2008

After my first real encounter with Groovy I got really excited about it and decided to spend some of my personal training days to get more experience with Groovy. As study material I read the Programming Groovy book. While reading I really wanted to get my hands dirty, so as a study case I decided to solve one of my longest and biggest frustrations as a developer and that is working behind a proxy server. The idea I had is to create a groovy program that will allow to turn the proxy settings on or off for applications like (Maven, Subversion, Internet Explorer, Firefox and so on) by running a single command: groovy com/xebia/proxy/SwitchProxy on/off. Here is a short summary of some of the techniques I used while creating this program.

(more...)

  • Share/Bookmark

Filed under Groovy, Java, Testing | 2 Comments »

Querying associations in Grails with HQL, Criteria and HibernateCriteriaBuilder
Posted by Erik Pragt mid-morning: June 4th, 2008

A thing I was playing with today was many-to-many relationships in Grails to create a Tag Cloud. To create a Tag Cloud, I must have a set of key/value pairs, each with a label and a value of the label, which could look like this:

['Java': 5, 'Grails': 16, 'Groovy': 12]

But to query this, I need to query a many to many relationship and produce the above result. This blog will describe how to do this with HQL, Criteria and the HibernateCriteriaBuilder.
(more...)

  • Share/Bookmark

Filed under Grails, Groovy, Hibernate, Java | 6 Comments »

Powerful Groovy
Posted by Lars Vonk mid-afternoon: May 25th, 2008

For my current assignment I need to write a script that basically does the following: open war file, download and add files from internet, remove files, change xml and property files, re-package war file.

In pure Java, this would be quite some work to implement. Of course there are several libraries available that will make unzipping, downloading etc a bit easier. But still it would be too much effort for such trivial tasks.

Since it is in fact a script I want to create, why not use a scripting language like Groovy. After two days of coding I must say am very happy with the progress I made given the fact that it is actually my first real Groovy programming experience.

Here are some experiences and code I created so far:
(more...)

  • Share/Bookmark

Filed under Groovy, IntelliJ, Java | 8 Comments »

JavaOne 2008 Day Three
Posted by Erik Jan de Wit in the early morning: May 9th, 2008

Today was the third day of the conference. Another couple of hours to go and then it is all over again. The fatigue is kicking in, and we're starting to run on reserve power. The topics of today included:

  • Mylyn
  • Groovy
  • Semantic Web
  • SOA
  • OSGi

(more...)

  • Share/Bookmark

Tags: Groovy, Java, JavaOne, OSGi, Semantic Web, SOA
Filed under Groovy, Java, JavaOne, SOA | 1 Comment »

JavaOne 2008 Day Two
Posted by Jeroen van Erp mid-morning: May 8th, 2008

Today was the second day of the JavaOne 2008. Besides doing a lot of chatting in the JavaOne pavillion, and visiting all the cool parties this night, we also went to a number of sessions. Also today the NLJug had the James Gosling meeting we won for being the biggest JUG out here. After a long day of work, we finally had time to relax at the Adobe party and at the SDN party.

Todays topics included:

  • Closures
  • JavaFx, Groovy and Google Android
  • Swing GUI testing
  • Scripting

(more...)

  • Share/Bookmark

Tags: Closures, Groovy, Java, JavaOne, Scripting, SOA, Web Beans
Filed under Groovy, Java, JavaOne, Oracle, SOA, Testing | 1 Comment »

Helpful error messages in Grails
Posted by Erik Pragt around lunchtime: May 4th, 2008

Currenttly, I'm in the process of building a Grails application. While I've built several prototypes/quick hacks, this is actually the first 'real' application I'm building. "So", I thought, "if this is a real application, I'm in need of some real tests!". When you're in the normal flow of developing a Grails application, everything goes so fast, you almost forget about writing the tests. So I decided to do it a bit differently, and do it just like in Java: do it TDD!
(more...)

  • Share/Bookmark

Tags: Grails, Testing
Filed under Grails, Groovy, Java, Testing | 2 Comments »

JavaOne 2008 Scripting preview
Posted by Jeroen van Erp at around evening time: March 13th, 2008

The biggest Java event of the year is coming up again, the JavaOne. For me this is a place of inspiration. Seeing the newest technologies in action and talking to some of the great minds in the Java world, how can one not become inspired!
(more...)

  • Share/Bookmark

Filed under Grails, Groovy, Java, JavaOne | 2 Comments »

Older Entries
Deployment automation for Java application running on Websphere, WebLogic and JBoss

Archives

  • March 2010
  • February 2010
  • January 2010
  • December 2009
  • November 2009
  • October 2009
  • September 2009
  • August 2009
  • July 2009
  • June 2009
  • May 2009
  • April 2009

Xebia Sites

  • Xebia Corporate
  • Xebia France
  • Xebia India

Categories

  • Java (282)
  • Agile (109)
  • General (50)
  • Testing (42)
  • Performance (42)
  • Hibernate (36)
  • Scrum (33)
  • Podcast (31)
  • Architecture (31)
  • Spring (28)
  • SOA (24)
  • Maven (22)
  • Project Management (22)
  • Middleware (23)
    • Deployment (14)
  • Flex (17)
  • JPA (17)
  • Eclipse (15)
  • Xebia Labs (15)
  • Quality Assurance (14)

Tag Cloud

    Maven Testing Introduction to Agile Architecture Performance IntelliJ Poppendieck Xebia Lean Agile Awareness Workshop Grails product owner Hibernate Java Groovy esb Closures Functional Programming qcon Seam Scala Agile fitnesse SOA Spring JavaOne XML Scrum Ajax Semantic Web