There is no code generation, just xml. No jsps or java code except for the
framework itself. You have to write some jsp or java in exceptional cases.
But this is really
not that frequest. It is similar to xmlforms in Strxx framework, just that
is includes persistence.

Mike



|---------+---------------------------->
|         |           [EMAIL PROTECTED]|
|         |           .com             |
|         |                            |
|         |           07/10/2003 01:58 |
|         |           PM               |
|         |           Please respond to|
|         |           "Struts          |
|         |           Developers List" |
|---------+---------------------------->
  
>------------------------------------------------------------------------------------------------------------------------------|
  |                                                                                    
                                          |
  |       To:       'Struts Developers List' <[EMAIL PROTECTED]>                       
                              |
  |       cc:                                                                          
                                          |
  |       Subject:  Self Describing Business Objects :                                 
                                          |
  
>------------------------------------------------------------------------------------------------------------------------------|




I will be working on porting a company framework (and hopefully open source
it) from ASP/VB (yack!) to Java. The idea of the framework is quite simple.
It is a framework for buiding administration screens like update/search
edit user but it has some interesting features :

The Business objects a described in xml ie :

<entity>
<name>user</name>
<table>usr</table>
<attributes>
<name>firstname</name>
<label>
<EN>
<label>First Name</label>
</EN>
.....
</attributes>

<attributegroups>
<attributegroup>
<name>Label</name>
<attributes>
<attribute>firstname</attribute>
<attribute>surname</attribute>
</attributes>
</attributegroup>
<attributegroup>
<name>Edit</name>
<attributes>
<attribute>firstname</attribute>
<attribute>surname</attribute>
....
</attributes>
</attributegroup>
etc..
</entity>


The Business Object xml descriptor has enough information for display it as
well as updating it. AttributesGroups allow for list views and edit views
of the object.

Another component of the framework is the PageFlows that are made up of
Actions that use these Business Objects to get the info for these views
like "Edit User". Most of the time you do not need to write code at all, we
have also written a editor for the Business Objects and the Pages Flows.


So at the end of the day the html of genernated by the framework from the
xml descriptor and the persistence is also done from there. So doing
administration screens are very quick. ie : days instead of weeks. The some
code can be used for web front ends as well as guis.

I was wondering it there is anything else out there like this or are there
ways on doing some intergration of this with Struta and Hibernate and
Cocoon?

Mike




********************************************************************************

The information in this message is confidential and may be legally
privileged. It is intended solely for the addressee; access to this
email by anyone else is unauthorised.

If you are not the intended recipient: (1) you are kindly requested
to return a copy of this message to the sender indicating that you
have received it in error, and to destroy the received copy; and (2)
any disclosure or distribution of this message, as well as any action
taken or omitted to be taken in reliance on its content, is prohibited
and may be unlawful.
********************************************************************************



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to