简体   繁体   中英

Applets and liftweb in scala

My goal is to create an applet on a client machine which somehow is able to communicate back and forth with the same server that deployed the applet. One way of doing this would of course be through some kind of AJAX code, but if it's possible I'd very much like to keep everything in Scala.

So far I've used remote actors which have the unfortunate consequence that the applet needs to be signed. Which isn't an optimal solution either. I'm searching for alternate solutions.

Is there any way to make an applet deployed by liftweb communicate with lift directly via Scala?

Communication through remote actors is directly via Scala.

Now, Lift enables one to run JavaScript code on the client, communicating with the Scala server seamlessly (and without having to write a single line of JavaScript code). See the many Lift examples for that (for instance, the wizard).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM