• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
  • paul wheaton
Sheriffs:
  • Tim Cooke
  • Devaka Cooray
  • Rob Spoor
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:

How many jsps you show on component diagram?

 
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

How many jsps you show on component diagram? One jsp for a use case or one jsp for a screen?

Thanks for the answer.
 
Ranch Hand
Posts: 317
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by rose deng:
Hi,

How many jsps you show on component diagram? One jsp for a use case or one jsp for a screen?

Thanks for the answer.



Create a component and stereotype it as <<JSP>> and add a note stating that this component represents all the jsp's in the system. Its easier and cleaner that way.

Just my 2 cents..

HTH
Parag
 
Ranch Hand
Posts: 463
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Parag,
Which tier did u show the JSP components in.
Thanks
Dhiren
 
Parag Doshi
Ranch Hand
Posts: 317
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Dhiren Joshi:
Parag,
Which tier did u show the JSP components in.
Thanks
Dhiren



Dhiren,
It was in the presentation tier. Though, I did not explicitly demarcate my component diagram in tiers, I had mentioned in my documentation that the components are laid out in terms of tiers, i.e. the leftmost components belong to presentation tier, rightmost belong to EIS tier etc.

HTH
Parag
 
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Parag,

So you mentioned that you ordered your Component Diagram from left to right in Tier.


In thread https://coderanch.com/t/153004/java-Architect-SCEA/certification/Difference-between-tiers-tiers they mentioned tiers.

So the Tiers where
- Presentation Tier
includes JSP
- Client Tier
includes Fat Clients and Business Delegates (because of Fat Clients)
- Business/Application Server Tier
includes
- EIS Tier
includes JavaMail, JMS, Database, Legacy Stuff.

Am I right?

Looking forward to other opinions
Lucy
 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Fom the Sun site.

Client Tier

This tier represents all device or system clients accessing the system or the application. A client can be a web browser, a Java or other application, a Java applet, a WAP phone, a network application, or some device introduced in the future.

Presentation Tier

This tier encapsulates all presentation logic required to service the clients that access the system. The presentation tier intercepts the client requests, provides single sign-on, session management and accesses business services, constructs the response, and delivers the response to the client. Servlets and JSPs reside in this tier.

Business Tier

This tier provides the business services required by the application clients. The tier contains the business data and business logic. All business processing for the application is centralized into this tier. The enterprise bean components are the usual choice for implementing the business objects in the business tier.

Integration Tier

This tier is responsible for communicating with external resources and systems, such as data stores and legacy applications. The business tier is coupled with the integration tier whenever the business objects require data or services that reside in the resource tier. The components in this tier can use JDBC, J2EE connector technology, or some proprietary middleware to work with the resource tier.

Resource Tier

This is the tier that contains the business data and external resources such as mainframes and legacy systems and business-to-business (B2B) systems, and services such as credit card authorization.
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Parag,

a doubt.

most of pattern that we apply for web based presentation tier can be applied for swing based presentation as well.

For e.g

1)Front Controller.
2)Business Delegate
3)Service Locator

I am little confused whether to show separate presentation tier for Swing/Web.

I am new to Swing based clients.
 
Evil is afoot. But this tiny ad is just an ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic