Generic DAO And Service

5 messages Options
Embed this post
Permalink
André Faria-3

Generic DAO And Service

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
In appfuse 2 the DAO's will work with tiger generics, but what about service/manager    ?
Something like public class PersonService<EntityType, IdType>{} ?

[]'s,
André Faria

--------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email]
Matt Raible-3

Re: Generic DAO And Service

Reply Threaded More More options
Print post
Permalink
I just ran into this myself last night.  It seems we need to add a
GenericManager to allow accessing the GenericDao from the web tier.

Matt

On 11/29/06, André Faria <[hidden email]> wrote:

>
>  In appfuse 2 the DAO's will work with tiger generics, but what about
> service/manager    ?
>  Something like public class PersonService<EntityType, IdType>{} ?
>
>
> []'s,
>  André Faria
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [hidden email] For additional
> commands, e-mail: [hidden email]


--
http://raibledesigns.com
Bryan Noll

Re: Generic DAO And Service

Reply Threaded More More options
Print post
Permalink
I can add this stuff if you all like.  A new class called GenericManager
good with you guys?  This will simply be a convenience class that the
current managers do not extend from if that sounds good to those who care.

Let me know if this works and I'll get it in sometime today.

Thanks...

Bryan

Matt Raible wrote:

> I just ran into this myself last night.  It seems we need to add a
> GenericManager to allow accessing the GenericDao from the web tier.
>
> Matt
>
> On 11/29/06, André Faria <[hidden email]> wrote:
>>
>>  In appfuse 2 the DAO's will work with tiger generics, but what about
>> service/manager    ?
>>  Something like public class PersonService<EntityType, IdType>{} ?
>>
>>
>> []'s,
>>  André Faria
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail:
>> [hidden email] For additional
>> commands, e-mail: [hidden email]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Matt Raible-3

Re: Generic DAO And Service

Reply Threaded More More options
Print post
Permalink
I've already started this.  If you want to review it, I'll commit it soon.

Matt

On 11/29/06, Bryan Noll <[hidden email]> wrote:

> I can add this stuff if you all like.  A new class called GenericManager
> good with you guys?  This will simply be a convenience class that the
> current managers do not extend from if that sounds good to those who care.
>
> Let me know if this works and I'll get it in sometime today.
>
> Thanks...
>
> Bryan
>
> Matt Raible wrote:
> > I just ran into this myself last night.  It seems we need to add a
> > GenericManager to allow accessing the GenericDao from the web tier.
> >
> > Matt
> >
> > On 11/29/06, André Faria <[hidden email]> wrote:
> >>
> >>  In appfuse 2 the DAO's will work with tiger generics, but what about
> >> service/manager    ?
> >>  Something like public class PersonService<EntityType, IdType>{} ?
> >>
> >>
> >> []'s,
> >>  André Faria
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail:
> >> [hidden email] For additional
> >> commands, e-mail: [hidden email]
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>


--
http://raibledesigns.com
Bryan Noll

Re: Generic DAO And Service

Reply Threaded More More options
Print post
Permalink
Cool... I created it here a few minutes ago, because I usually will
forget about it if its not in JIRA....make sure you close it.  I'll give
it a once over when you get it in.

http://issues.appfuse.org/browse/APF-535

Thanks...

Matt Raible wrote:

> I've already started this.  If you want to review it, I'll commit it
> soon.
>
> Matt
>
> On 11/29/06, Bryan Noll <[hidden email]> wrote:
>> I can add this stuff if you all like.  A new class called GenericManager
>> good with you guys?  This will simply be a convenience class that the
>> current managers do not extend from if that sounds good to those who
>> care.
>>
>> Let me know if this works and I'll get it in sometime today.
>>
>> Thanks...
>>
>> Bryan
>>
>> Matt Raible wrote:
>> > I just ran into this myself last night.  It seems we need to add a
>> > GenericManager to allow accessing the GenericDao from the web tier.
>> >
>> > Matt
>> >
>> > On 11/29/06, André Faria <[hidden email]> wrote:
>> >>
>> >>  In appfuse 2 the DAO's will work with tiger generics, but what about
>> >> service/manager    ?
>> >>  Something like public class PersonService<EntityType, IdType>{} ?
>> >>
>> >>
>> >> []'s,
>> >>  André Faria
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail:
>> >> [hidden email] For additional
>> >> commands, e-mail: [hidden email]
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]
>> For additional commands, e-mail: [hidden email]
>>
>>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]