Java in TiddliWiki

82 views
Skip to first unread message

Андрей Тюрюмин

unread,
Nov 3, 2021, 9:49:21 AM11/3/21
to TiddlyWiki
I wonder if there is any way to use Java (NOT javaScript) with TiddlyWiki? Even if only for local usage. Maybe it could be somehow possible to use .jsp pages for "Java tiddlers", maybe with some usage of tomcat? Any helpful plugins?

P.S. Sorry if my english is bad.

Finn Lancaster

unread,
Nov 3, 2021, 9:30:37 PM11/3/21
to tiddl...@googlegroups.com
Hi Андрей, 

Haven’t been working with TW as much as a few months ago, but hopefully I can be some help here. 

In HTML, we have what are called Java applets, which allow you to run Java code natively in the web browser. 

A tutorial on these is available at 

You could probably put an HTML applet code directly into a tiddler, but if not, I’m sure someone else can think of some creative ways to squeeze html code into the tiddler. Can’t test right now as I’m away from keyboard, but let me know how it goes! 

Hopefully this is useful for you! 

Regards.
     Finn Lancaster
     Open-source since 2019

On Wed, Nov 3, 2021 at 9:49 AM Андрей Тюрюмин <i0qc...@gmail.com> wrote:
I wonder if there is any way to use Java (NOT javaScript) with TiddlyWiki? Even if only for local usage. Maybe it could be somehow possible to use .jsp pages for "Java tiddlers", maybe with some usage of tomcat? Any helpful plugins?

P.S. Sorry if my english is bad.

--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/659e9b6c-ca15-438a-94e1-b7340740bd34n%40googlegroups.com.

Андрей Тюрюмин

unread,
Nov 4, 2021, 2:37:39 PM11/4/21
to TiddlyWiki
Looks like what I need, I'll try it tomorrow, thanks!

четверг, 4 ноября 2021 г. в 04:30:37 UTC+3, flanc...@gmail.com:

Norman Nunley

unread,
Nov 4, 2021, 5:29:52 PM11/4/21
to tiddl...@googlegroups.com
Alternatively, you could extend TiddlyWiki to support WebAssembly.  This would allow you to dispatch tiddlers to the Wasm bridge, and then provide implementation in any language that supports compilation to WebAssembly.  There's definitely support for cross compiling Java bytecode to wasm bytecode (see the link I provided for more context.)

Cheers,

Norman

jwd

unread,
Nov 4, 2021, 9:08:21 PM11/4/21
to TiddlyWiki
I think you will find that Java applets are no longer supported in any modern browser. They've been deprecated since Java 9 and are slated for complete removal from the platform in a future release. This StackOverflow provides more detail.

jwd

unread,
Nov 4, 2021, 9:18:19 PM11/4/21
to TiddlyWiki
Actually, I'd forgotten - applets were removed entirely in the latest LTS version of Java, 11, released in September 2021. So that's a path with little future.

You might be able to create some Tiddlywiki JavaScript code that makes REST API calls to some Tomcat/Java app server instance running whatever kinds of backend code you would like.
Reply all
Reply to author
Forward
0 new messages