SHINE enterprise pattern

hello programmers !!!

I'm the manager of j2OS team.we have produced a new pattern for's open souce and registered in sourceforge .we will be glad if u download it and say ur opinions about it.and if you find it good introduce it in ur website.
it's document is also availabe in :
our site is :

This is my sample for maplet in shine

it's fantastic !!! there isn't any need to request.getParameter !!!!

here is requset page :

<%@ page contentType="text/html;charset=windows-1256"%>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1256">
<form action="" method="get">
<P>name :
<input type="text" name="name"/>
<P>family :
<input type="text" name="family"/></P>
<input type="submit" value=" OK "/>

response page :

<%@ page contentType="text/html;charset=windows-1252"%>
<%@ taglib uri="/WEB-INF/maplet.tld" prefix="maplet"%>
<maplet:Service name="name_empty">Name field is empty !</maplet:Service>
<maplet:Service name="family_empty"> Family field is empty !</maplet:Service>
<maplet:Service name="both_empty">Name and family fields are empty !</maplet:Service>
<maplet:Service name="ok"> welcome !</maplet:Service>

a maplet class :

package org.j2sos.jmeu.mypackage;
import org.j2sos.shine.maplet.*;

public class Engine extends Maplet {
public String name;
public String family;
private String forward;
public void initialize() {
public void request() throws Exception {
if (!(name.equals("")) && !(family.equals(""))) {
forward = "ok";
} else if ((name.equals("")) && (family.equals(""))) {
forward = "both_empty";
} else if (name.equals("")) {
forward = "name_empty";
} else if (family.equals("")) {
forward = "family_empty";
public void rater() throws Exception {
forward("../response.jsp", forward);

and a tld file :

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE taglib PUBLIC "-Sun Microsystems, Inc.DTD JSP Tag Library 1.1//EN" "">


Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Share Alike 2.5 License.