Recent Posts

RSS Feeds

JSF & Spring

I've been playing around with JSF & Spring for the last day or so and its really cool being able to configure your beans with DI.

I've been using the jsf-spring project stuff. It works well and the bi-directional nature of it is cool (it makes the JSF 'context' part of the Spring context) but a lot of overkill for me since all I really want to do is inject my 'services' into the page beans.

I was experiencing a problem though with the validation of the faces-config.xml that ships with jsf-spring when deploying to JBoss. For some reason the dtd that's in the jsf jar file is not found at runtime by JBoss. Any pointers to why that's not working would be appreciated. I spent quite a bit of time trying to get the Entity Resolver stuff to work but had no success, and besides it should just work right. Ah well please let me know any pointers you might have.

Since I can easily get by with the greatly simplified stuff that ships with Spring now I'm going to convert to that implementation so it should not be a problem but I'd still like to figure out what was going wrong.

Permalink     No Comments



Post a Comment:
  • HTML Syntax: Allowed