some people are doing similar things (I think) by taking a hbm definition and map it to jsf (look for hbm2jsf)

Have you also looked at the tools.hibernate.org here you have all the foundations for hooking
in what you are describing...

I don't belive that everything can be done automatically from a jdbc schema efficiently, but I do belive it can be usefull for many tedious tasks where performance might not be the crucial thing ...and if done right it can at least work as a good foundation for handtuning
it with little effort....

/max


Hi All

This is exactly not a question, but asking for feedback about an idea.
In a project at our organization, we are using hibernate with struts. We had
a lot of forms which all require CRUD operations. Although hibernate does
alot for us. Yet We developed a small and smart layer over hibernate. This
layer automatically performs all CRUD (create, read, update, delete)
operations. Now the time for getting data from the object and setting a
hibernate object has also skipped.
The philosophy behind this is that GUIs are built over the relations of
database. we call them mapping relations e.g.

1 GUI 1 Table
1 GUI N rows of 1 Table (like multiple entries)
1 GUI N Tables.
1 GUI

and definitly there are alot of other mapping relations of GUIs and Tables
for which the layer can be enhanced.

The core functionality of the layer is that (for web) it just receives tyhe
HTTP REQUEST object and does all operations itself. you just need to post
your request to a central controller and it does EVERYTHING for ANY GUI.
Developer just need to build a GUI.

I have planned the future enhancement of this layer, i.e. after creation of
a database, every thing will be generated and ready to be persisted in
database without writing a SINGLE LINE OF CODE.

Another approach on which this thing is being built is

1) FORGET ABOUT ATTRIBUTES, THESE ARE BUSINESS OF GUIs AND TABLES

2) WHILE DEFIING YOUR USECASES, JUST DEFINE THE PERSISTENCE SEQUENCE OF YOUR
USECASE IN THIS UTILITY AT OBJECT LEVEL. SO WHEN YOU ARE DONE WRITING USE
CASES, AT LEAST A DRAFT VERSION OF YOUR APPLICATION WILL BE RUNNING. ONLY
BUSINESS LOGIC WILL BE LEFT TO FEED IN.


I just wanted to inquire that is something like it already exists in the
market? AND DO YOU APPRECIATE PUTTING MORE EFFORTS ON THIS LITTLE TOOL?

PLEASE FULLY CRITICIZE TO IMPROVE AND APPRECIATE TO HELP ME KEEP THINKING
ABOUT SUCH A THING.




-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to