sean's blog

Integrating ExtJS with Seam: Server-side Request Processing

With the last installment of this series on integrating ExtJS with Seam, Client-side Form Handling, we looked at a way to pass the form as an instance of Seam.Remoting.Map. With this solution the SeamSubmitAction bound the form fields to the map, using the form field name the key to hold the form field value. The map instance passed over the Seam Remoting framework to the action method that accepts the Map as its sole argument.

Integrating ExtJS with Seam: Client-side Form Handling

Continuing on with this series of blog posts it naturally follows that next we would look at form handling. In this post I will present a very lightweight and pragmatic solution to integrate Seam with the very nice ExtJS form (Ext.form) framework. However it can (and will) provide a foundation for more sophisticated solutions. For those that are unfamiliar with the Ext form API, I recommend you go and review it before proceeding with this read.

Integrating ExtJS with Seam: Error Handling

If you had read the documentation for the SeamRemotingJsonReader in the code from my post Integrating ExtJS with Seam: Loading stores with Json, you might have noticed mention to error handling in Seam's Remoting framework. Seam is a relatively new framework so it should be expected that there are going to be peripheral areas of it that are still being fleshed out. Error handling in the Remoting framework is one place that the Seam team has recognized as an area that needs some attention.

Integrating ExtJS with Seam: The SeamRemotingJsonStore

Since my last post, when I demostrated a way to integrate Ext and Seam using the SeamRemotingProxy and SeamRemotingJsonReader, I've decided that the solution needed a little simplification. One that abstracts away some of the implementation complexity from the users. So, looking to Ext for some inspiration, I found Ext.data.JsonStore. The main idea here is to reduce the code required by clients when setting up Ext.data.Stores.

Integrating ExtJS with Seam: Loading stores with Json

As I mentioned in an earlier post the Seam framework has sparked my curiosity. To help me better understand some of its inner workings I wanted to figure out how to integrate Seam with the ExtJS framework for populating client side stores. Many of the Ext widgets are backed by stores so this was a logical place to start. What are stores? Quite simply stores, aka Ext.data.Stores, are the Ext construct for storing client side record data. Think of it as client-side MVC; where the record data is the Model, the widget is a View of the model, and event handlers are the Controllers.

Back to standards?

As one of the many developers who spent a few years wrestling through the mess that was EJB2.0 I find it hard to spend any of my time researching and understanding EJB3.0. When I made the switch to architecting applications with the 'J2EE without EJB' approach (my beloved Spring + Hibernate) I never looked back.

Greetings!

Greetings and welcome to McDaniel Consulting's internet presence. I'm Sean McDaniel, owner of McDaniel consulting, and well frankly I'm a blogging noob. I sift through a lot of blogs and read a few religiously but I never really felt compelled to blog myself. I'm still sorting out what the content will be here but one thing is for certain and that is the focus will be software development.

Syndicate content