Fork me on GitHub

We are pleased to announce stable release 1.2.0.

This release contains many bug fixes and new features. It takes into account our last-months experience developing real IONIC/Cordova applications with JSweet, but also many excellent feedback from the community (many thanks to the reporters!). Also, it is compatible with Angular 2.

Check the release notes.

Leave a Comment

That’s official! JSweet allows using Java to write Angular 2 applications. It even was presented at JavaOne in the following talk:

Full-Stack Java with JSweet, Angular 2, PrimeNG, and JAX-RS, by Kito D. Mann. JavaOne 2016.

(more…)

2 Comments

logo

This is a major release. JSweet now supports much better the Java language without loosing its original spirit of low-impedance between Java and JavaScript.
(more…)

Leave a Comment

React.js

This is quite serious! The famous JavaScript framework React.js is now available to Java as a JSweet candy.

Of course there are still details to be tuned, and the JSX syntax is not supported (yet?), but there is enough there to start having fun with React.js in Java.

I will step through some examples to give you the basics on how to program a React.js application in Java. (more…)

3 Comments

Java loves TypeScript
Let’s focus on two brand new JSweet projects that will help making Java and TypeScript more interoperable.

  1. The online TypeScript to Java API translator
  2. J4TS: an Open Source project to implement Java APIs in TypeScript

(Java loves TypeScript :)) (more…)

6 Comments

Recently, I came across this mccarroll.net’s post, which shows how to use the GWT transpiler in a standalone mode. It is quite interesting to look at the output of the given simple example and to compare it with JSweet output. (more…)

4 Comments

JSweet version 1.0 was released today.

JSweet is a Java to JavaScript transpiler built on the top of TypeScript and it gives access to hundreds of up-to-date and well-typed JavaScript APIs from Java. The following figure shows how JSweet translates from the TSD repository and uses the TypeScript tsc compiler and APIs (d.ts) to transpile Java into JavaScript.

jsweetmaindesign
With the release of version 1.0, I would like to explore the main reasons why you, as a programmer, would want to try JSweet out, and ultimately use it to program Web applications in a better and safer way.

Reason 1: Type Safety and Robustness

This is the most obvious reason, of course. JSweet ensures strong typing on JavaScript APIs and programs. JSweet has been designed to match TypeScript typing concepts and a JSweet program can bring the same type safety level as a TypeScript program.  (more…)

Leave a Comment

I am pleased to announce that we have just made available the candidate to a first stable JSweet release. (more…)

Leave a Comment

In the past few years, many source-to-source compilers (a.k.a transpilers) have been created to improve JavaScript. Among them, the most well-known are CoffeeScript, Dart, and TypeScript, but the list of such languages is much longer. (more…)

Leave a Comment

Today, the JSweet transpiler source code was pushed to github. (more…)

Leave a Comment