JavaScript required in stateless mode?

16 views
Skip to first unread message

P

unread,
Apr 17, 2014, 5:57:34 PM4/17/14
to its...@googlegroups.com
Is it required to write JavaScript when using ItsNat in stateless mode?
The tutorial does require JavaScript: http://itsnat.sourceforge.net/index.php?_page=support.tutorial.core_stateless

Jose Maria Arranz Santamaria

unread,
Apr 18, 2014, 5:17:02 AM4/18/14
to its...@googlegroups.com, pragp...@gmail.com
El jueves, 17 de abril de 2014 23:57:34 UTC+2, P escribió:
> Is it required to write JavaScript when using ItsNat in stateless mode?
> The tutorial does require JavaScript: http://itsnat.sourceforge.net/index.php?_page=support.tutorial.core_stateless

Yes, you're right, stateless mode is much more client centric than stateful, in stateless mode you're usually sending the client state to the ser ver using custom data to rebuild in server the client state of the page part being to be managed to perform the required changes using the typical Java DOM and pure HTML templating, with some help of custom JS when needed.

Many ItsNat utilities are still useful in stateless mode, but this mode has the price of not so automatic and "pleasant" like the stateful mode, the benefit is scalability without session use and a much more relaxed client-server ItsNat "contract" promoting a more client centric way of programming with ItsNat.

Regards
Reply all
Reply to author
Forward
0 new messages