| Author |
How much detail should be gone into when using JSF/Struts
|
Andy Fisher
Greenhorn
Joined: Jan 15, 2003
Posts: 20
|
|
I'm currently doing part 2 and have decided to use JavaServer Faces in my solution, but the problem I'm having is that I'm not sure how much detail I should go into. Surely it's not sufficient to treat the framework as a 'black box', and surely I don't need to design every Component, Validator, Renderer, etc. However, if I take a middle-of-the-road approach, I'm just describing the JSF lifecycle (which anyone can get out of a book)! Any suggestions? Surely, anyone that has used Struts has had a similar issue? Cheers!
|
 |
Ricardo Ferreira
Ranch Hand
Joined: Feb 13, 2006
Posts: 156
|
|
Originally posted by Andy Fisher: I'm currently doing part 2 and have decided to use JavaServer Faces in my solution, but the problem I'm having is that I'm not sure how much detail I should go into. Surely it's not sufficient to treat the framework as a 'black box', and surely I don't need to design every Component, Validator, Renderer, etc. However, if I take a middle-of-the-road approach, I'm just describing the JSF lifecycle (which anyone can get out of a book)! Any suggestions? Surely, anyone that has used Struts has had a similar issue? Cheers!
Hey Andy, My suggestion for you is, try to keep your design the simpliest as possible. Architecture design means that you should create an design from a very higher point of view. So, try to think only in the architectural issues, like MVC framework. Think only in views, controllers and models. If you use an specific technology, you could create an architecture that is poor, because the technology can became obsolete (like Struts). An real and good architecture, must be technologyless to promove yours adaptability. You should can use this design for five years from now. If the developers and system enginners decide to use an framework, your architecture MUST SAY TO THEM, WHICH KIND OF FRAMEWORK TO USE. As an tip, you could mention in your documentation, which possible frameworks to use. Remember: As an architect: "YOU SHOULD KNOW THE BEST AND SHORTEST WAY, BUT THE DEVELOPERS MUST DISCOVER THE DESGINED MAP" Good Luck!
|
Ricardo Ferreira,<br /> <br />Sun Certified Enterprise Architect<br />IBM Certified SOA Solution Designer<br />IBM Certified RUP v7.0 Solution Designer<br />IBM Certified Specialist for RUP v2003
|
 |
Andy Fisher
Greenhorn
Joined: Jan 15, 2003
Posts: 20
|
|
|
Yeah, that sounds perfect. Cheers!
|
 |
Andy Fisher
Greenhorn
Joined: Jan 15, 2003
Posts: 20
|
|
|
...just a thought: when I'm doing my class/sequence diagrams, should I go down to the level of defining 'Factory Method', 'Observer', etc. patterns?
|
 |
Ricardo Ferreira
Ranch Hand
Joined: Feb 13, 2006
Posts: 156
|
|
Originally posted by Andy Fisher: ...just a thought: when I'm doing my class/sequence diagrams, should I go down to the level of defining 'Factory Method', 'Observer', etc. patterns?
Well, I can�t tell you if you should or not put those architectural patterns in the diagrams since this a kind of decision that relies your vision of the assignment. The only thing that I could tell you is, YES, you can put it this patterns in the diagrams. If you do not put it, that�s ok, no problem. The essence of UML is describe a system without words and conversation. The most important is: PASS THE INFORMATION! Best Regards!
|
 |
Marx Villegas
Ranch Hand
Joined: Mar 10, 2006
Posts: 94
|
|
Hi ranchers! Can someone take a look at this? I have my doubts about it... Does this mean that it's not an architect's role to determine which technology is to be used? Have someone passed part II undcer this philosophy? Best regards XM
|
When the compiler's not happy, ain't nobody happy...
|
 |
Marx Villegas
Ranch Hand
Joined: Mar 10, 2006
Posts: 94
|
|
|
Guys, can someone shed some extra lights over this?
|
 |
Dan Drillich
Ranch Hand
Joined: Jul 09, 2001
Posts: 1129
|
|
Marx,
Does this mean that it's not an architect's role to determine which technology is to be used?
The architect's role is to define precisely which technology is to be used. These days, every developer is extremely biased about their technical preferences and ignorance plays a huge role in many decisions. Therefore, the architect has to be the ultimate decision maker and document these decisions to the best of her/his abilities. Regards, Dan
|
William Butler Yeats: All life is a preparation for something that probably will never happen. Unless you make it happen.
|
 |
Marx Villegas
Ranch Hand
Joined: Mar 10, 2006
Posts: 94
|
|
Sounds reasonable, thanks for your comments Dan, XM
|
 |
 |
|
|
subject: How much detail should be gone into when using JSF/Struts
|
|
|