Click here to Skip to main content
12,898,569 members (59,308 online)
Rate this:
Please Sign up or sign in to vote.
See more: Java
I download a pattern that it's name is shine enterprise pattern

it has also a document but it's hard to understand

plz somebody study it and answer my question

it said it has a new architecture

download it and it's doc from :
Posted 2-Jul-10 11:48am
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Find following information useful.

Shine's parts
Shine pattern has been developed for variety of application. This pattern has these parts:
->Maplet: a framework for doing web projects which are coincidence with MVC architecture. This framework helps developers to follow a standard pattern for developing a web application. Maplet helps developers to save time of developing and extending.
->JShooter: a framework that makes reflects oriented programming an easy job for developers. Meanwhile it helps distributing application on the network.
->JConnection: This package helps developers to work with JDBC and Hibernate easier than before.
->Util: This package helps developers in these subjects:
1- File System
2- Runtime
3- Compiler
4- System Information
5- Web Socket
6- MD5
7- Thread
8- Validation
9- XML Parsing
10- Web uploading

On google groups[^]

Comments 3-Jul-10 7:59am
Reason for my vote of 5
Rate this: bad
Please Sign up or sign in to vote.

Solution 5 what did you mean "SELECT query"?

heartsofsea I had download it and read its doc. It sounds nice! I will search about it more!

JWMS is an architecture like MVC but as you said more complete than it.

I found out it is for developing service oriented programs with more fewer repetitive codes and more managed too. I read your sample code too it is really nice! you know you can have just one class and one or two response pages for each service its really wonderful!

other parts sound to be nice too! I'll tell you every thing new I found about it!
Rate this: bad
Please Sign up or sign in to vote.

Solution 8

hi bozorgvar!

my sample worked when I put it in my WEB_INF folder! test it!
Comments 4-Jul-10 16:16pm
Reason for my vote of 5
Rate this: bad
Please Sign up or sign in to vote.

Solution 3

yes this is correct men
with in java frameworks you cant make the SELECT query
but in shine Enterprise pattern or JWMS this is possible.
do know more read the doc
refer to[^]
and see how it is easy and clear, and better than stuts.
Rate this: bad
Please Sign up or sign in to vote.

Solution 4

I found a 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" "">
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

yes you are right

but shine says it has a new architecture (JWMS)

do u know what is it ?

he said it's better than mvc ! is that correct ?
Sandeep Mewara 3-Jul-10 16:40pm
Reason for my vote of 1
Not an answer. Should had been a comment.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

    Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170424.1 | Last Updated 18 Jul 2010
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100