Luckless's Profile User Rating: *****

Reputation: 292 Architect
Group:
Contributors
Active Posts:
1,152 (0.63 per day)
Joined:
31-August 09
Profile Views:
18,891
Last Active:
User is offline Feb 14 2014 01:31 PM
Currently:
Offline

Previous Fields

Country:
US
OS Preference:
Windows
Favorite Browser:
Chrome
Favorite Processor:
AMD
Favorite Gaming Platform:
Playstation
Your Car:
Honda
Dream Kudos:
100

Latest Visitors

Icon   Luckless <rebooting>

Blog entries

The Way I See It > Groovy StreamingMarkupBuilder Empty Tags

Posted 01 November 2013

I found something interesting today at work while playing with Groovy. By default, the StreamingMarkupBuilder builds empty tags like this:

<someTag />


but an external system that uses our API needs the tags to be expanded like this:

<someTag></someTag>
...

Read Full Entry →

The Way I See It > Groovy Strings

Posted 06 September 2013

I'm back again to write about Strings in Groovy. If you are like me, then you use strings for all sorts of things. Groovy has some nice features that make it a pleasure.

GStrings

In Groovy, you can declare strings with single or double quotes. Double quotes denote GStrings--strings that allow exp...

Read Full Entry →

The Way I See It > Excluding Groovy Methods in AspectJ Advice

Posted 29 August 2013

Groovy is great for developers because of its simple scripting feel, but in order to compile to java bytecode, it adds lots of bloat at compile time to make the magic work. When mixing it with AspectJ's post-compile binary weaving, it will cause lots of unwanted methods to be caught by your AspectJ Advice. I wrote a pointcut to help eliminate...

Read Full Entry →

The Way I See It > Collecting attributes from a Collection of Objects

Posted 27 August 2013

Groovy provides us with a slick way to iterate over objects in a collection to collet specific attributes. This is called the Spread operator ("*.")

For example:

class Person{     String name;     int age;}


Say we have a collection of people:

...

Read Full Entry →

The Way I See It > Totally Groovy

Posted 07 August 2012

Intro...

Read Full Entry →

My Information

Member Title:
</luck>
Age:
22 years old
Birthday:
May 1, 1992
Gender:
Location:
United States
Interests:
Anything outdoors. Swimming is by far my favorite activity, besides conjuring up some programs ;) I like to think of myself as a jack-of-all-trades and love to learn what makes things tick.
Full Name:
Dakota Brown
Years Programming:
3
Programming Languages:
Proficient in: C++, Java, Groovy, Spring, Camel

Dabble in: HTML & CSS, SQL, PHP

Contact Information

E-mail:
Click here to e-mail me
Website URL:
Website URL  http://dakotalovesjava.blogspot.com/

Comments

Page 1 of 1
  1. Photo

    ATAC_2000 Icon

    05 Dec 2013 - 16:30
    hi my friend...could you send me the full java code with the hotel reservation(http://www.dreamincode.net/forums/topic/200725-an-array-of-objects-with-a-program-with-two-classes/)
    ...please send me at tst12125@uop.gr
  2. Photo

    Frinavale Icon

    28 Jun 2010 - 12:13
    When I read your signature I had this urge to respond with "If the only tool you have is a hammer, you will see every problem as a nail..."
    :)
Page 1 of 1