Feeds

Ironing down the JBoss Seam

Not just another Java framework

  • alert
  • submit to reddit

Intelligent flash storage arrays

Book review We might as well get this over and done at the outset. Yes, JBoss Seam is another Java framework. I know, you thought there couldn't possibly be any room for another one, but you're wrong.

What's more, it's another Java EE framework, built to make life for the enterprise developer more productive, more efficient, more interesting etc etc.

All the usual suspects are present here: object relation mapping, database persistence, transactions, inversion of control, the model-view-controller design pattern, and so on.

However, Seam is different. The obvious influence of Ruby on Rails is visible. The lure of Ajax and rich internet applications (RIA) is here. And there's plenty of Java here too, in case you were wondering.

The intention of Seam is to take a lot of the pain out of Java EE – no screeds of XML configuration, no brittle dependencies, an easier "code deploy debug" cycle, an easy way to get the most out of existing tools such as Hibernate, Java Server Faces, and Ajax.

What's more, it takes a leaf out of the Ruby On Rails book, as much of the work as possible is done for the developer up front. And, to a greater or lesser extent, that's what Seam succeeds in doing.

The authors manage to squeeze a fair chunk of material into this book, starting with a basic introduction to Seam, with a quick run-down of the aims and benefits it provides before launching into the compulsory "Hello World" example in the second chapter. This being a web application, of course, there's more to this simple example than a page that loads a simple "Hello World" message. From then on the examples become more elaborate or are geared to illustrating particular aspects of the platform.

For example, there is a complete section of the book devoted to creating stateful applications (HTTP not being a stateful protocol means that developers need to carry state with them as an application moves from page to page). Seam applications are stateful by default, but there's a fair amount of functionality and detail involved in something as complex as a shopping basket application. In the case of Seam there's even functionality to create complete workspaces, in much the same way that an IDE has a workspace.

Ajax is covered in some detail too, with a range of different options available, from using pre-existing components to pretty much roll-your-own JavaScript. The standard Web 2.0-type Ajax functionality is covered, from on-the-fly field validation for forms to type-ahead functions.

More advanced material looks at business rule processing, rule-based security, two chapters dedicated to testing, a number of chapters on deployment and productionising, and more. Oh, and there's IDE support for NetBeans and Eclipse covered as well.

The book features lots of code, but the reader is really expected to have downloaded and installed the samples. The writing tends to be clear and easy to get to grips with, though there are times when a little more of the why rather than the how would have been useful. That said, there's a lot to be gained from the book and it's certainly not as dry as many Java EE books tend to be.

JBoss Seam

JBoss SeamVerdict: Whether Seam will change the world is open to question, but there's no disputing the increasing interest that it's attracting, and this book is a great introduction to it.

Author: Michael Juntao Yuan and Thomas Huete

Publisher: Prentice Hall

ISBN: 0131347969

Media: Book

List Price: £28.99

Current Reg price: £19.13 inc VAT (discount 34 per cent)

Buy this book at Register Books, at Reg Developer's special discounted price (subject to change).

Top 5 reasons to deploy VMware with Tegile

More from The Register

next story
Preview redux: Microsoft ships new Windows 10 build with 7,000 changes
Latest bleeding-edge bits borrow Action Center from Windows Phone
Google opens Inbox – email for people too thick to handle email
Print this article out and give it to someone tech-y if you get stuck
Microsoft promises Windows 10 will mean two-factor auth for all
Sneak peek at security features Redmond's baking into new OS
UNIX greybeards threaten Debian fork over systemd plan
'Veteran Unix Admins' fear desktop emphasis is betraying open source
Entity Framework goes 'code first' as Microsoft pulls visual design tool
Visual Studio database diagramming's out the window
Google+ goes TITSUP. But WHO knew? How long? Anyone ... Hello ...
Wobbly Gmail, Contacts, Calendar on the other hand ...
DEATH by PowerPoint: Microsoft warns of 0-day attack hidden in slides
Might put out patch in update, might chuck it out sooner
prev story

Whitepapers

Choosing cloud Backup services
Demystify how you can address your data protection needs in your small- to medium-sized business and select the best online backup service to meet your needs.
Forging a new future with identity relationship management
Learn about ForgeRock's next generation IRM platform and how it is designed to empower CEOS's and enterprises to engage with consumers.
Security for virtualized datacentres
Legacy security solutions are inefficient due to the architectural differences between physical and virtual environments.
Reg Reader Research: SaaS based Email and Office Productivity Tools
Read this Reg reader report which provides advice and guidance for SMBs towards the use of SaaS based email and Office productivity tools.
Storage capacity and performance optimization at Mizuno USA
Mizuno USA turn to Tegile storage technology to solve both their SAN and backup issues.