You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cayenne.apache.org by Markus Reich <re...@gmail.com> on 2023/01/31 07:06:39 UTC
Cayenne web module deprecated
Hi,
I saw that the web module is deprecated since 4.2
I checked the DB First docu of 4.2. but there's the module still in use?
What is the new way to use cayenne with J2EE apps?
best regards
Meex
Re: Cayenne web module deprecated
Posted by Andrus Adamchik <aa...@gmail.com>.
Yeah, there's so many ways to create a (web) app these days, that we can't support them all properly.
Andrus
> On Jan 31, 2023, at 5:49 PM, John Huss <jo...@gmail.com> wrote:
>
> The web module provides a very small amount of functionality that is pretty
> easy to copy into your own application. I'd suggest looking at the code of
> CayenneFilter
> <https://github.com/apache/cayenne/blob/STABLE-4.2/cayenne-web/src/main/java/org/apache/cayenne/configuration/web/CayenneFilter.java>
> to see how it works.
>
> With two servlet options now - javax and jakarta and the limitations
> stemming from defining the runtime fully in the web.xml file, it was
> decided that the web module would be better left as sample code for users
> to implement in their own projects.
>
>
>
> On Tue, Jan 31, 2023 at 1:06 AM Markus Reich <re...@gmail.com> wrote:
>
>> Hi,
>>
>> I saw that the web module is deprecated since 4.2
>> I checked the DB First docu of 4.2. but there's the module still in use?
>> What is the new way to use cayenne with J2EE apps?
>>
>> best regards
>> Meex
>>
Re: Cayenne web module deprecated
Posted by John Huss <jo...@gmail.com>.
The web module provides a very small amount of functionality that is pretty
easy to copy into your own application. I'd suggest looking at the code of
CayenneFilter
<https://github.com/apache/cayenne/blob/STABLE-4.2/cayenne-web/src/main/java/org/apache/cayenne/configuration/web/CayenneFilter.java>
to see how it works.
With two servlet options now - javax and jakarta and the limitations
stemming from defining the runtime fully in the web.xml file, it was
decided that the web module would be better left as sample code for users
to implement in their own projects.
On Tue, Jan 31, 2023 at 1:06 AM Markus Reich <re...@gmail.com> wrote:
> Hi,
>
> I saw that the web module is deprecated since 4.2
> I checked the DB First docu of 4.2. but there's the module still in use?
> What is the new way to use cayenne with J2EE apps?
>
> best regards
> Meex
>