JSweet leverages TypeScript to write rich and responsive Web applications in Java through the use of JavaScript libraries and frameworks. With JSweet, Java programs are transpiled (source-to-source compiled) to TypeScript and JavaScript for being run in browsers, mobile Web views, or in Node.js. It provides web applications with type-checking and generates fully type-checked JavaScript programs. It stands on Oracle's Java Compiler (javac) and on Microsoft's TypeScript (tsc). JSweet depends on well-typed descriptions of JavaScript APIs, so-called "candies", most of them being automatically generated from TypeScript definition files. These API descriptions in Java can be seen as headers (similarly to *.h header files in C) to bridge JavaSript libraries from Java. There are several sources of candies for existing libraries and you can easily build a candy for any library out there.

Features

  • JSweet is safe and reliable
  • JSweet allows you to use your favorite JS library
  • JSweet enables code sharing between server-side Java and client-side JavaScript
  • JSweet is fast, lightweight and fully JavaScript-interoperable
  • The generated code is regular JavaScript code, which implies no overhead compared to JavaScript
  • JSweet provides implementations for the core Java libraries for code sharing and legacy Java migration purpose

Project Samples

Project Activity

See All Activity >

Categories

Web Development

License

MIT License

Follow JSweet

JSweet Web Site

You Might Also Like
Our Free Plans just got better! | Auth0 by Okta Icon
Our Free Plans just got better! | Auth0 by Okta

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your secuirty. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of JSweet!

Additional Project Details

Programming Language

Java

Related Categories

Java Web Development Software

Registered

2023-08-23