You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Patney <xp...@hotmail.com> on 2001/12/28 12:31:48 UTC

Struts Vs Pet Store for Analysis and code resuibility

Hi All,

I am from core Java Background. My new project is web based with J2EE with
Servlets/JSP/EJB/Jbuilder/Appserver. We want to use good basic design
pattens but also
keep things simple.
I encountered 2 apps useful to me for designing
1) Java Pet Store
2) Struts

Can u please tell me which one would be better to understand  , and then use
its generic classes for our J2EE with EJB app.

Which approach should we follow
1)is it feasible to use these frameworks and then just add our own business
logic / View components into the existing project  OR



2) do we design and build each of the classes ( code) our self and build our
own framework
Thanks

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Struts Vs Pet Store for Analysis and code resuibility

Posted by Vic Cekvenich <vi...@basebeans.com>.
I think you answered your questions. Simple design.

Pet Store to me is " let's use every technology possible to create 
something " and it is to complex. It might be fun technically, but if 
you code to business requirements it might not be the approach. It is 
the equivalent of creating a flaming spinning command button in 
JavaScript. Fun, but ....
Perhaps that is why companies consider MS .NET, because they get  
frustrated with the PetStore type technologies, and give up on their 
project incomplete, and do not make it to production. So they blame 
Java, and not the design they chose.
It is for systems programmers, not application programmers.
(see other posts on Pet Store)

Struts has a large sweet spot to solve business problems.
Vic

Patney wrote:

>Hi All,
>
>I am from core Java Background. My new project is web based with J2EE with
>Servlets/JSP/EJB/Jbuilder/Appserver. We want to use good basic design
>pattens but also
>keep things simple.
>I encountered 2 apps useful to me for designing
>1) Java Pet Store
>2) Struts
>
>Can u please tell me which one would be better to understand  , and then use
>its generic classes for our J2EE with EJB app.
>
>Which approach should we follow
>1)is it feasible to use these frameworks and then just add our own business
>logic / View components into the existing project  OR
>
>
>
>2) do we design and build each of the classes ( code) our self and build our
>own framework
>Thanks
>
>--
>To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>
>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>