Help

Inactive Bloggers
24. Oct 2007, 04:56 CET, by Gavin King

The JCP folks seem to have resolved their technical problems, and the Web Beans EDR is now available at jcp.org. We've had some great feedback on the comments alias already. Please keep it coming!

Peter Hilton and Nicolas Leroux will present their experience of implementing an application using Seam, and Bruno Georges will talk about Open Source SOA.

Second JBoss Benelux User Group Meeting

The programme will begin with a presentation on Open Source SOA by Bruno Georges, Technical Development Manager, Enterprise Frameworks at JBoss. This will include an ESB Presentation and a demo based on jBPM for process flow orchestration. In the second presentation, Peter Hilton and Nicolas Leroux, will describe Lunatech's practical experience with JBoss Seam. We will talk about strengths and limitations of JBoss Seam 1.2.1.
  • Date: Friday, 2nd November 2007
  • Time: Arrive 1700-1800, presentations start 1800, finish 2000-2100.
23. Oct 2007, 18:19 CET, by Pete Muir

One of the most common forum questions is How do I make Seam call an action method at startup?.

The easiest way is to observe the org.jboss.seam.postInitialization event (which occurs right after Seam finishes initializing):

@Name("observeInitialization")
public class ObserveInitialization {

   @In EntityManager entityManager;

   @Observer("org.jboss.seam.postInitialization")
   public void observe() {
      // Do your initialization here
   }
}

However, as this event occurs /before/ JSF finishes initializing, if you want to use Seam Mail at startup, you should schedule it to happen a short time after initialization:

@Name("asynchronousMailProcessor")
public class AsynchronousMailProcessor {

   @Asynchronous
   public void sendMail(@Duration long duration) {
      Renderer.instance().render("/mail.xhtml");
   }
}
@Name("observeInitialization")
public class ObserveInitialization {

   @In AsynchronousMailProcessor asynchronousMailProcessor;

   @Observer("org.jboss.seam.postInitialization")
   public void observe() {
      // Schedule a send for 30s time, by which time JSF will be initialized
      asynchronousMailProcessor.sendMail(30 * 1000l);
   }
}

Ales Justin and Mark Newton are going to present the new JBoss application server core and kernel on Thursday this week, at a meeting of the JBoss special interest group. See you there.

22. Oct 2007, 15:42 CET, by Max Andersen

Last nights build of JBoss Tools now has Seam 2 support in its project creation wizards and the artifact wizards (New Seam Action, Form, etc.)

The generated test project still needs some work, but it is showing a green light when you run it and we still need to work on enabling our validator and parts of the Seam component view to properly pick up Seam 2 components. Until that is fixed there will be more noise in the list of validations.

But it is otherwise fully functional and usable and I must say with (almost) omnipresent EL navigation and code completion, the improved visual JSF editor and all the hotdeployment you could wish for, doing Seam development in Eclipse is becoming a breeze.

Showing 1026 to 1030 of 1218 blog entries