Re: Cayenne web module deprecated

2023-01-31 Thread John Huss
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

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  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

2023-01-31 Thread Andrus Adamchik
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  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
> 
> 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  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
>>