Is it possible to create a component that uses some hibernate entities,
package it into a separated .jar and then import this component into my main
project being able to autocreate this new entities? 

Something like creating my custom component package following this tutorial
http://tapestry.apache.org/tapestry5.1/cookbook/lib.html

Inside that component, create the "entities" package like at any other
tapestry+hibernate project with my custom entities.

Will tapestry load those entities after adding this packaged component into
my project? so if i have the autocreate entities activated on the
hibernate.cfg.xml, those new entities will be added.


What im trying to do is an extensible application, where anyone can create
their own custom components, with the needed entities if this components
need to store their own data into the database, and being able to do this
without having to modify my main application. I just download the component
made by "someone", add it to my main project and i dont have to add the
mapping myself to my app because its included into that component. Hope you
understand what im trying to do. Would it be possible?

I would test myself but im still having troubles with components
packaging... 
-- 
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Tapestry-custom-component-hibernate-tp3254963p3254963.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to