[forge-dev] Core Data Forge Plugin

Luca Masini luca.masini.mailing.list at gmail.com
Wed Jul 17 11:26:29 EDT 2013


Thank you all guys, I managed to generate the code using JCodeModel, is
inside the JDK and it seems good.

Do you know that ??

About Obj-C I only need to generate the code, not to parse it.

Any other hint ?

Thank you.


2013/7/17 Lincoln Baxter, III <lincolnbaxter at gmail.com>

> Hey Luca,
>
> I'm sorry, I've been meaning to answer your email for (blush) a few days
> now. It looks like Vineet finally beat me. I wasn't sure what to tell you
> about the Objective-C mapping stuff. I don't know how that would be
> integrated.
>
> Do you need to parse and understand the Objective-C, or do you just want
> to "spit it out" ?
>
> ~Lincoln
>
>
>  On Wed, Jul 17, 2013 at 5:30 AM, Vineet Reynolds Pereira <
> vpereira at redhat.com> wrote:
>
>>
>> Hi Luca,
>>
>>    You could use MetaWidget again to generate the Java entities and
>> JAX-RS endpoints, although I think it would be better to do it with a
>> combination of both Metawidget (to generate sections of the classes) and
>> the Forge Java Parser API, in combination with a templating language like
>> Freemarker. I have to admit though that I don't have an answer on
>> generating the Objective-C portions.
>>
>> Vineet
>>
>>
>> ----- Original Message -----
>> > From: "Luca Masini" <luca.masini at gmail.com>
>> > To: "forge-dev List" <forge-dev at lists.jboss.org>
>> > Sent: Friday, July 12, 2013 7:18:16 PM
>> > Subject: [forge-dev] Core Data Forge Plugin
>> >
>> > Hi guys, I'm developing a thin framework with the target of allow synch
>> > between an iOS App and a Java EE Server.
>> >
>> > The idea is yet working, we developed a Core Data Incremental Store and
>> a
>> > Java EE 6 application that can answer to the Incremental Store events.
>> >
>> > Now the next step is to generate everything staring from the Core Data
>> Model,
>> > designed inside XCode.
>> >
>> > Basically, the model is simply an XML file, from which I want to
>> generate:
>> >
>> > 1) Objective C mapping for the Incremental Store
>> > 2) Java Entities that map the same model
>> > 3) JAX-RS end-point
>> >
>> > Of course I want to develop a forge plugin and here I need your advices.
>> >
>> > When I started developing the forge-errai-plugin last year I used the
>> > fantastic MetaWidget framework, but now I think that is not the right
>> tool
>> > for the job.
>> >
>> > So, what do you think is the best way, using forge, to make those
>> generators
>> > ?
>> >
>> > Thank you.
>> >
>> > L.
>> >
>> > --
>> > ****************************************
>> > http://www.lucamasini.net
>> > http://twitter.com/lmasini
>> > http://www.linkedin.com/pub/luca-masini/7/10/2b9
>> > ****************************************
>> >
>> > _______________________________________________
>> > forge-dev mailing list
>> > forge-dev at lists.jboss.org
>> > https://lists.jboss.org/mailman/listinfo/forge-dev
>> _______________________________________________
>> forge-dev mailing list
>> forge-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/forge-dev
>>
>
>
>
> --
> Lincoln Baxter, III
> http://ocpsoft.org
> "Simpler is better."
>
> _______________________________________________
> forge-dev mailing list
> forge-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/forge-dev
>



-- 
****************************************
http://www.lucamasini.net
http://twitter.com/lmasini
http://www.linkedin.com/pub/luca-masini/7/10/2b9
****************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/forge-dev/attachments/20130717/2b6db13c/attachment.html 


More information about the forge-dev mailing list