Please join us at the new JavaWorld Q&A Forums. Your existing login will work there. The discussions here are now read-only.


JavaWorld Talkback >> 960462

Anonymous
Unregistered




Re: J2EE design decisions
      05/30/06 01:14 PM

I think both sides need to be considered equally in order to determine which approach is best (choose the approach that's best suited to your application's requirements). Yes you make a good point that performance may be an issue with using an ORM lightweight framework such as Hibernate, but you forgot to mention caching in the argument as well. Hibernate provides caching mechanisms out of the box which may help to improve performance of an application and make it more scalable across user groups.

Here are some problems I see with the custom JDBC approach:
1. Increased development and testing time
2. Procedural and error prone development
3. SQL is only as good as the developer who wrote it
4. Database dependent, custom boiler plate code might not be portable (separate JDBC code for different databases)
5. Increased maintenance and support

Lastly, from my experience I think it's important to start with sound, object oriented design and regress and refactor as needed. I come from the schooling that the design of a J2EE application should not be based on performance ghosts that cannot be accuractely quantified or have not been realized yet in the application. I agree with your point that applications need to perform to the expectations of the user community, but what good is that if you're unable to maintain or enhance it easily because of poor design.


Post Extras Print Post   Remind Me!     Notify Moderator


Entire topic
Subject Posted by Posted on
* J2EE design decisions JavaWorld 01/27/06 04:20 PM
. * * Re: J2EE design decisions uttlylovely   08/01/08 12:09 AM
. * * Re: J2EE design decisions MacBlaster   01/31/06 04:14 PM
. * * Re: J2EE design decisions Anonymous   03/02/06 01:42 PM
. * * Re: J2EE design decisions    01/16/08 06:32 PM
. * * Re: J2EE design decisions Anonymous   05/30/06 01:14 PM
. * * Re: J2EE design decisions    06/27/07 05:53 PM
. * * Re: J2EE design decisions JDBC user   02/09/07 04:26 AM
. * * Re: J2EE design decisions    01/21/08 10:20 AM

Extra information
0 registered and 1 anonymous users are browsing this forum.

Moderator:   



Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Thread views: 14775

Rate this thread

Jump to

Contact us JavaWorld

Powered by UBB.threads™ 6.5.5