Rapid web application development is only rapid if you know what you are doing! It took me some time to accomplish this goal with JBoss Seam but I think it was worth it. Seam framework is a bunch of the best technologies in Java world connected together and personally I think it has a big future. Seam is great framework but like with the others, the problems arise if you want to skip the default and create something on your own, to plug it into existing environment. The framework, when used wi... |
In this post we build on another and present a code framework with accompanying in-depth explanations that can be used to get you up and running with Quartz scheduling quickly. You should also be able to incorporate this code into any Seam example application in no time and the in-depth explanations should help you further mould the framework to your requirements. For reference, we are using Seam 2.0.1.GA & JBoss 4.2.2.GA and we assume you have the Seam example applications handy although thi... |
|
I've done quite a lot of development in JBoss Seam for the last six months and overall I'm quite enthusiastic. Also I'm looking forward to using some of the features of Seam in their new Java EE 6 incarnations (ie. in short: @Inject in stead of @In , @Produces in stead of @Factory , @Unwrap and @Out , and @ConversationScoped in stead of @Scope ( CONVERSATION ) ;-)). One key feature of Seam is it's persistence strategy and at first glance it's quite a cool thing. The idea is to use an extended persisten... |
|
JBoss expression language provides all the normal features you'd expect: - Method calling: #{hotelBooking.bookHotel(hotel)}
- Projection (iteration): #{company.departments.{d|d.name}}
to get all of it's methods: to invoke 19th method in the array returned by getDeclaredMethods() : JBoss EL does all the magic behind the scenes. If the method you are invoking isn't static, in which case you can simply pass null , you'll have to provide an instance of the class to invoke the method on to the invoke() call. y ou can u... |
Product Description This is the eBook version of the printed book. A new edition of this title is available, ISBN-10: 0137129394 ISBN-13: 9780137129393 Discover JBoss Seam: the Unified Framework for Simpler, More Powerful Web Development JBoss Seam integrates EJB 3. 0 and JSF components under a unified framework that simplifies and accelerates Java EE web development. Now, JBoss Seam?s project leader and technology evangelist take you inside this powerful new technology, showing exactly how to... |
When trying to work with Seam 2.2 applications in JBoss 5.1 you might have come across a very annoying redeploy cycle of your application. I will document the issue and workaround here. Beginning with Seam 2.2 and JBoss 5.1 is pretty straight forward. But you could soon run into issues if you don't pay attention to the details. - I had decided to give Seam a try after having dig into some seam docs . The first thing was to try out the examples that come bundled with seam .
- Seam is pretty easy to start ...
|
- Upgrading a Seam 2 app to JBoss 7
I recently went through the process of upgrading a Seam 2.X application to JBoss 7.1.1. While Marek Novotny's tutorial will lead you down the right path, there was one issue that led me down a rabbit hole. Initially, the intention was to use Hibernate 3 as a JBoss module allowing it to be shared among applications. This deviates from the tutorial, but simplifies the library requirements if you are deploying several Seam 2 applications to the same server. Unfor... |
Todos sabemos las ventajas que tiene trabajar con plantillas xhtml a la hora de generar la capa de presentaci n o incluso para generar emails o pdfs a trav s de seam. El problema viene cuando utilizamos una gran cantidad de plantillas xhtml personalizadas y necesitamos gestionarlas de manera externa a la aplicaci n y almacenarlas por ejemplo en un repositorio externo: BD, gestor documental, ftp, en disco, etc. Por defecto, el render de Seam permite generar renderizados de vistas (views) que est... |
I got heads up about yesterday's announcement of the ICEfaces 1.6 release and thought it was interesting not just from a pure technology perspective (Ajax, Java EE, Web 2.0) but as a representation of the trend of what can be labeled organic integration . In this case, like others , there is a discernable overlap between the focus and direction of the technologies involved. Yet this isn't the only angle, what actually intrigues me most is the role that the open source development model plays in dr... |
If you're thinking of using an application server to build yourself a website or something near it, JBoss Seam is a very powerful (and easy) framework. I'll just leave you here some small steps to actually run an example (bundled with the JBoss Seam download) without the need for an IDE: 1 Download JBoss Application Server (and unzip it). 2 Via command line, access the bin folder on your download. Execute run.bat (or run.sh on UNIX). This will launch the application server. Let it run 4 On yo... |
Oct The workspace list allows the user to switch between multiple conversations from the same browser tab. There is no Java code to write, just the following JSF code to include <h:datatable value="#{conversationList}" var="entry">
<h:column>
<h:commandlink action="#{entry.select}" value="#{entry.description}"></h:commandlink>
<h:outputtext value="[current]" rendered="#{entry.current}"></h:outputtext>
</h:column>
<h:colu... |
Feb Lets look at how we can generate a PDF document with jasper reports library and stream it to client's browser. This is a pretty basic example which gives you an idea of how you can use jasper reports in seam projects. First step of course is to design your report using a report designer. You can use Jasper assistant. Although you can compile your report during run time I prefer to compile the report from Jasper assistant. A compiled version is created with .jasper extension. Second step is addi... |
At Rivet Logic we do quite a bit of work with the JBoss Seam framework, specifically with our Content Management System integration we call Crafter rivet . One question that has come up for me many times on consulting engagements is: which approach to use, Spring or Seam bi-jection? My experience shows me that the answer is not one or the other. Both approaches have significant benefits and can be used together to create a stronger approach than either one can provide on its own. Here are some ... |
Since Alfresco was first released in 2005, I have led a number of projects that required some sort of custom user interface on top of the Alfresco repository. In a few cases, we customized Alfresco's standard web client. For others, we built custom interfaces that were stand-alone web applications or were exposed via portlets within a portal framework like Liferay or JBoss Portal. In most cases, we needed a user interface that was not embedded within the repository, but rather was hosted remo... |
Recently I started a proof of concept for a new project that will run on JBoss 5.1. The reason for picking JBoss 5.1 instead of the mature 4.2 series was due to its full support for JavaEE 1.5 (4.2 supports only EJB3 spec, no servlet injection, etc) as well as its longer support (4.2 will start an EOL cycle soon). As soon as I decided to use JBoss 5.x the classloading nightmare started. First of all, Seam uses a kinda strange hack for detecting its components (its scanner class makes use of java... |
Following the in.relation.to blog post of last tuesday, as a tech lead on one Seam Module ( Seam Social ), I wrote this open Letter to Red Hat employees in charge of Seam project and community. I find useful to share my point of view with the community on this matter. You also might find interesting to read the blog post of Hannelita on the same subject. This email is a tentative to gather and synthesize all my thought following the yesterday announce on in.relation.to about Seam 3 reorganizatio... |
|
Granola : Workout log for GPS enabled cyclists, runners, and hikers. Rounder : Poker for your GNOME desktop. Tito : A tool for managing RPM based git projects. Hate my site? Here's some more you won't like. Sun, 09/09/2007 - 23:28 dgoodwin TurboGears and JBoss Seam , two web frameworks claiming to provide the tools for rapid application development. For the sake of investigating the experience of working with both (spawned from a big debate at work) I'm going to do a little comparison to examine the ... |
This tour will also be incorporated into a presentation at Open Repositories 2007 on Tuesday afternoon . The source directory tree has four major components: lib', resources', src', and view'. lib libraries required by the application. The lib directory contains all of the JAR libraries required by the application. Its contents is a mix of the Seam-generated skeleton (pretty much everything at the top level of the lib' directory) and JAR libraries that are specific to the DRC application (i... |
Version 3.1 of
JBoss' open source Java EE web application development
platform, Seam Framework has seen its final release - bringing
with it a raft of new and renovated modules. Project lead Shane Bryzak details the changes since last April's
3.0 release which include several improvements to existing modules
such as the Solder module which
now incorporates an exception handling framework (formerly
Seam Catch), XML-based configuration (formerly Seam Config) and
Servlet integration (formerly Seam S... |
After two JSF-free years (I didn't really enjoy myfaces at that time) I decided to get my head around Seam and JSF. My next project will consist of rebuilding a Delphi application to a multiuser Seam application; so let's have a look at where we are! First of all, before I get flamed, Seam is not JSF. Seam supports JSF as a view technology. Seam defines a uniform component model for all business logic in your application. A Seam component may be stateful, with the state associated with any one o... |
I generated a new form using sean-gen (seam new-form) and added another field to it using an @In annotation: @Stateful
@Name("dummy")
public class DummyBean implements Dummy
{
@Logger private Log log;
@In StatusMessages statusMessages;
@In private String bar;
private String foo;
public void doStuff()
{
String msg = "dummy.doStuff() action called with foo: #{dummy.foo} and bar: #{bar}. instance variable for bar:" + bar;
log.info(msg);
statusMessages...
|