aspose file tools*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes part 2 assignment client detail Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "part 2 assignment client detail" Watch "part 2 assignment client detail" New topic
Author

part 2 assignment client detail

laura kelly
Greenhorn

Joined: Feb 09, 2004
Posts: 4
Hi,
i'm currently trying to complete part 2 but am having real problems with level of detail. When the assignments says that the solution must support both web client and java application client, how much detail do they need in the design of these clients. I find it hard to find any information on designing a swing client for j2ee, every resource talks almost exclusively about a web client. In the component diagram do we need to include all jsps? and what is the corresponding swing component button + button model etc? any help appreciated!
Thomas Hofmann
Ranch Hand

Joined: Nov 23, 2002
Posts: 72
Hi Laura,
be aware of the follwoing: You have to provide the architecture, no design details!
how much detail do they need in the design of these clients.
Client desing is not necessary, but provide diagrams for both web tier and ejb tier.
In the component diagram do we need to include all jsps?
Yes. JSP Pages are components of the web tier.
and what is the corresponding swing component button + button model etc?
Use MVC!
Thomas
laura kelly
Greenhorn

Joined: Feb 09, 2004
Posts: 4
Hi Thomas ,
Fair point about the design, I'm a coder trying to do this certification so that would explain the problem wih detail.
When you say use MVC I'm not really sure what you mean, there are documented ways of using model 2 in connection with JSP and i don't have a problem visualizing the solution there, but Swing/application client is another story. Swing by definition is loosely based on MVC so the different components have ususally a model e.g buttonmodel, and then the view/controller incorportated into the UI delegate. Does this mean then that i can have components called for example "ui delegate" and then another called <name>Action, one called <business delegate> etc? Also if you use the stereotype to describe the pattern, should you use the component name to describe what it is? jsp, servlet, java class etc?
Thomas Hofmann
Ranch Hand

Joined: Nov 23, 2002
Posts: 72
With MVC I meant the model 2 architecture. To support both web and application clients there are several strategies
1. application client sends requests direcly (RMI-IIOP) to the ejb tier or
2. common controler (HTTP) for both client types in the web tier.
3. Use a protocol router
Choose one and document your decision!
Take a look in to the J2EE 1.3 blueprints chapter 3 Client Tier and chapter 4.4.2.2 Serving multiple client types.
Use stereotypes for the J2EE components in your component diagram(s).
Thomas
Kay Badri
Greenhorn

Joined: Jun 02, 2004
Posts: 16
Did anybodu use Protocol Router in their design?
Kay Badri
Greenhorn

Joined: Jun 02, 2004
Posts: 16
"To support both web and application clients there are several strategies"

I saw some interesting reply on this topic at:

http://forum.java.sun.com/thread.jsp?forum=121&thread=354239&tstart=120&trange=15
http://www.datapro.lv/~mariso/ejb.html
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: part 2 assignment client detail