Articles avec le mot clé « Seam » :
Unit Testing with TestNG and Seam
When using the test cases build for TestNG within JBoss Seam you do not need to run an Application Server explicitly. The Testing Framework delivered with Seam uses an JBoss Embedded (http://www.jboss.org/community/wiki/EmbeddedJBoss) to execute the tests.
If you have created a Seam project by …
SeamRemote and @WebRemote
Think of the scenario that you develop a Seam based application and you want to do some AJAX calls / requests to your bean but you don’t want to use the Richfaces/A4J based AJAX functionality (maybe because you have some large forms and don’t want to post the …
Use Of @Factory with Seam
Using "normal" JSF one has often the problem of returning properties somewhat more complex than simple Strings or native data types. In these cases, the generation may for example need a connection to the database which increases the costs additionally. Usually, you would place the construction in the getter method …
Mysterious NullpointerException While Unit Testing with TestNG and Seam
If you get the above Exception while using testng to test your JBOSS Seam application within the Eclipse IDE, try to remove the line //<!DOCTYPE suite SYSTEM “http://beust.com/testng/testng-1.0.dtd”>// from your XML test configuration file, eg. your XML file looks like
<!DOCTYPE suite SYSTEM "http …Unit Testing with Embedded TestNG and Seam
You may come across the a bunch of exceptions complaining about a FAILED CONFIGURATION (see below), try to move the bootstrap folder to a path containing no whitespaces. See this entry on bug list.
[testng] FAILED CONFIGURATION: @BeforeSuite startSeam
[testng] org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments …