Vaadin Introduces Hilla to Unify Frontend/Backend Web Development

Vaadin Introduces Hilla to Unify Frontend/Backend Web Development


Vaadin has introduced a new web framework for Java developers, Hilla, which combines the backend with Spring Boot and the frontend as a mix of TypeScript and Lit.

Formerly known as Vaadin Fusion, Hilla offers many capabilities to simplify the development of enterprise applications, such as providing a unified synchronized project configuration for Java and TypeScript. It has a complete set of user interface components, for example, Vaadin components. It also provides support for single-page applications, including Spring Security to protect applications.

Hilla contains all the necessary artifacts that a web application requires, such as routing, forms, security, authoring tools, and more. In addition, the framework provides automatic TypeScript code generation that keeps the interface in sync with the cover. For example, if a developer creates the next endpoint in Spring Boot, two items will be linked:





A developer encodes Java Hilla automatically generates TypeScript


                
@Endpoint
@AnonymousAllowed
public class HelloEndpoint {
    public String greet(String name) {
        return "Hello " + name;
        }
    }
                
            


                
const greeting = await HelloEndpoint.greet('Hilla');
console.log(greeting);
                
            

Hilla requires Node 16.14 or higher and JDK 11 or higher, and instructions are available in the Getting Started Guide.

Vaadin does and maintains Hilla, but does not include the Vaadin Flow. Instead, it uses Lit, a lightweight library similar to ReactJs, to create native web components. Along with this, Hilla includes both the frontend and the backend in the same project. In this regard, Leif ÅstrandVaadin’s product management manager mentioned that:

Contrary to conventional wisdom about frontend and backend separation, we look for optimization opportunities based on approaching server-side Java and client-side TypeScript.

Currently, the Hilla framework only supports Spring Boot. Support for other frameworks, such as Quarkus or Jakarta EE, is not yet on the roadmap. A Spring Boot, Åstrand continues:

Today, Spring Boot brings together most parts of the Java ecosystem in a way that works according to conventions, with minimal need for separate configuration.

Although the first major version of Hill supports Java, a webinar by Vaadin explains that other JVM languages, such as Kotlin, could be included in the future. Also, since this is an open source project currently under the Apache 2.0 license, anyone can view, expand, and modify the source code and report issues.

Developers who want to evaluate Hilla can take advantage of Vaadin’s initial materials through their documentation, a webinar, and a post on the Spring Tips blog. The source code can be found on GitHub.





Source link

Related post

Recreation and Sport Management Program to Launch New Outdoor Leadership Minor

Recreation and Sport Management Program to Launch New Outdoor…

Photo sent The College of Education and Health Professions’ sports and recreation management program…
Open House: What steps can be taken to check the rising cases of suicides among youths? : The Tribune India

Open House: What steps can be taken to check…

Education institution should set up helplines To begin with, it should be made clear that stress is a physical reaction to…
Here are the top 25 start-ups to work for in India

Here are the top 25 start-ups to work for…

It’s also great to see young professionals embracing India’s startup ecosystem, with 56% of all hires at the top 25 startups…

Leave a Reply

Your email address will not be published.