Re: Using Tapestry as BfF for React

Peter Skala <[email protected]> Sun, 18 Jan 2026 15:20:10 +0100
Newsgroups gmane.comp.jakarta.tapestry.devel
Message-ID <[email protected]>
Hi Ben,

thanks for the information.
I'v built the head version myself, tried both the jakarta and 
non-jakarta variants, and in both cases I'v got jakarta clashes at start 
time.

There is no time pressure, but nevertheless, how can I get the snapshot 
jars?

Regards, Peter

Am 18.01.2026 12:42, schrieb Ben Weidig:
> Hi there!
> 
> We are definitely going to finish 5.10 ;-)
> 
> The next point on the agenda is an RC, as there are a lot of changes, 
> and
> we don’t want to have to push 5.10.1 directly after.
> 
> What exactly didn’t you get running?
> Did you use a snapshot, or build it yourself?
> 
> If there’s no time pressure, maybe waiting for the RC might be the best
> approach.
> The more people test their special cases with it, the more issues can 
> be
> fixed before releasing the final 5.10.
> 
> Cheers
> Ben
> 
> On Tue, Jan 13, 2026 at 8:30 PM Numa Schmeder via dev <
> [email protected]> wrote:
> 
>> Hi Peter,
>> 
>> This is a great idea! I wanted to work on this use case as I use quite
>> extensively Tapestry in some projects and Nextjs on other projects.
>> But for heavy backend use I really prefer Tapestry. It avoids 
>> streaming
>> tones of javascript to the frontend. I would really like to tightly
>> integrate both and get rid of jQuery. Call Tapestry page action 
>> listeners
>> directly from React using helpers, build dynamic forms and components 
>> with
>> react, and synchronise them with Tapestry etc.
>> 
>> Great work!
>> 
>> Regards,
>> 
>> Numa
>> 
>> 
>> > Le 13 janv. 2026 à 09:26, [email protected] a écrit :
>> >
>> > Hi guys,
>> >
>> > there are some scenarios in which Tapestry can be very useful as backend
>> for frontend for React apps, instead of Javascript BfFs as suggested 
>> by
>> React, e.g. nextjs.
>> > There are many reasons to prefer a java BfF, the main one is reducing of
>> size and complexity of large React SPAs - it is much easier to do 
>> while
>> using a Java BfF (not necessarily Tapestry) then nextjs.
>> >
>> > The idea is to build an ESM module from a React node project and use it
>> in Tapestry as a resource.
>> >
>> > You can find here:
>> >
>> >   https://www.webclient.at/SourceCode#Demo_Application_Sources
>> >
>> > how it works with tapestry versions up to 5.9.0 and React 19.1
>> >
>> > As the future Tapestry version 5.10. enables ESM modules directly, I'v
>> tried to build the same demo with Tapestry head, but I am not able to 
>> get
>> it running. Does it make sense to keep trying? Will the version 5.10 
>> be
>> finished?
>> >
>> >
>> > You can find here more about the motivation behind this endeavour:
>> >
>> > https://www.webclient.at/WebClientExperience#Java_BfF_for_React_Micro
>> >
>> > here a simple demo app:
>> >
>> > https://www.webclient.at/DemoApp
>> >
>> > As long as you are using React version lower than 19, it is possible to
>> use React UMD modules, in this case you would not necessarily need to
>> create an ESM module for the React app.
>> >
>> > With regards, Peter Skala
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: [email protected]
>> > For additional commands, e-mail: [email protected]
>> >
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>> 
>>