Maplet vs Struts!
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   fara_bas
Posted On:   Monday, July 19, 2010 07:05 PM

Comparison of MVC architecture, Struts framework and JWMS architecture, Maplet framework The Java Web Model Service architecture is based on MVC. It improves all disadvantages and adds some advantages points to it. As Struts comes to help us to implement our project based on MVC, we need Maplet to implement JWMS architecture .These Maplets are based on those old Servlets, with some new features. Purpose of JWMS architecture is that, to have a JSP page for every job of your actors in UML diagrams. And those all actions start from a request JSP page ,and continue with one or more Maplets ,and then finish with a response JSP page (for all possible response ) through a flow just like your UML diagrams. Figure 1 Now there i   More>>

Comparison of MVC architecture, Struts framework and JWMS architecture, Maplet framework




The Java Web Model Service architecture is based on MVC. It improves all disadvantages and adds some advantages points to it. As Struts comes to help us to implement our project based on MVC, we need Maplet to implement JWMS architecture .These Maplets are based on those old Servlets, with some new features.
Purpose of JWMS architecture is that, to have a JSP page for every job of your actors in UML diagrams. And those all actions start from a request JSP page ,and continue with one or more Maplets ,and then finish with a response JSP page (for all possible response ) through a flow just like your UML diagrams.

Figure 1

Now there isn't any need to make a JSP page for every possible response (for example a proper response for empty fields and another proper response for errors ...) like before. Instead, the all things you need are that to create a response JSP page and tag it. Tags for success message, tags for error and so on.
As you see, every thing is very simple. Also, you can be a project manager too!!!
Another ability of Maplet is that, you don't need to carry parameters with yourself by using session or application. Maplet gets all parameters from the first page and cross it to another Maplet or JSP. For reaching these parameters you just need to define a public String variable as the same name of parameter in first JSP page. The content of this variable is the same as user inputted parameter (with out doing any job!).
We are not magicians, we just know how to work with URL!!!
If you want to send any parameter to next Maplet, add it to URL as the same!!!
For more information and knowing how to work with addURL(), forward(),... read the complete document from below link :

http://SourceForge.net/projects/shine-enterpris/files/    <<Less

Re: Maplet vs Struts!

Posted By:   Anonymous  
Posted On:   Tuesday, July 20, 2010 02:08 PM

nonsense! http://tech.groups.yahoo.com/group/j2eelist/message/6223
About | Sitemap | Contact