Home » Tag Archives: Google GWT

Tag Archives: Google GWT

Red Hat JBoss BRMS and BPMS Rich Client Framework demonstrating Polyglot Integration with GWT/Errai/UberFire and AngularJS

java-interview-questions-answers

Last week I published a blog highlighting a presentation I gave showing our rich client platform that has resulted from the work we have done within the BRMS and BPMS platforms, the productised versions of the Drools and jBPM projects. The presentation is all screenshots and videos, you can find the blog and the link to the slideshare here: “Red ...

Read More »

GWT and HTML5 Canvas Demo

google-gwt-logo

This is my first experiment with GWT and HTML5 Canvas. My first attempt is to create rectangles, with just a few lines of code I came up something like this: Code: public class GwtHtml5 implements EntryPoint { static final String canvasHolderId = "canvasholder"; static final String unsupportedBrowser = "Your browser does not support the HTML5 Canvas"; static final int height ...

Read More »

GWT Custom Button using UIBinder

google-gwt-logo

Here’s an example on how to create a custom button using UIBinder on GWT. public class GwtUIBinderButton implements EntryPoint { public void onModuleLoad() { Button button = new Button(); button.setText("Button"); button.addClickHandler(new ClickHandler(){ @Override public void onClick(ClickEvent event) { Window.alert("Button clicked"); } }); RootPanel.get("container").add(button); } } public class Button extends Composite implements HasText, HasClickHandlers, ClickHandler{ private static ButtonUiBinder uiBinder = GWT.create(ButtonUiBinder.class); ...

Read More »

Getting started with GWT

google-gwt-logo

GWT short for Google Web Development Kit lets programmers to develop Ajax web applications with java. Java codes are converted in to JavaScript and html codes by the GWT compiler. GWT applications are called modules and modules are described using a xml file, assuming the module name as “mymodule” name of the xml file would be “mymodule.gwt.xml”. There is atleast ...

Read More »

GWT MVP made simple

google-gwt-logo

GWT Model-View-Presenter is a design pattern for large scale application development. Being derived from MVC, it divides between view and logic and helps to create well-structured, easily testable code. To help lazy developers like me, I investigate how to reduce the amount of classes and interfaces to write when using declarative UIs. Classic MVP You know how to post a ...

Read More »

GWT – Pros and Cons

google-gwt-logo

I love JavaScript. With the advent of jQuery and Mootools, my love for JavaScript has only increased plenty-fold. Given a choice I would use either of the aforementioned frameworks for any web application I develop. But being in the service industry, time and again I have to succumb to the client’s pressure and work in their choice of technology – ...

Read More »

Spring GWT Integration using the RequestFactory API

google-gwt-logo

Beginning from GWT 2.4 the integration of the RequestFactory API with Spring services on the backend is easy all you need to do is create a custom ServiceLocator on your server which will be used by GWT to locate properly the called services :                 public class SpringServiceLocator implements ServiceLocator { public Object ...

Read More »

Testing GWT Apps with Selenium or WebDriver

google-gwt-logo

Good functional testing is one of the most difficult tasks for web application developers and their teams. It is a challenge to develop tests that are cheap to maintain and yet provide good test coverage, which helps reduce QA costs and increase quality. Both Selenium and WebDriver (which is essentially now the successor to Selenium) provide a good way to ...

Read More »

GWT, GWT-Ext (SmartGWT), GXT (Ext GWT) Common Tasks

google-gwt-logo

I was browsing through some old posts at UI-Programming blog, one of our JCG partners, and noticed that there were a lot of short articles on how to perform some common tasks using GWT, GWT-Ext (SmartGWT) and GXT (Ext GWT). I believe they could help you with your day-to-day GWT development so I decided to aggregate them all at this ...

Read More »

Advanced SmartGWT Tutorial, Part 2

google-gwt-logo

This is the second part of my tutorial regarding rapid UI development with SmartGWT. In the first part of the tutorial, we created the basic interface layout and added some basic components. It is now time to take it up a notch and use the real power of SmartGWT. Before we proceed, let’s remember how the UI we have created ...

Read More »
Do you want to know how to develop your skillset and become a ...

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!
Get ready to Rock!
To download the books, please verify your email address by following the instructions found on the email we just sent you.

THANK YOU!

Close