I've got enough under my belt to begin development of Java web apps (I hope, anyway.) I have been confused about the following involved issues, however:
- Is JSF a 'framework' like Struts? So, in other words, with suitable time invested in learning JSF, will I need to learn other frameworks, too?
- Is there a tension between Struts backing beans and EJB? So, in other words, if I want to develop my app with as much flexibility as possible for future enhancements, do I think EJB first or JSF first?
Thanks. I've just been kind of confused that there's no one bulletproof way to do Java web apps if one has the time to learn it.
Cameron Wallace McKenzie
author and cow tipper
The web frameworks are pretty similar. I learned Struts first, and it made picking up JSF pretty easy.
>>do I think EJB first or JSF first?
Well, EJB and JSF serve different roles. JSF is focussed on the front end, and EJB is more focussed on the back end. So, you can explore them independently, and when you get a bit of a background in both, you'll have a good idea of how they can work together. And that's really the idea. JSF works well with EJB.