--- Tim Langlois <[EMAIL PROTECTED]> wrote: > I've never used hibernate but I recently read about > it and was > considering replacing my entity bean implementation > with hibernate. > I've been using XDoclet to generate the entity bean > deployment files and > value objects with great success (many thanks to the > xdoclet development > team). I also use XDoclet to merge jboss CMP > performance settings so > the entity bean implementation performs well. > > My question is, has anyone in this users group > ported an entity bean > based app to hibernate and are they happy with the > results? Also, will > a hibernate-based implementation replace the entity > bean/value object > code or is there some reuse of components. > Although, I use a facade > pattern to hide the data access components, > replacing the value objects > with a hibernate version could be a real bear. It > sounds like I would > have to rethink my paradigm to use hibernate. Any > comments are welcome.
I never ported entity bean to hibernate ( had no chance, project died together with bank department... ) , but I do not use entity beans at all since I discovered hibernate. Advantage is that you use plain old java objects ( POJOs ) , which can be tranfered over the wire (if they are serializable) - and thus all the stuff with interfaces, DDs value objects and CMR just dissapears. And hibernate has really good OR mapping capability - far beyond possible in entity beans. ( ternary associations many-many, any-any, maps of primitive values as well as object etc. ) I suggest you go to http://www.hibernate.org/ and start reading docs & fores - there is plenty information about... and since hibernate is now under jboss hood, you can expect pretty seamless integration. And hibernate mappings can be generated with xdoclet. regards, ===== ----[ Konstantin Pribluda ( ko5tik ) ]---------------- Zu Verst�rkung meines Teams suche ich ab Sofort einen Softwareentwickler[In] f�r die Festanstellung. Arbeitsort: Mainz Skills: Programieren, Kentnisse in OpenSource-Bereich ----[ http://www.pribluda.de ]------------------------ __________________________________ Do you Yahoo!? Yahoo! Search - Find what you�re looking for faster http://search.yahoo.com ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
