Seam streamlines AJAX development

By Aaron Tan, ZDNet Asia
Monday, December 18, 2006 01:08 PM

Most people who try to develop AJAX-based applications have got it wrong, says the creator of the JBoss Seam open source project.

Gavin King, who created the Seam project, told ZDNet Asia that most AJAX (Asynchronous JavaScript and XML) applications tend to look like "a set of custom tag libraries".

Seam is an application framework that helps developers create Web 2.0 applications by integrating technologies such as AJAX, JavaServer Faces (JSF), Enterprise Java Beans (EJB3) and business process management.

"I don't believe people want to be encoding in JavaScript," King said, adding that a platform like Seam can help developers ease AJAX development, where JavaScript is used extensively.

With Seam, programmers can create AJAX-based applications without having to learn JavaScript. Applications are also protected from potential bugs and performance problems associated with the switch to AJAX.

"The path we've gone down is to really make use of JSF, which is a fantastic standard," King added. As the underlying development technology in Seam, JSF allows developers to build Web applications quickly.

More importantly, King emphasized, is the use of Seam as a server-side programming model for AJAX-based applications, though "most people only see AJAX's significance in the client".

He explained that as developers move from the "traditional model of coarse-grained, synchronous requests to the server, to the [AJAX] model of fine-grained, concurrent asynchronous requests, the whole architecture that people use to build Web applications starts to break down."

King said that with AJAX, developers now need to "manage concurrent requests, as well as hold a state cache on the server for users, otherwise your applications have no chance to scale".

Through Seam, JBoss is also hoping to push for a standardized component model for the Java platform, King said. Component models illustrate the different software pieces that will be used to build a given system or application.

He also highlighted the disconnect that is created each time someone identifies a technical concern, such as interaction with a Web site, because "a new component model would be introduced". The resulting effect are more complex Java applications , he said.

King explained: "This means that if I am a developer trying to implement some business logic, I have to write a lot of code to integrate different component models, because I can't have a single component that performs the same logic."

King currently leads the JSR 299 specification in the Java Community Process (JCP), which is looking to introduce a common programming model for Web-based Java applications. JSR 299 is supported by Borland Software, Google, JBoss, Oracle, Sun Microsystems and Sybase.


WORTHWHILE?

0

0 votes
Blog

Talkback 1 comments

please help me. I am pretty new to web applications and where i work now requires me to develop some interfaces using seam. i have gone through some books but right now, i do not how to start. i tried running the seam-registration example but it would not work. i need a stepwise guide as to starting; in terms of what environment to work and all that. i think seam is a great work. keep it up.
Posted by Tunde Adeniran on Wednesday, May 30 2007 08:30 PM


Tech Jobs Now!

Search for your ideal tech job:

Create your own yum repository

Open Source

Learn how to create your own yum repository with the createrepo tool. One thing it allows you to do is distribute specialized packages within an organization.


Read more »



  • Enterprise 2.0

    Vince Casarez, vice president of product management at Oracle, explains how Web 2.0 technologies, such as tags, wikis, and mash-ups, can be applied within an organization.
    Play video


  • Nehalem Architecture

    What makes next-generation Intel® Microarchitecture (Nehalem) such a superior successor?
    Play video

 
On demand CRM goes strategic
CRM technology has come of age, and is now able to align with your customer strategy and grow in step with your business.

» Learn more about Oracle’s CRM Solutions



Free the untapped potential of your IT infrastructure
Reduce bottlenecks to drive the efficiency and productivity of Business IT.
» Ultimate virtualization blade
» Scalable SAN solution
» Accelerate service delivery

Unnecessary distraction

Blog thumbnail

If not for the weird story that President Arroyo underwent a breast implant operation in a local hospital, I’m pretty sure the heat and public ridicule would not have abated..... by Melvin G. Calimag

Read more »

Tags

  1. antivirus
  2. apple ipod
  3. apple macintosh
  4. cnet networks inc.
  5. desktop
  6. e - mail
  7. hard drive
  8. intuit inc.
  9. microsoft corp.
  10. microsoft windows
  11. microsoft windows vista
  12. norton co.
  13. operating system
  14. pc
  15. performance
  16. security
  17. software
  18. tool
  19. web
  20. web site