I recently reviewed the group and saw a thread on automating POJO 
conversion from Java to AS.  I've just developed an XDoclet2 plugin that 
  does this and will make it available shortly after it gets some testing.

It also converts static final fields from Java into static vars in AS, 
and works for both AS2 and AS3.  Pretty handy!

... .  .    .       .            j


Jim Schneider wrote:
> I’m looking to automatically generate actionscript pojos  from java 
> pojos (ejb3 annotations) using Ant. I saw the AS2vogenerator, but it was 
> my understanding that was done in an IDE and was dependent on hbm files. 
> Maybe I misunderstand the capabilities.
> 
>  
> 
> On a related note, has anyone been able to generate DDL using the 
> hibernate-tools ant task without having to list out all of the annotated 
> classes in the hibernate.cfg.xml file? Seems like there should be a way 
> to “pass in” the class files to the annotationconfiguration ant element, 
> but after searching for a couple hours, I didn’t see that this was 
> supported. Ideally, this should read from a “par” file and not really 
> need the cfg.xml file (except for database dialect).
> 
>  
> 
> While I’m asking for everything, does anyone else have some useful code 
> generation tools (using ant) that they can share? Specifically, from an 
> ejb3 annotated set of pojos, and a business service interface (ejb3 
> stateless session interface), I would like to:
> 
>  
> 
>    1. Generate DDL for any given database dialect
>    2. Generate actionscript pojos from java pojos
>    3. Generate server-side java business delegate (remote object) from a
>       business service  interface (ejb3 stateless session interface)
>    4. Generate client-side actionscript business delegate from that same
>       interface (for cairngorm framework)
> 
>  
> 
> Again, I want to do this all from ant, not from an IDE. Maybe these are 
> just a set of velocity templates? Any examples of these (and how to 
> invoke in ant) would be great as I’d rather not have to learn the 
> velocity template language (yet!).
> 
>  
> 
> Thanks,
> 
>  
> 
> Jim
> 
>  
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
> 
> 
> 
> SPONSORED LINKS
> Web site design development 
> <http://groups.yahoo.com/gads?t=ms&k=Web+site+design+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=L-4QTvxB_quFDtMyhrQaHQ>
>  
>       Computer software development 
> <http://groups.yahoo.com/gads?t=ms&k=Computer+software+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=lvQjSRfQDfWudJSe1lLjHw>
>  
>       Software design and development 
> <http://groups.yahoo.com/gads?t=ms&k=Software+design+and+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=1pMBCdo3DsJbuU9AEmO1oQ>
>  
> 
> Macromedia flex 
> <http://groups.yahoo.com/gads?t=ms&k=Macromedia+flex&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=OO6nPIrz7_EpZI36cYzBjw>
>  
>       Software development best practice 
> <http://groups.yahoo.com/gads?t=ms&k=Software+development+best+practice&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=f89quyyulIDsnABLD6IXIw>
>  
> 
> 
> 
> ------------------------------------------------------------------------
> YAHOO! GROUPS LINKS
> 
>     *  Visit your group "flexcoders
>       <http://groups.yahoo.com/group/flexcoders>" on the web.
>        
>     *  To unsubscribe from this group, send an email to:
>        [EMAIL PROTECTED]
>       <mailto:[EMAIL PROTECTED]>
>        
>     *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
>       Service <http://docs.yahoo.com/info/terms/>.
> 
> 
> ------------------------------------------------------------------------
> 


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/2jUsvC/tzNLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to