View Review Details


Book:   Programming Jakarta Struts
Subject:   Programming Jakarta Struts Review
Date:   2003-07-10 11:27:45
From:   Chuck Cavaness
Rating:  StarStarStarStarStar

I don't consider the class "com.oreilly.struts.storefront.service.StorefrontServiceFactory" to be part of the Model. It's a utility class used by the presentation layer (in this case, Struts) to locate and initialize whatever model layer the web application is using. Notice also that it imports "javax.servlet" classes, which also couples it to the presentation layer and specially the web channel. Maybe I should have packaged it in a location that made that more obvious, sorry.


Email me if that's not clear and we can discuss more.



See larger cover