I have now added a small example app to the source repository. It
works for me, YMMV. You will need the groovy-eclipse plugin, and
WOGroovy framework installed for it to compile and run. I haven't
made any source tarballs, so for now just use subversion.
The Main component is written in groovy, but the rest is still
regular java. You can mix and match both groovy and java code as you
see fit, to the JVM they both look the same, just avoid cyclic
dependancies or the compilers won't know what to do.
Seeya...Q
On 16/03/2007, at 10:39 PM, Q wrote:
Ok, I am dumping the code into a repository now [ http://
code.google.com/p/wogroovy/ ]. There is no documentation (yet). I
will probably do up some contrived examples as I get time. Have
fun, don't hurt yourselves ;)
Seeya...Q
On 16/03/2007, at 8:56 PM, Mike Schrag wrote:
Yeah -- I'd be interested to see this as well ...
ms
On Mar 16, 2007, at 3:31 AM, Q wrote:
I have been playing with groovy a little bit over the last few
days and I am surprised that I haven't seen much talk of using it
with webobjects.
I found an old (abandoned?) project on sourceforge.jp (WOGroovy)
that I have reworked and updated to use the latest revision of
groovy and to function a little differently (better?). Now
instead of messing with classloader order it now implements a
simple MetaClass loader that will preload a collection of
WebObjects & WOnder functionality into the groovy
MetaClassRegistry for various base classes (I'm not sure if this
is the best approach, but so far it works the way I want it to).
The groovy eclipse plugin isn't without it's quirks at the
moment, but it is evolving, and everything plays nice with WOLips
thus far so things are looking very promising.
When you combine the dynamic typing, closures, autoboxing and
support for categories it stacks up to be a great companion to
the webobjects way of doing things. Was someone saying they
missed categories recently?
If anyone is interested in playing with this, I can probably put
it online somewhere. (It's in a constant state of flux at the
moment as I am learning to use groovy at the same time).
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/qdolan%
40gmail.com
This email sent to [EMAIL PROTECTED]
--
Seeya...Q
Quinton Dolan - [EMAIL PROTECTED]
Gold Coast, QLD, Australia
Ph: +61 419 729 806
--
Quinton Dolan
OntheNet - Application Development
P +61 7 5553 9222
F +61 7 5593 3557
M +61 4 1972 9806
W http://www.onthenet.com.au
--
Seeya...Q
Quinton Dolan - [EMAIL PROTECTED]
Gold Coast, QLD, Australia
Ph: +61 419 729 806
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]