Welcome to SolamenteNiel!

I know...I know...in the world of social networking like twitter, blogs just aren't cool anymore, right? Well every once and a while I want to share something that exceeds 144 characters, so I created SolamenteNiel, my blog. While I'm at it, I'm also going old school with a cheesy picture of myself on my blog. In this picture I'm pertending to be an IndyCar driver.

Archive for gwt tag (7) Subscribe to RSS feed

Generating Enterprise Class GWT applications

Today I published a blog post on the Genuitec blog regarding the new GWT scaffolding functionality in MyEclipse for Spring 8.6.

This week Genuitec and Skyway Software released the second milestone (M2) of MyEclipse for Spring 8.6, which includes scaffolding for Google Web Toolkit (GWT) applications.  With this new release, you can now generate full ready-to-run GWT applications from your domain model (i.e. DB tables, Java Beans, or JPA Entities).


The new GWT scaffolding option is available using the same scaffolding wizard that MyEclipse for Spring developers are already familiar with.  The scaffolding wizard is a one-stop shop for all of the MyEclipse for Spring scaffolding capabilities, which also includes Spring MVC, Spring Web Flow and Adobe Flex scaffolding.

GWT: Model-View-Presenter Architecture Diagram

Update 7/8/2010 - MyEclipse for Spring 8.6 now generates full ready-to-run GWT applications based on MVP and UI Binder in minutes.  Just point the scaffolding wizard at your database tables, Java beans, or JPA Entities.  You can learn more about it from the Generating Enterprise Class GWT applications for Spring post that I wrote on Genuitec blog.


As I have noted in previous posts, lately I've been exploring GWT.  In particular I've been studying the Model-View-Presenter pattern prescribed by Ray Ryan.  I've been disecting the Large scale application development and MVP tutorial and associated sample project.  I don't get to look at it everyday, but over time I'm starting to get my hands around it.  I've also been interested in how MVP and the new UIBinder feature of GWT 2.0 fit together.  In an earlier post I shared some code that implements View of the MVP sample project using UIBinder.

While digging through code is fun, I'm more of a visual kind'a guy....that's just the way I'm wired.  I really wanted an architecture diagram that summarizes the GWT Model-View-Presenter pattern.  Particularly since I can only spend a few hours here or there on GWT, I felt I needed I an architecture diagram that summarizes what I've learned by digging through the tutorial and code.  That way when I have a few more hours to spend on GWT, and I can back up to speed quickly.  I also find that I can develop faster if I have a visual representation of the archicture to refer to.  My first choice was to find something created by someone else, but I didn't find anything either on the GWT site or through a web search.  So I embarked on creating it myself.  Hopefully others will find this helpfull.  If you find any errors or ommissions, please don't hesitate to drop me a comment.  Feedback is always welcome.

[DIAGRAMS INCLUDED]

 

Read Full Post

GWT: Refactoring an MVP Project to use UIBinder

Update 7/8/2010 - MyEclipse for Spring 8.6 now generates full ready-to-run GWT applications based on MVP and UI Binder in minutes.  Just point the scaffolding wizard at your database tables, Java beans, or JPA Entities.  You can learn more about it from the Generating Enterprise Class GWT applications for Spring post that I wrote on Genuitec blog.


About a week ago I posted the following question on GWT forums.

"Does anyone have an MVP sample project (Contact) that is implemented using UIBinder?  I'm starting to get my head around MVP and UIBinder, but I'm struggling with the best way for using both.  A sample project would be really helpful."

[SOURCE INCLUDED]

 

Read Full Post

GWT RPC and Spring

I wrapped up my second series of blog posts related to GWT and Spring.  It took me longer that expected because it's been really tough to find the time, but I'm so glad I finished it in 2009.  In this series I discuss using GWT RPC instead of JSON (see my original series) for messaging between GWT front-end and a Spring/Java back-end application.  I go on to discuss an extension to Skyway Builder to automate the process of making Spring Services accessible as GWT RPC services.  In the process I give an overview of developing extensions for Skyway Builder and I highlight the most relevant implementation details.  Finally I describe where you can download the GWT extension and how to use the extension.

  1. Skyway Builder extension for GWT – spring4gwt and GWT event buses
  2. Skyway Builder GWT Extension – High-level Implementation
  3. Skyway Builder GWT Extension – Detailed Implementation
  4. GWT RPC with Spring Extension – Download, Install and Use

My ongoing GWT activities

I've been working on some GWT stuff, but I've been publishing it on the Skyway Builder blog.  My latest endeavor has been to extend Skyway Builder to generate everything required to make Spring @Services accessible as GWT RPC services.  Here are links to the first two posts of the series: