Tapestry for Nonbelievers
A new article by I. Drobiazko and R. Zubairov introduces v. 5 of the Apache Tapestry component-oriented web framework. The tutorial shows how to create a component and covers IoC in Tapestry and Ajax.
Tracking change and innovation in the enterprise software development community
Posted by Floyd Marinescu on Jun 13, 2006 12:14 PM
JBoss SEAM 1.0 final was released today at JBoss World. SEAM represents a redefinition of web application architecture that extends the POJO + annotation-driven and configuration-by-exception programming model of EJB 3.0 into the entire web application stack, while unifying JSF, EJB, AJAX, and business process management (jBPM) into one tightly-integrated framework. InfoQ spoke to SEAM and Hibernate creator Gavin King and got some more background on SEAM.Because I love EL, if you look at SEAM you see the use of EL everywhere. Java has had the EL for more than 5 years but it was never done very well and it never migrated beyond web pages. JSF has this wonderful binding constructs to be able to say 'this box in the UI is bound to this attribute of this component' by an EL. It's such a strong construct, and nothing else has expressed it this strongly. Tapestry sort of does this but couldn't be used because it's not POJO based and couldn't be integrated with EJB 3. Action-based frameworks don't have this nice loose coupling via an EL, you know, strong binding but loose coupling. I just think the component based approach is much more elegant, it's real MVC, it's fine-grained eventing and it results in much more loosely coupled applications. JSF isn't perfect but nor is it non-resuable, we've built a bunch of stuff into JSF which solves peoples most common problems.
In future directions, SEAM will address integration onto JBI/ESBs. "If you look at the constructs in SEAM such as orchestration, conversations, stateful components, events, they are just as applicable in the context of ESB as in the context of user interactions." SEAM will look at integrating EJB as the component model for SOA, allowing the use of EJBs as web services endpoints and using SEAM to add conversation support on top of JBI.
- Not all applications need layering. If you're building a simple data-driven application where there isn't much business logic to speak of, you've often got only presentation logic and persistence logic.
- Layering is not the only way to separate concerns, a much nicer way to separate concerns is to use objects - refactor business logic into your domain model or other objects. You don't need to impose a heavy weight layer to achieve separation.
- The technical concerns of flow and business process can be pulled out into jBPM process definitions. What then remains in Java code is clean, pure abstracted business logic. It's not for all tastes but it provides a nice separation of concerns.
IBM Web 2.0 Developer eKit: Free Tutorials, Webcasts, Whitepapers
Hibernate without Database Bottlenecks
Info 2.0: IBM's vision for the world of Web 2.0 and enterprise mashups (Webcast)
Introducing Project Zero: Building RESTful services for your Web application
Congrats Gavin and the Seam team. Amazing amount of work. To other developers currently doing work with JSF, take look at Seam, if only to thumb through the documentation. The documentation is quite good, as is the forum support. Nearly every forum question is answered by a Seam developer, most by Gavin himself. Key features: Loose coupling of entity and controller managed beans, additional scoped contexts (conversation, business process), annotation driven data binding, integrated JSF lifecycle support for EJB3's JPA extended persistence context...and much more.
hi there, when you're busy and wanna take a hard copy, it would help if there was a printer-friendly view. thank you, BR, Anjan Bacchu
Anjan we are working on it now :-). You can always submit the feature requests/suggestions/bugs to bugs[at]infoq[dot]com. I guess other users would really like to see that the threads are kept related to the content. thanks for the feedback and understanding, ./alex -- :Architect of InfoQ.com: .w( the_mindstorm )p.
Key features: Loose coupling of entity and controller managed beans, additional scoped contexts (conversation, business process), annotation driven data binding, integrated JSF lifecycle support for EJB3's JPA extended persistence context...and much more. Loose Coupling between layer? Can you explain how is that possible? Does Seam allow loose coupling? How? I thought it tightly couples the two layers.
A new article by I. Drobiazko and R. Zubairov introduces v. 5 of the Apache Tapestry component-oriented web framework. The tutorial shows how to create a component and covers IoC in Tapestry and Ajax.
In this interview, Burton Group consultant Pete Lacey talks to Stefan Tilkov about his disillusionment with SOAP, his opinion on REST, and addresses some of the perceived shortcomings REST vs. WS-*.
Jay Fields presents his concept of Business Natural Languages - a type of Domain Specific Languages geared towards being readable by domain experts.
Adoption and interest for Distributed Version Control Systems is constantly rising. We will introduce the concept of DVCS and have a look at 3 actors in the area: git, Mercurial and Bazaar.
Deborah Hartmann interviewed Segundo Velasquez about his experience as customer with an Agile team during the initial phase of software design of a product.
David Cooksey shows how to fine grained versioning to a ClickOnce deployment using an HttpHandler written with ASP.NET, making partial rollouts to a test audience much easier.
Windows workflow (WF) is an excellent framework for implementing business processes, but lacks support for human activities. This article describes a completely generic approach for changing this.
In this interview taken during OOPSLA 2007, Markus Voelter talks about the importance of documenting the software architecture, and gives some good and also bad examples on how it could be done.
4 comments
Reply