The closest thing I know about might be dbForms <http://jdbforms.sourceforge.net/>, but it doesn't generate the entire JSP. Just makes it easier to write.

There's also MiddleGen <http://boss.bekk.no/boss/middlegen/>, but I don't think that addresses the presentation page at all, just the configuration files.

This looks like a likely scenario for JavaServer Faces <http://java.sun.com/j2ee/javaserverfaces/>, but that isn't available for use in a production application yet.

If you're doing things with XLS, two likely suspects are stxx <http://stxx.sourceforge.net/> and Maverick <http://mav.sourceforge.net/>.

There's a Cocoon Plugin for Struts available <http://struts.sourceforge.net/>, and an example Hibernate plugin for Struts is on their site <http://hibernate.org/105.html>.

If you bring over the editor and so forth, you might consider using Velocity for the screens <http://jakarta.apache.org/velocity/>. It's very amenable to this sort of thing.

But, Rob's right. This is really a USER list question.

-Ted.


[EMAIL PROTECTED] wrote:
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]



-- Ted Husted, Junit in Action - <http://www.manning.com/massol/>, Struts in Action - <http://husted.com/struts/book.html>, JSP Site Design - <http://www.amazon.com/exec/obidos/ISBN=1861005512>.

"Get Ready, We're Moving Out!!" - <http://www.clark04.com>



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



Reply via email to