You
probably should not have developed your application in J2EE because of a lack of
experience and exposure to this technology. It sounds as if you chose to
learn UML and J2EE at the same time--probably not a good
idea.
That
said, the Pet Store application is detailed in a book "Designing
Enterprise Applications with the Java 2 Platform, Enterprise Edition" (Second
Edition (or later)) that explains the components used and the
justification for their use. It is a must have if you are using this
application as an example.
Version 1.1.2 of Pet Store is not huge. If you are building a
robust, flexible, and adaptable application that fits into a defined framework,
then you will have to work at it and expend a good deal of
effort.
The
Pet Store application uses JSPs for presentation (view), a servlet for the
controller, and EJBs for the model. It also uses a class (StateMachine?)
and helper classes to implement any business logic and control updates to the
database.
If you
create the framework, then flesh out the classes as needed, you should be on
your way.
Regarding the disconnect between modeling and development, I could not
disagree more. Your team's newness to modeling may be the issue
here.
Your
team should be able to create class diagrams that have sufficient detail for a
developer to know the names, functions, and dependencies to the method and
attribute level. Then you roll these into collaboration and/or sequence
diagrams as needed to show the behavior of the classes. Component diagrams
help show the structure of the system and deployment diagrams will help you
understand the static structure of the system.
Rational Rose (I believe) and Objecteering UML Modeler have model to code
capability, so you can appreciate my disagreement with your statement that
models do not help. Learn them.
Questions:
Which
tool did you use for modeling?
Are
members of your team trained in EJBs, servlets, and JSPs?
Do you
have a mentor or tutor for your efforts?
Given
the timeframe mentioned, might not it be better to admit that you need
additional time and acquire additional expertise in this
area?
Ronald Newton
ICeSD, SCJD, SCJP
Author Java Programming Practice Test at
www.boson.com
You are currently subscribed to jdjlist as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
http://www.sys-con.com/fusetalk
