Thank you for taking time and giving me good advices! I will definitly study the Pet Store this weekend!
You're right that we're trying to do too much at the same time. But there is a reason: we're students and have to learn as much as we can. Even if we're just studying servlets and EJB at the same time as we're doing the project, we are supposed to practice it and have to try, because in a few months we're out on a difficult market competing with lots of others, looking for a job.. We do have a mentor, but only on the prosess, not on the product..
 
As you understand, Gregs advice til hire an architect is temting but not an option. Neither is additional time. Luckily there are two factors that lightens the picture: We're developing a pilot that will be used in a decision-prosess and is not supposed to be deployed within the project. This gives freedom to simplify and limit..
Secondly we're not new to UML. Have been through the "modelling not help", spent lots of hours iterating class-diagrams and sequence-diagrams etc. in Rational Rose and realize the importance. We've also been through Larman's patterns. Actually might this just be our biggest problem, we want to plan before we start coding and don't get startet on theproduction.. We've been modelling C++ before and modelling java is new, but our biggest problem just now is probably the lack of J2EE-experience and the missing picture of the components we need. A lot of static-classes, a bean or two and a DAO and no or only one or two "normal" classes with instance objects??
 
We've decided to use servlets and jsp, but about EJB I honestly don't know yet!! 
Still wishing for an example- class-diagram....
 
Oddrun
 
----- Original Message -----
To: jdjlist
Sent: Thursday, March 06, 2003 4:06 PM
Subject: [jdjlist] RE: Chat rooms

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
---
You are currently subscribed to jdjlist as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
http://www.sys-con.com/fusetalk

Reply via email to