Yes. The JPA mappings are there and moving forward, I'd like to see us
switch over to using annotations rather than the separate XML files.
It is possible to mix them in one app and, I believe, we are already
doing so.

- Dave



On Thu, Sep 30, 2010 at 12:10 PM, Peter Lin <[email protected]> wrote:
> Thanks for the response.
>
> I was able to muddle through and figured out the POJO directory on
> tuesday. I also managed to figure out the db script creation process.
>
> Looking at the source, it appears the jpa mappings are in
> "weblogger-business\src\main\resources\org\apache\roller\weblogger\pojos"
>
> is that the correct?
>
> thanks
>
> peter
>
> On Thu, Sep 30, 2010 at 11:42 AM, Dave <[email protected]> wrote:
>> Hi Peter,
>>
>> There are some developer resources here on the wiki:
>>   https://cwiki.apache.org/confluence/x/D84
>>
>> There is a data model diagram for Roller 4 here:
>>   http://rollerweblogger.org/roller/resource/datamodel40.png
>>
>> In Roller 5, look at the weblogger-business module. It has the Manager
>> interfaces that handle persistence and backend "business" logic. To
>> add a new POJO you need to add a new Java class (see
>> org.apache.roller.weblogger.pojos) and add new methods to a Manager
>> interface, or possibly add an entirely new Manager for a set of
>> related new POJOs.
>>
>> I'd be happy to answer specific questions or chat via phone to help
>> you get started.
>>
>> Thanks,
>> Dave
>>
>>
>> On Mon, Sep 27, 2010 at 4:48 PM, Peter Lin <[email protected]> wrote:
>>> I'm playing with Roller 5RC and was trying to add a few tables and
>>> pojos for kicks. Is there any docs on the design? I see the
>>> persistence manager stuff under planet-business. Being new to roller,
>>> the design isn't obvious to me after spending several hours studying
>>> it.
>>>
>>> any help is greatly appreciated.
>>>
>>> peter lin
>>>
>>
>

Reply via email to