DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones AWS Cloud
by AWS Developer Relations
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones
AWS Cloud
by AWS Developer Relations
Securing Your Software Supply Chain with JFrog and Azure
Register Today

Trending

  • 13 Impressive Ways To Improve the Developer’s Experience by Using AI
  • Unlocking Game Development: A Review of ‘Learning C# By Developing Games With Unity'
  • Getting Started With the YugabyteDB Managed REST API
  • 5 Key Concepts for MQTT Broker in Sparkplug Specification

Trending

  • 13 Impressive Ways To Improve the Developer’s Experience by Using AI
  • Unlocking Game Development: A Review of ‘Learning C# By Developing Games With Unity'
  • Getting Started With the YugabyteDB Managed REST API
  • 5 Key Concepts for MQTT Broker in Sparkplug Specification
  1. DZone
  2. Coding
  3. Java
  4. Vaadin: Develop Pure Java Web Applications in NetBeans IDE

Vaadin: Develop Pure Java Web Applications in NetBeans IDE

Geertjan Wielenga user avatar by
Geertjan Wielenga
·
Oct. 28, 09 · News
Like (0)
Save
Tweet
Share
15.42K Views

Join the DZone community and get the full member experience.

Join For Free

What I've always found to be most interesting about Wicket is that it is great for Java developers: no XML configuration and no JavaScript for AJAX functionality. However, today, during TheServerSide Symposium in Prague, Czech Republic, things went a step further for me: I discovered a Java web framework without any HTML (or markup) whatsoever.

The framework is called Vaadin, it is from Finland, and (seriously) it is 100% Java.

It is a truly intriguing framework, one that I want to spend more time exploring. However, in a twist of fate as much in favor of the NetBeans APIs as the Vaadin framework, I met someone today with whom I managed to create a plugin for NetBeans IDE support of Vaadin... in the space of an hour.

I met Sami Ekblad, from the Vaadin Team and, thanks to his input and insights, it's now possible to get started very quickly with Vaadin development in NetBeans IDE:

Currently, the Vaadin Framework plugin is the latest plugin in the NetBeans Plugin Portal, here. And the sources are open sourced and publicly available here on Kenai.

After you install the Vaadin plugin in NetBeans IDE 6.8 Beta, you can choose the "Vaadin" checkbox in the Frameworks panel within the New Web Application wizard. Then, when you click Finish, your web.xml is correctly configured, the Vaadin JAR is on the application classpath, and you have a simple Vaadin Application class to get you started with this very interesting framework:

package com.example.vaadin;           

import com.vaadin.Application;
import com.vaadin.ui.Label;
import com.vaadin.ui.Window;

public class MyApplication extends Application {

@Override
public void init() {
Window mainWindow = new Window("MyApplication");
Label label = new Label("Hello Vaadin user");
mainWindow.addComponent(label);
setMainWindow(mainWindow);
}

}

Future plans for NetBeans IDE support for this plugin include:

  • provide code templates (we can then focus on quality of the code)
  • provide samples, focusing on the following things specifically: 
    • layouting 
    • navigation
    • Vaadin's UI components 
  • provide file templates 
  • provide component palette for Java editor, containing UI components 

So, watch this space... and try out the Vaadin framework here. And here, again, is the NetBeans plugin for working with Vaadin:

http://plugins.netbeans.org/PluginPortal/faces/PluginDetailPage.jsp?pluginid=21965

Farewell all HTML, XML, JSP, whatever. The only thing you need to know anything about is Java, when creating web applications in Vaadin. I will show some examples of this in future blog entries and screencasts.

Integrated development environment Vaadin Web application NetBeans Java (programming language)

Opinions expressed by DZone contributors are their own.

Trending

  • 13 Impressive Ways To Improve the Developer’s Experience by Using AI
  • Unlocking Game Development: A Review of ‘Learning C# By Developing Games With Unity'
  • Getting Started With the YugabyteDB Managed REST API
  • 5 Key Concepts for MQTT Broker in Sparkplug Specification

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com

Let's be friends: