It's not a secret anymore!
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes J2EE core patterns used for nfr Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "J2EE core patterns used for nfr" Watch "J2EE core patterns used for nfr" New topic

J2EE core patterns used for nfr

Massimo Sperossi

Joined: Dec 27, 2010
Posts: 14
It is not clear for me the use of J2EE core patterns for meet non functional requirements.

It seems to me that using core patterns one obtains layer of abstractions, more elegant design, but ...
.. does core patterns help to improve NFRs?

Which core patterns help to improve availability?
Which core patterns help to improve performance?

Saurabh Gokhale

Joined: Dec 07, 2008
Posts: 25
I dont think, just by implementing design patterns, we can address NFRs. Though in case of Performance I can definitely have my class diagram following proper J2EE design patterns like session facade, or service locator caching home/remote references to avoid multiple lookups but that will not be enough.

What I would do instead is as follows:

Class Diagram:
1> Draw class diagram following J2EE design patterns [as given above]
2> Display some specific performance monitoring classes like Aspect Oriented Programming classes for performance and then comment on how they help segregate the code and help improve performance.
3> Talk about how performance test will be perform simulating production load in testing environments to identify performance bottlenecks before code reaching production.

Deployment diagram:
1> Draw deployment diagram with multiple instances of servers balanced by load balancer.
2> Draw failover nodes.
2> Draw other clustered back end environment.
3> Talk about how the hot fix process will be set to perform rolling bounce of production servers [bouncing servers one after the other and not bounce everything together] to have 24*7 availability.

I think NFRs have to be managed by software and hardware changes and not just one alone.
I agree. Here's the link:
subject: J2EE core patterns used for nfr
It's not a secret anymore!