On 8/7/07, Dan Diephouse <[EMAIL PROTECTED]> wrote:
> Hi James,
>
> I've thought about APP and CXF a bit, and I've not yet seen a great way to
> bring the two together. The way you design & model your services is
> completely different. Can you go into more detail about how you see the two
> coming together?

Am not totally sure yet :) Was hoping someone less heavily loaded
would dive in and experiment :)

I guess the most natural starting point could be to just model JPA
beans first - as entity beans are naturally CRUD-ish, map nicely to
RESTful resources, have definite collections, relationships &
navigation paths. So start with entity beans & get those working (i.e.
expose all/any JPA entity beans as APP easily); then see if we can
work on other things afterwards as a pseudo entity bean maybe?

Resources often map to 'entities' of some kind (little blobs of XML, a
row in a database etc) so rather than starting with the random
any-old-Java-object service model - starting with entity beans might
be a better start?


-- 
James
-------
http://macstrac.blogspot.com/

Reply via email to