Skip to main content

Blog Archive for mriem during May 2009

Much like the previous entry, but this time only for a single resource. How do you annotate a component, or renderer with a single resource? See the JSF almanac page.
You can define the resource dependencies of a JSF component or renderer by using the @ResourceDependencies annotation. See how at the JSF Almanac page.
What if you want to define the references of your EJB and still look up those EJB references at runtime? Well, that can be done! See the EJB Almanac page for more information.
If you want to control how transactions are managed, you can tell your bean so. See the EJB Almanac page for more information.
Sometimes you need a method to run in a particular transaction model. Well, specifying that is easy. See the EJB Almanac page for more information.
What method is going to be called once the timeout occurs? Well, see the EJB Almanac page for more information.
Declaring a class as a stateless session bean is very simple as well. See the EJB Almanac page for more information.
Declaring a class as a stateful session bean is remarkably simple. See the EJB Almanac page for more information.
Say you want to remove a stateful session bean after running a particular method. How would that work in the EJB3 world? Simple, see the EJB Almanac page!