Developing application specially web application require skills of other technologies like HTML , CSS, JavaScript, Web Application architecture and plus many other tools and technologies ; which directly effect developer productivity ,time frame and project budget / cost. Vaadin provide the solution all of these obstacle.While traditional web programming is a fun way to spend your time learning new web technologies,you probably want to be productive and concentrate on the application logic. The server-side Vaadin framework takes care of managing the user interface in the browser and the AJAX communications between the browser and the server. With the Vaadin approach, you do not need to learn and deal directly with browser technologies, such as HTML or JavaScript.
Vaadin is a web application development framework that allow you to build web application traditionally similar with desktop application like AWT or SWING.
In Vaadin all user interaction with server by event driven (Observer Design Pattern) using AJAX support in vaadin by creating rich internet application(RIA).
Vaadin support both a server side and client side development model. In server side application architecture consist of server side framework and client side engine. Engine run in browser as a JavaScript code , rendering the user interface and delivering the user interaction to the server with any need of plugin.The client-side development model allows building new client-side widgets and user interfaces with the GWT toolkit included in Vaadin. The widgets can be integrated with server-side component counterparts to enable using them in server-side applications. You can also make pure client-side
UIs, which can communicate with a back-end service.
Example
Vaadin is a web application development framework that allow you to build web application traditionally similar with desktop application like AWT or SWING.
In Vaadin all user interaction with server by event driven (Observer Design Pattern) using AJAX support in vaadin by creating rich internet application(RIA).
Vaadin support both a server side and client side development model. In server side application architecture consist of server side framework and client side engine. Engine run in browser as a JavaScript code , rendering the user interface and delivering the user interaction to the server with any need of plugin.The client-side development model allows building new client-side widgets and user interfaces with the GWT toolkit included in Vaadin. The widgets can be integrated with server-side component counterparts to enable using them in server-side applications. You can also make pure client-side
UIs, which can communicate with a back-end service.
Example
@Title(“My Vaadin UI”)
public class HelloWorld extends com.vaadin.UI {
@Override
protected void init(VaadinRequest request) {
// Create the content root layout for the UI
VerticalLayout content = new VerticalLayout();
setContent(content);
// Display the greeting
content.addComponent(new Label(“Hello World!”));
}
}
A Vaadin application has one or more UIs that extend the com.vaadin.ui.UI class. A UI is a part of the web page in which the Vaadin application runs. An application can have multiple UIs in the same page, especially in portals, or in different windows or tabs. A UI is associated with a user session, and a session is created for each user who uses the application. In the context of our Hello World UI, it is sufficient to know that the underlying session is created when the user first accesses the application by opening the page, and the init() method is invoked at that time.