Quantcast

Code Generation

classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Code Generation

Jonathan Carlson
I'm curious, are there Grails users who use Grails for heavy-duty code
generation, or are most people just using the basic code generation and
then manually modifying each and every page to fit their sites look and
feel?  

Does (or will) Grails allow people to create their own templates so
people can generate more complete applications the way they want them?

Just wondering about the direction of Grails in this regard...

- Jonathan

______________________________________________________________________
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com
_____________________________________________________________________

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Code Generation

graemer
Hmm from my own perspective i never thought of it this way.
Scaffolding for me is a great learning tool and helps you get up and
running quickly but i'm not sure beyond that. Thats not to say I don't
think it could be one.

One way to make this more customisable would be to move the templates
out of DefaultTemplateGenerator.groovy and into user accessible
templates.

Graeme

On 8/7/06, Jonathan Carlson <[hidden email]> wrote:

> I'm curious, are there Grails users who use Grails for heavy-duty code
> generation, or are most people just using the basic code generation and
> then manually modifying each and every page to fit their sites look and
> feel?
>
> Does (or will) Grails allow people to create their own templates so
> people can generate more complete applications the way they want them?
>
> Just wondering about the direction of Grails in this regard...
>
> - Jonathan
>
> ______________________________________________________________________
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the system manager.
>
> Katun Corporation -- www.katun.com
> _____________________________________________________________________
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Code Generation

D T-2
In reply to this post by Jonathan Carlson
Jonathan,

I was experimenting with having modules on a page that use AJAX to
obtain their results from various controllers.  It works nicely, but I
did think it would've been nice to be able to somehow include results
from various controllers (or something like that) for more flexibility.

Another few things that would be nice is to have in the controllers are:
- a "forward" capability as well as a "redirect"
- interceptors that would run on (all?) sets of controllers, and
- action/controller variables in the interceptors

Anyway, I should probably write up JIRA feature requests for these.

Best,

- D

Jonathan Carlson wrote:

> I'm curious, are there Grails users who use Grails for heavy-duty code
> generation, or are most people just using the basic code generation and
> then manually modifying each and every page to fit their sites look and
> feel?  
>
> Does (or will) Grails allow people to create their own templates so
> people can generate more complete applications the way they want them?
>
> Just wondering about the direction of Grails in this regard...
>
> - Jonathan
>
> ______________________________________________________________________
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the system manager.
>
> Katun Corporation -- www.katun.com
> _____________________________________________________________________
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>
>
>  

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Code Generation

Kerry Wilson-3
D T wrote:

> Jonathan,
>
> I was experimenting with having modules on a page that use AJAX to
> obtain their results from various controllers.  It works nicely, but I
> did think it would've been nice to be able to somehow include results
> from various controllers (or something like that) for more flexibility.
>
> Another few things that would be nice is to have in the controllers are:
> - a "forward" capability as well as a "redirect"
> - interceptors that would run on (all?) sets of controllers, and
> - action/controller variables in the interceptors
>
> Anyway, I should probably write up JIRA feature requests for these.
>
> Best,
>
> - D
>
>  
actionName and controllerName are available variables ( I added to wiki
last night )

--
Kerry Wilson
Lead Developer
Williams Web
[hidden email] | 423.485.4747


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

kwilson.vcf (292 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Code Generation

Jonathan Carlson
In reply to this post by Jonathan Carlson
You were asking about a "forward" as well as "redirect".  Doesn't render
do what you want?:

render(view:'list', model:[ a : new A() ])

- Jonathan

>>> [hidden email] 2006-08-08 9:05:27 AM >>>
Jonathan,

I was experimenting with having modules on a page that use AJAX to
obtain their results from various controllers.  It works nicely, but I

did think it would've been nice to be able to somehow include results
from various controllers (or something like that) for more
flexibility.

Another few things that would be nice is to have in the controllers
are:
- a "forward" capability as well as a "redirect"
- interceptors that would run on (all?) sets of controllers, and
- action/controller variables in the interceptors

Anyway, I should probably write up JIRA feature requests for these.

Best,

- D

Jonathan Carlson wrote:
> I'm curious, are there Grails users who use Grails for heavy-duty
code
> generation, or are most people just using the basic code generation
and
> then manually modifying each and every page to fit their sites look
and
> feel?  
>
> Does (or will) Grails allow people to create their own templates so
> people can generate more complete applications the way they want
them?
>
> Just wondering about the direction of Grails in this regard...
>
> - Jonathan
>
>
______________________________________________________________________
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please
notify
> the system manager.
>
> Katun Corporation -- www.katun.com
>
_____________________________________________________________________
>
>
---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
>     http://xircles.codehaus.org/manage_email 
>
>
>
>  

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email 


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

______________________________________________________________________
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com
_____________________________________________________________________

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Code Generation

D T-2
In reply to this post by Jonathan Carlson
Kerry: thanks! I didn't know about the additional vars.  Apparently I
should hit page reload more often (I have a firefox tab on the Grails
dynamic functions/properties page open at all times these days).

As for forward vs. redirect:

The grails render method doesn't permit changing the controller, at
least as far as is currently documented.  Sometimes you'd like to have
an action simulate accessing another controller.  Also, sometimes you'd
like to have an index action simulate accessing some other action with a
specific id.  Using a render approach would require having an additional
method to obtain the object which is shared.  It's doable, but certainly
not ideal.

The key difference between a forward and a redirect is that a redirect
will cause a change in the browser address.  A forward does not.  This
can be seen in the difference in the Java request.forward() versus
response.sendRedirect() methods.  While have the redirect functionality
in grails, we don't have the equivalent of forward in grails, at least
as far as I can tell.  It's not something that would kill a project by
any means, but something that makes the URLs less than ideal at times.  
This is noted in the following two articles:

http://www.theserverside.com/discussions/thread.tss?thread_id=742
http://www.javapractices.com/Topic181.cjp

I also tried the chain method, but that didn't seem to do the trick.  I
was thinking that since we have a dynamic redirect method in the
controllers, it wouldn't be too far fetched to have a forward method.

- D

Jonathan Carlson wrote:

> You were asking about a "forward" as well as "redirect".  Doesn't render
> do what you want?:
>
> render(view:'list', model:[ a : new A() ])
>
> - Jonathan
>
>  
>>>> [hidden email] 2006-08-08 9:05:27 AM >>>
>>>>        
> Jonathan,
>
> I was experimenting with having modules on a page that use AJAX to
> obtain their results from various controllers.  It works nicely, but I
>
> did think it would've been nice to be able to somehow include results
> from various controllers (or something like that) for more
> flexibility.
>
> Another few things that would be nice is to have in the controllers
> are:
> - a "forward" capability as well as a "redirect"
> - interceptors that would run on (all?) sets of controllers, and
> - action/controller variables in the interceptors
>
> Anyway, I should probably write up JIRA feature requests for these.
>
> Best,
>
> - D
>
> Jonathan Carlson wrote:
>  
>> I'm curious, are there Grails users who use Grails for heavy-duty
>>    
> code
>  
>> generation, or are most people just using the basic code generation
>>    
> and
>  
>> then manually modifying each and every page to fit their sites look
>>    
> and
>  
>> feel?  
>>
>> Does (or will) Grails allow people to create their own templates so
>> people can generate more complete applications the way they want
>>    
> them?
>  
>> Just wondering about the direction of Grails in this regard...
>>
>> - Jonathan
>>
>>
>>    
> ______________________________________________________________________
>  
>> This email and any files transmitted with it are confidential and
>> intended solely for the use of the individual or entity to whom they
>> are addressed. If you have received this email in error please
>>    
> notify
>  
>> the system manager.
>>
>> Katun Corporation -- www.katun.com
>>
>>    
> _____________________________________________________________________
>  
>>    
> ---------------------------------------------------------------------
>  
>> To unsubscribe from this list please visit:
>>
>>     http://xircles.codehaus.org/manage_email 
>>
>>
>>
>>  
>>    
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com 
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
>     http://xircles.codehaus.org/manage_email 
>
>
> ______________________________________________________________________
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email 
> ______________________________________________________________________
>
> ______________________________________________________________________
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the system manager.
>
> Katun Corporation -- www.katun.com
> _____________________________________________________________________
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>
>
>  

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Code Generation

graemer
I imagine you can still use the regular servlet RequestDistpacher's
forward method. Alternatively if its an action in the same controller
you are forwarding to you can just invoke it instead like a method.

Or of course please raise a feature request in JIRA if you want this
and we'll see what we can do

Graeme

On 8/8/06, D T <[hidden email]> wrote:

> Kerry: thanks! I didn't know about the additional vars.  Apparently I
> should hit page reload more often (I have a firefox tab on the Grails
> dynamic functions/properties page open at all times these days).
>
> As for forward vs. redirect:
>
> The grails render method doesn't permit changing the controller, at
> least as far as is currently documented.  Sometimes you'd like to have
> an action simulate accessing another controller.  Also, sometimes you'd
> like to have an index action simulate accessing some other action with a
> specific id.  Using a render approach would require having an additional
> method to obtain the object which is shared.  It's doable, but certainly
> not ideal.
>
> The key difference between a forward and a redirect is that a redirect
> will cause a change in the browser address.  A forward does not.  This
> can be seen in the difference in the Java request.forward() versus
> response.sendRedirect() methods.  While have the redirect functionality
> in grails, we don't have the equivalent of forward in grails, at least
> as far as I can tell.  It's not something that would kill a project by
> any means, but something that makes the URLs less than ideal at times.
> This is noted in the following two articles:
>
> http://www.theserverside.com/discussions/thread.tss?thread_id=742
> http://www.javapractices.com/Topic181.cjp
>
> I also tried the chain method, but that didn't seem to do the trick.  I
> was thinking that since we have a dynamic redirect method in the
> controllers, it wouldn't be too far fetched to have a forward method.
>
> - D
>
> Jonathan Carlson wrote:
> > You were asking about a "forward" as well as "redirect".  Doesn't render
> > do what you want?:
> >
> > render(view:'list', model:[ a : new A() ])
> >
> > - Jonathan
> >
> >
> >>>> [hidden email] 2006-08-08 9:05:27 AM >>>
> >>>>
> > Jonathan,
> >
> > I was experimenting with having modules on a page that use AJAX to
> > obtain their results from various controllers.  It works nicely, but I
> >
> > did think it would've been nice to be able to somehow include results
> > from various controllers (or something like that) for more
> > flexibility.
> >
> > Another few things that would be nice is to have in the controllers
> > are:
> > - a "forward" capability as well as a "redirect"
> > - interceptors that would run on (all?) sets of controllers, and
> > - action/controller variables in the interceptors
> >
> > Anyway, I should probably write up JIRA feature requests for these.
> >
> > Best,
> >
> > - D
> >
> > Jonathan Carlson wrote:
> >
> >> I'm curious, are there Grails users who use Grails for heavy-duty
> >>
> > code
> >
> >> generation, or are most people just using the basic code generation
> >>
> > and
> >
> >> then manually modifying each and every page to fit their sites look
> >>
> > and
> >
> >> feel?
> >>
> >> Does (or will) Grails allow people to create their own templates so
> >> people can generate more complete applications the way they want
> >>
> > them?
> >
> >> Just wondering about the direction of Grails in this regard...
> >>
> >> - Jonathan
> >>
> >>
> >>
> > ______________________________________________________________________
> >
> >> This email and any files transmitted with it are confidential and
> >> intended solely for the use of the individual or entity to whom they
> >> are addressed. If you have received this email in error please
> >>
> > notify
> >
> >> the system manager.
> >>
> >> Katun Corporation -- www.katun.com
> >>
> >>
> > _____________________________________________________________________
> >
> >>
> > ---------------------------------------------------------------------
> >
> >> To unsubscribe from this list please visit:
> >>
> >>     http://xircles.codehaus.org/manage_email
> >>
> >>
> >>
> >>
> >>
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam protection around
> > http://mail.yahoo.com
> >
> > ---------------------------------------------------------------------
> > To unsubscribe from this list please visit:
> >
> >     http://xircles.codehaus.org/manage_email
> >
> >
> > ______________________________________________________________________
> > This email has been scanned by the MessageLabs Email Security System.
> > For more information please visit http://www.messagelabs.com/email
> > ______________________________________________________________________
> >
> > ______________________________________________________________________
> > This email and any files transmitted with it are confidential and
> > intended solely for the use of the individual or entity to whom they
> > are addressed. If you have received this email in error please notify
> > the system manager.
> >
> > Katun Corporation -- www.katun.com
> > _____________________________________________________________________
> >
> > ---------------------------------------------------------------------
> > To unsubscribe from this list please visit:
> >
> >     http://xircles.codehaus.org/manage_email
> >
> >
> >
> >
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Code Generation

Jonathan Carlson
In reply to this post by Jonathan Carlson
When I asked about code generation, I was mostly interested in knowing
what tools people use when they want to do code generation beyond what
Grails provides.  I'm guessing the lack of response means that few on
this list are doing code generation beyond the standard stuff.

1) I think Gram might be an option for meta data.

2) Velocity is an option for making templates, etc.  I've done some
Velocity and that works nicely.

3) Groovy has templating support that looks pretty usable:  (
http://groovy.codehaus.org/Groovy+Templates )

- Jonathan

______________________________________________________________________
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com
_____________________________________________________________________

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Code Generation

graemer
On 8/9/06, Jonathan Carlson <[hidden email]> wrote:
> When I asked about code generation, I was mostly interested in knowing
> what tools people use when they want to do code generation beyond what
> Grails provides.  I'm guessing the lack of response means that few on
> this list are doing code generation beyond the standard stuff.
>
> 1) I think Gram might be an option for meta data.
Yes we may use Gram to auto-locate EJB3 entities thus nullifying the
need for hibernate.cfg.xml when using EJB3 mapping

>
> 2) Velocity is an option for making templates, etc.  I've done some
> Velocity and that works nicely.
Groovy templates are nicer IMO

>
> 3) Groovy has templating support that looks pretty usable:  (
> http://groovy.codehaus.org/Groovy+Templates )
I used them in the simple-cms sample app

Cheers
Graeme

>
> - Jonathan
>
> ______________________________________________________________________
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the system manager.
>
> Katun Corporation -- www.katun.com
> _____________________________________________________________________
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Code Generation

felipenasc
For Code Generation, you can try
GreenBox - Code Generation Framework
https://greenbox.dev.java.net/

[]s
Felipe

2006/8/9, Graeme Rocher <[hidden email]>:

> On 8/9/06, Jonathan Carlson <[hidden email]> wrote:
> > When I asked about code generation, I was mostly interested in knowing
> > what tools people use when they want to do code generation beyond what
> > Grails provides.  I'm guessing the lack of response means that few on
> > this list are doing code generation beyond the standard stuff.
> >
> > 1) I think Gram might be an option for meta data.
> Yes we may use Gram to auto-locate EJB3 entities thus nullifying the
> need for hibernate.cfg.xml when using EJB3 mapping
>
> >
> > 2) Velocity is an option for making templates, etc.  I've done some
> > Velocity and that works nicely.
> Groovy templates are nicer IMO
>
> >
> > 3) Groovy has templating support that looks pretty usable:  (
> > http://groovy.codehaus.org/Groovy+Templates )
> I used them in the simple-cms sample app
>
> Cheers
> Graeme
>
> >
> > - Jonathan
> >
> > ______________________________________________________________________
> > This email and any files transmitted with it are confidential and
> > intended solely for the use of the individual or entity to whom they
> > are addressed. If you have received this email in error please notify
> > the system manager.
> >
> > Katun Corporation -- www.katun.com
> > _____________________________________________________________________
> >
> > ---------------------------------------------------------------------
> > To unsubscribe from this list please visit:
> >
> >     http://xircles.codehaus.org/manage_email
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Code Generation

Jonathan Carlson
In reply to this post by Jonathan Carlson
Thanks for the tip.  It looks interesting, but it looks like uses XML as
input.  I rather dislike XML as a scripting language.  Now, if it used
Groovy builder as input... :-)



>>> [hidden email] 2006-08-09 3:04:27 PM >>>
For Code Generation, you can try
GreenBox - Code Generation Framework
https://greenbox.dev.java.net/ 

[]s
Felipe

2006/8/9, Graeme Rocher <[hidden email]>:
> On 8/9/06, Jonathan Carlson <[hidden email]> wrote:
> > When I asked about code generation, I was mostly interested in
knowing
> > what tools people use when they want to do code generation beyond
what
> > Grails provides.  I'm guessing the lack of response means that few
on
> > this list are doing code generation beyond the standard stuff.
> >
> > 1) I think Gram might be an option for meta data.
> Yes we may use Gram to auto-locate EJB3 entities thus nullifying the
> need for hibernate.cfg.xml when using EJB3 mapping
>
> >
> > 2) Velocity is an option for making templates, etc.  I've done
some

> > Velocity and that works nicely.
> Groovy templates are nicer IMO
>
> >
> > 3) Groovy has templating support that looks pretty usable:  (
> > http://groovy.codehaus.org/Groovy+Templates )
> I used them in the simple-cms sample app
>
> Cheers
> Graeme
>
> >
> > - Jonathan
> >
> >
______________________________________________________________________
> > This email and any files transmitted with it are confidential and
> > intended solely for the use of the individual or entity to whom
they
> > are addressed. If you have received this email in error please
notify
> > the system manager.
> >
> > Katun Corporation -- www.katun.com
> >
_____________________________________________________________________
> >
> >
---------------------------------------------------------------------
> > To unsubscribe from this list please visit:
> >
> >     http://xircles.codehaus.org/manage_email 
> >
> >
>
>
---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
>    http://xircles.codehaus.org/manage_email 
>
>

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email 


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

______________________________________________________________________
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

Katun Corporation -- www.katun.com
_____________________________________________________________________

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Code Generation

felipenasc
it uses Velocity templates for your code templates (that can be Java
classes to be generated, or Groovy classes, PHP pages, whatever).

And as a framework, you could extend it to use Groovy templates
instead of Velocity.

[]s
Felipe

2006/8/9, Jonathan Carlson <[hidden email]>:

> Thanks for the tip.  It looks interesting, but it looks like uses XML as
> input.  I rather dislike XML as a scripting language.  Now, if it used
> Groovy builder as input... :-)
>
>
>
> >>> [hidden email] 2006-08-09 3:04:27 PM >>>
> For Code Generation, you can try
> GreenBox - Code Generation Framework
> https://greenbox.dev.java.net/
>
> []s
> Felipe
>
> 2006/8/9, Graeme Rocher <[hidden email]>:
> > On 8/9/06, Jonathan Carlson <[hidden email]> wrote:
> > > When I asked about code generation, I was mostly interested in
> knowing
> > > what tools people use when they want to do code generation beyond
> what
> > > Grails provides.  I'm guessing the lack of response means that few
> on
> > > this list are doing code generation beyond the standard stuff.
> > >
> > > 1) I think Gram might be an option for meta data.
> > Yes we may use Gram to auto-locate EJB3 entities thus nullifying the
> > need for hibernate.cfg.xml when using EJB3 mapping
> >
> > >
> > > 2) Velocity is an option for making templates, etc.  I've done
> some
> > > Velocity and that works nicely.
> > Groovy templates are nicer IMO
> >
> > >
> > > 3) Groovy has templating support that looks pretty usable:  (
> > > http://groovy.codehaus.org/Groovy+Templates )
> > I used them in the simple-cms sample app
> >
> > Cheers
> > Graeme
> >
> > >
> > > - Jonathan
> > >
> > >
> ______________________________________________________________________
> > > This email and any files transmitted with it are confidential and
> > > intended solely for the use of the individual or entity to whom
> they
> > > are addressed. If you have received this email in error please
> notify
> > > the system manager.
> > >
> > > Katun Corporation -- www.katun.com
> > >
> _____________________________________________________________________
> > >
> > >
> ---------------------------------------------------------------------
> > > To unsubscribe from this list please visit:
> > >
> > >     http://xircles.codehaus.org/manage_email
> > >
> > >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe from this list please visit:
> >
> >    http://xircles.codehaus.org/manage_email
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
> ______________________________________________________________________
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email
> ______________________________________________________________________
>
> ______________________________________________________________________
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the system manager.
>
> Katun Corporation -- www.katun.com
> _____________________________________________________________________
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Loading...