-
Sep 22nd, 2012, 06:27 AM
#1
Hibernate + Spring MVC + JSF + Tiles...possible?!
Hi there,
I'm working on a web application that use Spring as controller and DI engine, Hibernate as data access layer and simple JSP whit Tiles as template framework...
I'm trying to figure out if is possible an approach like these...
M ---> Hibernate
V ---> JSF + Tiles
C ---> Spring
ie to replace the obsolete JSP whit JSF as view tier...
I've not found any documentation for starting with this architecture..
advice? tip? best practice?!
Thank's in advance...
-
Sep 24th, 2012, 01:14 AM
#2
You cannot (at least afaik) use tiles and JSF... If y ou use JSF you don't need tiles you can use facelets (JSF view templating).
-
Sep 24th, 2012, 07:23 AM
#3
If facelets can replace tiles is ok...
So, excluding tiles, can I use JSF only for the view tier?!
Some example of integration in this sense may be useful..
-
Sep 24th, 2012, 07:30 AM
#4
I suggest the reference guide you cannot use Spring MVC with JSF as JSF is a MVC (kind of) implementation... You can do that with Spring Web Flow (replacing the navigation logic etc. to webflow but with JSF 2.x it is already pretty decent).
-
Sep 24th, 2012, 07:45 AM
#5
That's the point...
I've found a lot of documentation for integrating Spring Web Flow with JSF, but I'd like to keep Spring's MVC implementation...
Are you sure it's not possible!? In case what would you recommend as UI engine?!
-
Sep 24th, 2012, 07:54 AM
#6
JSF...
You cannot use Spring MVC (controllers etc.) you can use Spring to wire everything together...
-
Sep 25th, 2012, 09:40 AM
#7
-
Sep 26th, 2012, 12:36 AM
#8
No... JSF is JSF... JSF is already a complete solution... So it will not work with thymeleaf, tiles or whatever...
-
Sep 26th, 2012, 03:17 AM
#9
No, I meant Spring MVC + Thymeleaf as ui framework insted of Spring MVC + JSF (we said that is not possible)...
-
Sep 26th, 2012, 03:19 AM
#10
Thymeleaf can be used (as explained on the thymeleaf website)...
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules