You can find the full source code for this website in the Seam package in the directory /examples/wiki. It is licensed under the LGPL.
Seam REST is a lightweight module that aims to provide additional integration with technologies within the Java EE platform as well as third party technologies.
To get started, add the following dependency to your pom.xml:
<dependency> <groupId>org.jboss.seam.rest</groupId> <artifactId>seam-rest</artifactId> <version>3.1.0.Final</version> </dependency>
Name | Module role | Commit username (Git) | Organization | Hometown (Time zone) |
---|---|---|---|---|
Jozef Hartinger | Lead | jharting | Red Hat, Inc. | Brno, Czech Republic (UTC+2) |
Seam REST is a lightweight module that aims to provide additional integration with technologies within the Java EE platform as well as third party technologies. Seam REST is independent of CDI and JAX-RS implementations and thus fully portable between Java EE 6 environments.
If you feel like contributing code to Seam REST, feel free to pick an issue from the list below. Ping jharting on the #seam-dev IRC channel (irc.freenode.net) if you have questions.
Version | Time frame | Focus |
---|---|---|
3.0.0.Alpha1 | Late October 2010 |
|
3.0.0.Alpha2 | 23.12.2010 |
|
3.0.0.Alpha3 | January 2011 |
|
3.0.0.Beta1 | January 2011 |
|
Alternatively, to run the integration testsuite during build, set the JBOSS_HOME enviroment variable (export JBOSS_HOME=/home/jharting/jboss-6.0.0.Final) and run the following command: mvn clean install -Pjbossas-managed-6
This section serves as a whiteboard for design and ideas for this module. Once you've decided to pursue a feature, it should be added to JIRA as a feature request and optionally linked from this page. |
Will be built atop of Seam Persistance module for Seam 3. The plan is to take advantage of metadata provided by JPA 2 to make certain parts of implementation cleaner (i.e. a user will no longer be required to provide the Java type of an entity identifier)
<link ref="next" .../ > <link ref="previous" .../>
Validating Java objects transferred over HTTP immediately as they reach a web service. Forum post
@PUT @ValidateRequest public void updateUser(@PathParam("id") long id, User user)
The user object is validate by Bean Validation implementation before the web service method is invoked.
Apply the idea of extended persistence context to how we use REST web services