By Joseph Faisal Nusairat

JBoss Seam represents the first counter to the new and profitable Spring Framework and even perhaps Ruby on Rails framework. The open resource light-weight Java EE five criteria established JBoss Seam framework is part of this moment wave of open resource light-weight Java that’s occurring. starting JBoss Seam: From amateur to expert goals to exploit this scorching quarter, and goals to be first starting e-book and considered one of might be books to marketplace during this most likely profitable region. This publication supplies an summary of Seam comparable JSF and EJB three as present in Java EE five; presents details at the instruments to make improvement with Seam more straightforward in addition to a functioning intensive demo to really the way to use Seam; and provides tips and tips to utilizing Seam.

Show description

Read or Download Beginning JBoss Seam: From Novice to Professional PDF

Similar client-server systems books

Securing Windows Server 2003

With the luck of laptop viruses like Slammer, safety concerns at the moment are a most sensible precedence for home windows method directors, correct along day by day projects similar to establishing money owed and handling functionality. if you happen to use home windows 2003 Server at a small to medium-sized association, or use Microsoft's Small company Server, this thorough but concise educational deals the hands-on suggestion you wish for securing your community.

Microsoft Small Business Server 2003 Unleashed

While you're new to the realm of Microsoft Small company Server 2003, Microsoft Small company Server 2003 Unleashed gives you you with real-world help event as you start or discover your upgraded server. Written and reviewed by means of Small enterprise Server MVPs, this ebook presents invaluable insurance of Mac platform integration, in addition to the mixing of ISA 2004, SharePoint, FrontPage, trade, and SQL Server.

Monitoring and Managing Microsoft Exchange 2000 Server

Top practices and leading edge daily strategies for operating the hot model of alternate Server for home windows 2000. This authoritative publication teaches IT pros liable for alternate messaging platforms tips to successfully deal with the program's many and intricate approach functions and contours. as soon as you've gotten designed and applied a messaging approach, the majority of the day by day paintings contains tracking to make sure an optimal site visitors stream, finished through always reviewing and fine-tuning dozens of process necessities and elements.

Microsoft Systems Management Server 2.0 Administrator's Companion

Microsoft platforms administration Server (SMS) model 2. zero provides IT managers the richest attainable set of machine instruments and lines for remotely diagnosing and troubleshooting machine computers, fitting computer purposes, and coping with software-all from a centralized place. SMS 2. zero is helping lessen your TCO by way of decreasing the price of swap and configuration administration for Windows-based machine and server structures.

Extra resources for Beginning JBoss Seam: From Novice to Professional

Example text

Additionally, we are already in our business object, so there is no need to call anything else except maybe a database. Not only does the code look cleaner now, but we do not have to worry about the HttpRequest and HttpSession data explicitly; it is handled behind the scenes by Seam. Requesting and Saving Data The previous example, although somewhat trivial in problem solving, hopefully exposed you a bit to the power of using Seam over traditional Struts applications. In the following example, we will still be using our restaurant, but this time we are going to save the CHAPTER 2 ■ WEB APPLICATIONS restaurant’s name.

B. Save the best restaurant to the request attribute as we did before. So as you can see, this code is a bit more complex than before, but using the form object does save some time on more-complex matters. Now let’s take a look at the Seam example in Listing 2-5. Listing 2-5. The Seam Component for Retrieving and Changing the Best Restaurant @Stateless @Name("changeRestAction") public class ChangeRestaurantAction implements IChangeRestaurantAction{ @In String zipCode; @In(required = false) @Out String bestRestaurant; public String findBestRestaurant() { // do work here bestRestaurant = "Aladdins in " + zipCode; return "success"; } public String saveBestRestaurant() { // save restaurant code using bestRestaurant variable return "completePage"; } } 33 34 CHAPTER 2 ■ WEB APPLICATIONS As you can see in this example, we only had to add another method to save the restaurant, and we had to simply add another annotation to declare that the restaurant variable can be inputted as well.

User flow diagram for travel reservations Despite having a more complex database than the Garage Sale application, the system is relatively simple. The user can select airfare, hotel, and a car. The user can choose to work in order or skip certain steps and go to the end. At the end, on the purchase, the transaction is committed to the database. Ticketing System Our final example application is a ticketing system. This is the kind of ticketing system that has multiple users requiring input to the same object.

Download PDF sample

Rated 4.66 of 5 – based on 30 votes