When I teach my JSF crash course to my software engineering students,
everyone nods, works through the lab, and I don't hear any JSF issues from them
for a couple of weeks. Then they run into sPAL.
They'll have some link, usually in a data table, that needs to send some
information about itself to a managed bean. And they can't figure out how to do
it. I can never remember it either because it...
If you work with Eclipse and JSF 2, you too may be annoyed at the little
that shows up next
to all your faces-config.xml files (even those that are blessedly
empty).
Here is how you can get rid of them, and add autocompletion to faces-config
editing as well, in case they aren't empty after all. (Most of mine contain a
single element, to specify a resource bundle. Eliminating that would be a...
I am updating the “External Services” chapter in Core JSF. There is lots of new and interesting
stuff: How to use JPA, stateless session beans, and WebBeans. I ditched the
LDAP sections (for which I had received very few queries, even though the
examples are notoriously hard to set up). I reimplemented the authentication
example with a JDBC realm, which was no
fun. Now I am at the web...
As I am updating my share of chapters in the Core JavaServer Faces book
(with the hard parts fortunately being tackled by my coauthor, David Geary), I
started playing with WebBeans, erm, Java Contexts
and Dependency Injection.
I'll keep calling it WebBeans—the alternative JavaCandi is more than I
can take. There are two features that are crucial for JSF users: Conversation
scope and access...